modal 0.68.0__py3-none-any.whl → 0.68.1__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/client.pyi CHANGED
@@ -26,7 +26,7 @@ class _Client:
26
26
  _stub: typing.Optional[modal_proto.api_grpc.ModalClientStub]
27
27
 
28
28
  def __init__(
29
- self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.68.0"
29
+ self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.68.1"
30
30
  ): ...
31
31
  def is_closed(self) -> bool: ...
32
32
  @property
@@ -81,7 +81,7 @@ class Client:
81
81
  _stub: typing.Optional[modal_proto.api_grpc.ModalClientStub]
82
82
 
83
83
  def __init__(
84
- self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.68.0"
84
+ self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.68.1"
85
85
  ): ...
86
86
  def is_closed(self) -> bool: ...
87
87
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: modal
3
- Version: 0.68.0
3
+ Version: 0.68.1
4
4
  Summary: Python client library for Modal
5
5
  Author: Modal Labs
6
6
  Author-email: support@modal.com
@@ -19,7 +19,7 @@ modal/app.py,sha256=EJ7FUN6rWnSwLJoYJh8nmKg_t-8hdN8_rt0OrkP7JvQ,46084
19
19
  modal/app.pyi,sha256=BE5SlR5tRECuc6-e2lUuOknDdov3zxgZ4N0AsLb5ZVQ,25270
20
20
  modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
21
21
  modal/client.py,sha256=uy1Lw3hipt9ILv19VdmBBGYIW7VHmr4rzXi7pO7Kg7s,15791
22
- modal/client.pyi,sha256=RdtGO0h2wX6teBDdQhqA9B8JV77fDxOzHARozUTQF6I,7352
22
+ modal/client.pyi,sha256=Mpm_iZr5M6GeCM_Dey5sDQtDM0T-2mppR9-n15iBr0Q,7352
23
23
  modal/cloud_bucket_mount.py,sha256=G7T7jWLD0QkmrfKR75mSTwdUZ2xNfj7pkVqb4ipmxmI,5735
24
24
  modal/cloud_bucket_mount.pyi,sha256=CEi7vrH3kDUF4LAy4qP6tfImy2UJuFRcRbsgRNM1wo8,1403
25
25
  modal/cls.py,sha256=pMirIOmb59YzaIK2rn7Vd756E1QKDDweYT90GYIHiMk,27472
@@ -142,10 +142,10 @@ modal_global_objects/mounts/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0
142
142
  modal_global_objects/mounts/modal_client_package.py,sha256=W0E_yShsRojPzWm6LtIQqNVolapdnrZkm2hVEQuZK_4,767
143
143
  modal_global_objects/mounts/python_standalone.py,sha256=SL_riIxpd8mP4i4CLDCWiFFNj0Ltknm9c_UIGfX5d60,1836
144
144
  modal_proto/__init__.py,sha256=MIEP8jhXUeGq_eCjYFcqN5b1bxBM4fdk0VESpjWR0fc,28
145
- modal_proto/api.proto,sha256=B0FedF8MXOVp1O9yPgjHU8QzFP0aeONN3WvhCaYaMO8,78738
145
+ modal_proto/api.proto,sha256=LDL_Y59tvHAvX50HOXTr2NqQ2TohFiO6Fi05G9_RkC0,79106
146
146
  modal_proto/api_grpc.py,sha256=DveC4ejFYEhCLiWbQShnmY31_FWGYU675Bmr7nHhsgs,101342
147
- modal_proto/api_pb2.py,sha256=YE26HpQSPu6x6hs5S58PeER2FEESNBMu2Ka6ieCjxpk,287062
148
- modal_proto/api_pb2.pyi,sha256=wk_QhoXo1v3S1Tmukt1M8SiH9vfq8TBp9uqb7WUAm68,383922
147
+ modal_proto/api_pb2.py,sha256=lTl_nGWDFgLkvvRiTbpQQhNgj3vvrMc31miwZ0BtLf4,289195
148
+ modal_proto/api_pb2.pyi,sha256=MG8arF8Z48_hXLON0L0T0ZDv9joW855lsTLaEoviBOY,386425
149
149
  modal_proto/api_pb2_grpc.py,sha256=2PEP6JPOoTw2rDC5qYjLNuumP68ZwAouRhCoayisAhY,219162
150
150
  modal_proto/api_pb2_grpc.pyi,sha256=uWtCxVEd0cFpOZ1oOGfZNO7Dv45OP4kp09jMnNyx9D4,51098
151
151
  modal_proto/modal_api_grpc.py,sha256=-8mLby_om5MYo6yu1zA_hqhz0yLsQW7k2YWBVZW1iVs,13546
@@ -159,10 +159,10 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
159
159
  modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
160
160
  modal_version/__init__.py,sha256=RT6zPoOdFO99u5Wcxxaoir4ZCuPTbQ22cvzFAXl3vUY,470
161
161
  modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
162
- modal_version/_version_generated.py,sha256=A2gYAoil3sMRmFcVTXZe4ZPIgKxW6sEe_EQMOEvqLkM,148
163
- modal-0.68.0.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
164
- modal-0.68.0.dist-info/METADATA,sha256=ZKusxovFok96SO9vcQlf9FMApEKaexIQLFwAlzoEagE,2328
165
- modal-0.68.0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
166
- modal-0.68.0.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
167
- modal-0.68.0.dist-info/top_level.txt,sha256=1nvYbOSIKcmU50fNrpnQnrrOpj269ei3LzgB6j9xGqg,64
168
- modal-0.68.0.dist-info/RECORD,,
162
+ modal_version/_version_generated.py,sha256=WCQ6ahtgY9jKjpnPehIAR2jb6JCAyY8f-a6ORy1yMZE,148
163
+ modal-0.68.1.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
164
+ modal-0.68.1.dist-info/METADATA,sha256=ZRM5JqpOFrRmhBWuNm2S4AkEL1IaWjJi8xpbnLfl6hI,2328
165
+ modal-0.68.1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
166
+ modal-0.68.1.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
167
+ modal-0.68.1.dist-info/top_level.txt,sha256=1nvYbOSIKcmU50fNrpnQnrrOpj269ei3LzgB6j9xGqg,64
168
+ modal-0.68.1.dist-info/RECORD,,
modal_proto/api.proto CHANGED
@@ -771,6 +771,15 @@ message ContainerFileFlushRequest {
771
771
  string file_descriptor = 1;
772
772
  }
773
773
 
774
+ message ContainerFileLsRequest {
775
+ string path = 1;
776
+ }
777
+
778
+ message ContainerFileMkdirRequest {
779
+ string path = 1;
780
+ bool make_parents = 2;
781
+ }
782
+
774
783
  message ContainerFileOpenRequest {
775
784
  // file descriptor is hydrated when sent from server -> worker
776
785
  optional string file_descriptor = 1;
@@ -787,6 +796,11 @@ message ContainerFileReadRequest {
787
796
  optional uint32 n = 2;
788
797
  }
789
798
 
799
+ message ContainerFileRmRequest {
800
+ string path = 1;
801
+ bool recursive = 2;
802
+ }
803
+
790
804
  message ContainerFileSeekRequest {
791
805
  string file_descriptor = 1;
792
806
  int32 offset = 2;
@@ -821,6 +835,9 @@ message ContainerFilesystemExecRequest {
821
835
  ContainerFileDeleteBytesRequest file_delete_bytes_request = 7;
822
836
  ContainerFileWriteReplaceBytesRequest file_write_replace_bytes_request = 8;
823
837
  ContainerFileCloseRequest file_close_request = 9;
838
+ ContainerFileLsRequest file_ls_request = 11;
839
+ ContainerFileMkdirRequest file_mkdir_request = 12;
840
+ ContainerFileRmRequest file_rm_request = 13;
824
841
  }
825
842
  string task_id = 10;
826
843
  }