Skip to content

Commit

Permalink
Remove completed TODO.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielshaar committed Dec 12, 2024
1 parent 8e4f615 commit c04b600
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modal/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,6 @@ async def _experimental_spawn(self, *args: P.args, **kwargs: P.kwargs) -> "_Func
"""
self._check_no_web_url("_experimental_spawn")
if self._is_generator:
# TODO(dshaar): Deprecate this.
invocation = await self._call_generator_nowait(args, kwargs)
fc = _FunctionCall._new_hydrated(invocation.function_call_id, invocation.client, None)
fc._is_generator = True
Expand Down

0 comments on commit c04b600

Please sign in to comment.