modal 1.2.1.dev3__py3-none-any.whl → 1.2.1.dev4__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.

Potentially problematic release.


This version of modal might be problematic. Click here for more details.

modal/client.pyi CHANGED
@@ -33,7 +33,7 @@ class _Client:
33
33
  server_url: str,
34
34
  client_type: int,
35
35
  credentials: typing.Optional[tuple[str, str]],
36
- version: str = "1.2.1.dev3",
36
+ version: str = "1.2.1.dev4",
37
37
  ):
38
38
  """mdmd:hidden
39
39
  The Modal client object is not intended to be instantiated directly by users.
@@ -164,7 +164,7 @@ class Client:
164
164
  server_url: str,
165
165
  client_type: int,
166
166
  credentials: typing.Optional[tuple[str, str]],
167
- version: str = "1.2.1.dev3",
167
+ version: str = "1.2.1.dev4",
168
168
  ):
169
169
  """mdmd:hidden
170
170
  The Modal client object is not intended to be instantiated directly by users.
modal/sandbox.py CHANGED
@@ -669,11 +669,11 @@ class _Sandbox(_Object, type_prefix="sb"):
669
669
  async def create_connect_token(
670
670
  self, user_metadata: Optional[Union[str, dict[str, Any]]] = None
671
671
  ) -> SandboxConnectCredentials:
672
- """mdmd:hidden
673
- [Alpha] Create a token for making HTTP connections to the sandbox.
672
+ """
673
+ [Alpha] Create a token for making HTTP connections to the Sandbox.
674
674
 
675
675
  Also accepts an optional user_metadata string or dict to associate with the token. This metadata
676
- will be added to the headers by the proxy when forwarding requests to the sandbox."""
676
+ will be added to the headers by the proxy when forwarding requests to the Sandbox."""
677
677
  if user_metadata is not None and isinstance(user_metadata, dict):
678
678
  try:
679
679
  user_metadata = json.dumps(user_metadata)
modal/sandbox.pyi CHANGED
@@ -276,11 +276,10 @@ class _Sandbox(modal._object._Object):
276
276
  async def create_connect_token(
277
277
  self, user_metadata: typing.Union[str, dict[str, typing.Any], None] = None
278
278
  ) -> SandboxConnectCredentials:
279
- """mdmd:hidden
280
- [Alpha] Create a token for making HTTP connections to the sandbox.
279
+ """[Alpha] Create a token for making HTTP connections to the Sandbox.
281
280
 
282
281
  Also accepts an optional user_metadata string or dict to associate with the token. This metadata
283
- will be added to the headers by the proxy when forwarding requests to the sandbox.
282
+ will be added to the headers by the proxy when forwarding requests to the Sandbox.
284
283
  """
285
284
  ...
286
285
 
@@ -832,22 +831,20 @@ class Sandbox(modal.object.Object):
832
831
  def __call__(
833
832
  self, /, user_metadata: typing.Union[str, dict[str, typing.Any], None] = None
834
833
  ) -> SandboxConnectCredentials:
835
- """mdmd:hidden
836
- [Alpha] Create a token for making HTTP connections to the sandbox.
834
+ """[Alpha] Create a token for making HTTP connections to the Sandbox.
837
835
 
838
836
  Also accepts an optional user_metadata string or dict to associate with the token. This metadata
839
- will be added to the headers by the proxy when forwarding requests to the sandbox.
837
+ will be added to the headers by the proxy when forwarding requests to the Sandbox.
840
838
  """
841
839
  ...
842
840
 
843
841
  async def aio(
844
842
  self, /, user_metadata: typing.Union[str, dict[str, typing.Any], None] = None
845
843
  ) -> SandboxConnectCredentials:
846
- """mdmd:hidden
847
- [Alpha] Create a token for making HTTP connections to the sandbox.
844
+ """[Alpha] Create a token for making HTTP connections to the Sandbox.
848
845
 
849
846
  Also accepts an optional user_metadata string or dict to associate with the token. This metadata
850
- will be added to the headers by the proxy when forwarding requests to the sandbox.
847
+ will be added to the headers by the proxy when forwarding requests to the Sandbox.
851
848
  """
852
849
  ...
853
850
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modal
3
- Version: 1.2.1.dev3
3
+ Version: 1.2.1.dev4
4
4
  Summary: Python client library for Modal
5
5
  Author-email: Modal Labs <support@modal.com>
6
6
  License: Apache-2.0
@@ -24,7 +24,7 @@ modal/app.pyi,sha256=6wlYK9nNp0GuHXyUxGmcZ6J92EjsWS-KK6KRuejqXEY,49718
24
24
  modal/billing.py,sha256=zmQ3bcCJlwa4KD1IA_QgdWpm1pn13c-7qfy79iEauYI,195
25
25
  modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
26
26
  modal/client.py,sha256=kyAIVB3Ay-XKJizQ_1ufUFB__EagV0MLmHJpyYyJ7J0,18636
27
- modal/client.pyi,sha256=urjIPBE_vqpNSp8dY4-9dYboXtV0TuAkVehEdUaq6S8,15829
27
+ modal/client.pyi,sha256=-3nsLkt-J4sZ_qRFJW1Q8BQNWN2Ony0R4iCEN0gH2Ms,15829
28
28
  modal/cloud_bucket_mount.py,sha256=I2GRXYhOWLIz2kJZjXu75jAm9EJkBNcutGc6jR2ReUw,5928
29
29
  modal/cloud_bucket_mount.pyi,sha256=VuUOipMIHqFXMkD-3g2bsoqpSxV5qswlFHDOqPQzYAo,7405
30
30
  modal/cls.py,sha256=_Dzu8Tjjp_XukJxfBioAeHf03egKQYuKj7SrHJiK6CE,40676
@@ -67,8 +67,8 @@ modal/retries.py,sha256=IvNLDM0f_GLUDD5VgEDoN09C88yoxSrCquinAuxT1Sc,5205
67
67
  modal/runner.py,sha256=ZqXk12TyiuyZQXlDhSTXKylg-G0_I0uK6fzdJ_qFV7o,25182
68
68
  modal/runner.pyi,sha256=vUDRKqLz09QvZsaCH1gTG_iujewj-eGxxb6-VmN6eAw,8531
69
69
  modal/running_app.py,sha256=v61mapYNV1-O-Uaho5EfJlryMLvIT9We0amUOSvSGx8,1188
70
- modal/sandbox.py,sha256=oxFhpz3PuIgybsS4k36EuVmGcEvtYqjJBx0fAFMX7ak,45981
71
- modal/sandbox.pyi,sha256=OXDrF4y6BZDbtjy6XDcIJ4sNy11IU1evjW2gR725a-s,50781
70
+ modal/sandbox.py,sha256=R1WOFDTmg_SiG7NIEbzQMeTYHwLvX9r3j9lpINhIufc,45970
71
+ modal/sandbox.pyi,sha256=elVE1xEy_ZhD009oNPnCwlZi4tK-RUb1qAoxkVteG9E,50713
72
72
  modal/schedule.py,sha256=ng0g0AqNY5GQI9KhkXZQ5Wam5G42glbkqVQsNpBtbDE,3078
73
73
  modal/scheduler_placement.py,sha256=BAREdOY5HzHpzSBqt6jDVR6YC_jYfHMVqOzkyqQfngU,1235
74
74
  modal/secret.py,sha256=ThwP-PkwUZwiYkygqumh15n8P_77-N5ZyRWLc6I3r28,18323
@@ -155,7 +155,7 @@ modal/experimental/__init__.py,sha256=9gkVuDmu3m4TlKoU3MzEtTOemUSs8EEOWba40s7Aa0
155
155
  modal/experimental/flash.py,sha256=C4sef08rARYFllsgtqukFmYL18SZW0_JpMS0BejDcUs,28552
156
156
  modal/experimental/flash.pyi,sha256=vV_OQhtdrPn8SW0XrBK-aLLHHIvxAzLzwFbWrke-m74,15463
157
157
  modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
158
- modal-1.2.1.dev3.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
158
+ modal-1.2.1.dev4.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
159
159
  modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
160
160
  modal_docs/gen_cli_docs.py,sha256=c1yfBS_x--gL5bs0N4ihMwqwX8l3IBWSkBAKNNIi6bQ,3801
161
161
  modal_docs/gen_reference_docs.py,sha256=d_CQUGQ0rfw28u75I2mov9AlS773z9rG40-yq5o7g2U,6359
@@ -183,10 +183,10 @@ modal_proto/task_command_router_pb2.py,sha256=_pD2ZpU0bNzhwBdzmLoLyLtAtftI_Agxwn
183
183
  modal_proto/task_command_router_pb2.pyi,sha256=EyDgXPLr7alqjXYERV8w_MPuO404x0uCppmSkrfE9IE,14589
184
184
  modal_proto/task_command_router_pb2_grpc.py,sha256=uEQ0HdrCp8v-9bB5yIic9muA8spCShLHY6Bz9cCgOUE,10114
185
185
  modal_proto/task_command_router_pb2_grpc.pyi,sha256=s3Yxsrawdj4nr8vqQqsAxyX6ilWaGbdECy425KKbLIA,3301
186
- modal_version/__init__.py,sha256=5X4BlhkzoEj9g3zseZL1RxJBomAq9kIhdICrB3PSZbc,120
186
+ modal_version/__init__.py,sha256=FdZAMMLzv11Sj-WqJhCyRg2LEgcG4nMiHc45XvnqiOw,120
187
187
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
188
- modal-1.2.1.dev3.dist-info/METADATA,sha256=se0ugfUIXQhgQfyxA0_xt5AuOG3IM3lYFD6vdWRaPos,2483
189
- modal-1.2.1.dev3.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
190
- modal-1.2.1.dev3.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
191
- modal-1.2.1.dev3.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
192
- modal-1.2.1.dev3.dist-info/RECORD,,
188
+ modal-1.2.1.dev4.dist-info/METADATA,sha256=b-q4WuOIq58JT-nZP2iF9QXZ2lAv5azlNF_3W1R4Zf8,2483
189
+ modal-1.2.1.dev4.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
190
+ modal-1.2.1.dev4.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
191
+ modal-1.2.1.dev4.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
192
+ modal-1.2.1.dev4.dist-info/RECORD,,
modal_version/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2025
2
2
  """Supplies the current version of the modal client library."""
3
3
 
4
- __version__ = "1.2.1.dev3"
4
+ __version__ = "1.2.1.dev4"