Skip to content

Commit

Permalink
Use async for generators too - even though we're deprecating this.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielshaar committed Dec 12, 2024
1 parent 3fe994a commit 27796e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modal/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ async def _call_generator_nowait(self, args, kwargs):
args,
kwargs,
client=self._client,
function_call_invocation_type=api_pb2.FUNCTION_CALL_INVOCATION_TYPE_ASYNC_LEGACY,
function_call_invocation_type=api_pb2.FUNCTION_CALL_INVOCATION_TYPE_ASYNC,
)

@synchronizer.no_io_translation
Expand Down

0 comments on commit 27796e5

Please sign in to comment.