diff --git a/modal/functions.py b/modal/functions.py index 201fd7b7a..2dd8f06de 100644 --- a/modal/functions.py +++ b/modal/functions.py @@ -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