modal 0.73.1__py3-none-any.whl → 0.73.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- modal/_container_entrypoint.py +1 -1
- modal/_functions.py +1602 -0
- modal/_runtime/user_code_imports.py +1 -1
- modal/_utils/function_utils.py +2 -2
- modal/_utils/mount_utils.py +1 -1
- modal/_vendor/cloudpickle.py +1 -1
- modal/app.py +2 -1
- modal/app.pyi +4 -3
- modal/cli/run.py +2 -1
- modal/client.pyi +2 -2
- modal/cls.py +4 -4
- modal/cls.pyi +9 -8
- modal/experimental.py +1 -1
- modal/functions.py +6 -1607
- modal/functions.pyi +30 -309
- modal/image.py +3 -3
- modal/image.pyi +2 -1
- modal/parallel_map.pyi +2 -2
- modal/partial_function.py +2 -2
- modal/partial_function.pyi +2 -1
- modal/runner.py +1 -1
- modal/runner.pyi +3 -3
- {modal-0.73.1.dist-info → modal-0.73.3.dist-info}/METADATA +2 -2
- {modal-0.73.1.dist-info → modal-0.73.3.dist-info}/RECORD +29 -28
- modal_version/_version_generated.py +1 -1
- {modal-0.73.1.dist-info → modal-0.73.3.dist-info}/LICENSE +0 -0
- {modal-0.73.1.dist-info → modal-0.73.3.dist-info}/WHEEL +0 -0
- {modal-0.73.1.dist-info → modal-0.73.3.dist-info}/entry_points.txt +0 -0
- {modal-0.73.1.dist-info → modal-0.73.3.dist-info}/top_level.txt +0 -0
modal/_container_entrypoint.py
CHANGED
@@ -373,7 +373,7 @@ def call_lifecycle_functions(
|
|
373
373
|
"""Call function(s), can be sync or async, but any return values are ignored."""
|
374
374
|
with container_io_manager.handle_user_exception():
|
375
375
|
for func in funcs:
|
376
|
-
# We are deprecating
|
376
|
+
# We are deprecating parametrized exit methods but want to gracefully handle old code.
|
377
377
|
# We can remove this once the deprecation in the actual @exit decorator is enforced.
|
378
378
|
args = (None, None, None) if callable_has_non_self_params(func) else ()
|
379
379
|
# in case func is non-async, it's executed here and sigint will by default
|