Skip to content

Commit

Permalink
Fix Modal deprecation (show progress) (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite authored Jul 29, 2024
1 parent c718787 commit cb47ea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cubed/runtime/executors/modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ async def async_execute_dag(
) -> None:
if spec is not None:
check_runtime_memory(spec)
async with app.run():
async with app.run(show_progress=False):
cloud = cloud or "aws"
if cloud == "aws":
app_function = run_remotely
Expand Down
2 changes: 1 addition & 1 deletion cubed/tests/runtime/test_modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def deterministic_failure_modal_long_timeout(

async def run_test(app_function, input, use_backups=False, batch_size=None, **kwargs):
outputs = set()
async with app.run():
async with app.run(show_progress=False):
async for output in map_unordered(
app_function,
input,
Expand Down

0 comments on commit cb47ea1

Please sign in to comment.