modAL 1.5.5.dev7__py3-none-any.whl → 1.5.5.dev8__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/_utils/grpc_utils.py +9 -0
- modal/cli/changelog.py +1 -1
- modal/client.pyi +2 -2
- {modal-1.5.5.dev7.dist-info → modal-1.5.5.dev8.dist-info}/METADATA +1 -1
- {modal-1.5.5.dev7.dist-info → modal-1.5.5.dev8.dist-info}/RECORD +10 -10
- modal_version/__init__.py +1 -1
- {modal-1.5.5.dev7.dist-info → modal-1.5.5.dev8.dist-info}/WHEEL +0 -0
- {modal-1.5.5.dev7.dist-info → modal-1.5.5.dev8.dist-info}/entry_points.txt +0 -0
- {modal-1.5.5.dev7.dist-info → modal-1.5.5.dev8.dist-info}/licenses/LICENSE +0 -0
- {modal-1.5.5.dev7.dist-info → modal-1.5.5.dev8.dist-info}/top_level.txt +0 -0
modal/_utils/grpc_utils.py
CHANGED
|
@@ -152,6 +152,15 @@ class ModalChannel(grpclib.client.Channel):
|
|
|
152
152
|
)
|
|
153
153
|
return protocol
|
|
154
154
|
|
|
155
|
+
@property
|
|
156
|
+
def _connected(self) -> bool:
|
|
157
|
+
return (
|
|
158
|
+
self._protocol is not None
|
|
159
|
+
# the H2Protocol handler does have connection_lost
|
|
160
|
+
and not self._protocol.handler.connection_lost # type: ignore
|
|
161
|
+
and not self._protocol.connection.is_closing()
|
|
162
|
+
)
|
|
163
|
+
|
|
155
164
|
def close(self):
|
|
156
165
|
self.__closed = True
|
|
157
166
|
return super().close()
|
modal/cli/changelog.py
CHANGED
modal/client.pyi
CHANGED
|
@@ -38,7 +38,7 @@ class _Client:
|
|
|
38
38
|
server_url: str,
|
|
39
39
|
client_type: int,
|
|
40
40
|
credentials: typing.Optional[tuple[str, str]],
|
|
41
|
-
version: str = "1.5.5.
|
|
41
|
+
version: str = "1.5.5.dev8",
|
|
42
42
|
):
|
|
43
43
|
"""mdmd:hidden
|
|
44
44
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -209,7 +209,7 @@ class Client:
|
|
|
209
209
|
server_url: str,
|
|
210
210
|
client_type: int,
|
|
211
211
|
credentials: typing.Optional[tuple[str, str]],
|
|
212
|
-
version: str = "1.5.5.
|
|
212
|
+
version: str = "1.5.5.dev8",
|
|
213
213
|
):
|
|
214
214
|
"""mdmd:hidden
|
|
215
215
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -34,7 +34,7 @@ modal/billing.py,sha256=E1-P_P8bJFLp-bTaggYd4BaaViImPB5UdtXiY8VeAZQ,390
|
|
|
34
34
|
modal/billing.pyi,sha256=4m7VLYNS8IiJ2I3CJx0awvrOM6BILWRVLfdeqtAYr8M,7189
|
|
35
35
|
modal/call_graph.py,sha256=XGALIDn1bLchWo_goyX23bcPjzCZcfqKUo8INIfDapo,1775
|
|
36
36
|
modal/client.py,sha256=p9rlwpHOfWxmUI2ss5er8PFd4CGfvRxqmrqczYR3pjk,16893
|
|
37
|
-
modal/client.pyi,sha256=
|
|
37
|
+
modal/client.pyi,sha256=GP18QaS6DnXQzmwQjyhf5_VQTkwlMN-OmMotDxJTzfc,18037
|
|
38
38
|
modal/cloud_bucket_mount.py,sha256=NrdNV9r9aL3QFrlt-Dhtd7_K3f8v1igrHf2FRwgJ1CI,6827
|
|
39
39
|
modal/cloud_bucket_mount.pyi,sha256=0E8d53pMh2KsFa-rMh_i6LxlzW4cMV8drVmmkPHSqZk,8149
|
|
40
40
|
modal/cls.py,sha256=TxRxHdY4L6AZ6I16DNPgDryAkGtlFadD-Mm0ovtfN58,41206
|
|
@@ -129,7 +129,7 @@ modal/_utils/docker_utils.py,sha256=k8fkYT6G-X_B3iamjxiSpwSE-k58xGVHtsk2_gR7i2Q,
|
|
|
129
129
|
modal/_utils/function_utils.py,sha256=cmif9d5pMPtpdijdWaNVXfQ_tZKnA0hpeU_i8o5C7tc,26607
|
|
130
130
|
modal/_utils/git_utils.py,sha256=Lat_l4O4hwOYgylEtWup3hyqWT8D7JoCIjCflXcX8BE,3148
|
|
131
131
|
modal/_utils/grpc_testing.py,sha256=udyK_wRXX_yc9eLt8mIZZqx12XlaiUqORxaGNvfI_MM,8697
|
|
132
|
-
modal/_utils/grpc_utils.py,sha256=
|
|
132
|
+
modal/_utils/grpc_utils.py,sha256=vGL6JUNRahbe4HRWV_bS1ceCfszzKNVIgAW_bzUNo74,24249
|
|
133
133
|
modal/_utils/hash_utils.py,sha256=WHuMRwmB4fnaM-qmyWXR87C2CinvLnmRoygSzsTEunA,3008
|
|
134
134
|
modal/_utils/http_utils.py,sha256=TO9nnKR0Cc-iWCmkou56wJh9MHgNZwQMosK8WK-GD5Y,3133
|
|
135
135
|
modal/_utils/jwt_utils.py,sha256=KUoqGHMM4ewDyTsTKXPm1wrMu8Z6lp0l8VILHufm484,1354
|
|
@@ -164,7 +164,7 @@ modal/cli/_traceback.py,sha256=sUFEQWVCa6mqJ0qbGil6RCF9-fh4CLQq5JIA3IKZSGk,5951
|
|
|
164
164
|
modal/cli/app.py,sha256=6WVwJWZ1yAWj-tTjl12__gWlc8yW5lz_2cHlrXeJJuc,24607
|
|
165
165
|
modal/cli/billing.py,sha256=NhDapJRi-R5Pi0BdVuWK6ybjjxHRVmVG1ywqDsgicOw,10686
|
|
166
166
|
modal/cli/bootstrap.py,sha256=0P7GMEuDdZ-sUm_-lml_8F2YYdmzhAItoDnN4s8T9zo,5269
|
|
167
|
-
modal/cli/changelog.py,sha256=
|
|
167
|
+
modal/cli/changelog.py,sha256=arLVBD30JVGNA0T3WWt40MHuq8MZj2JFe30NSc2qekk,5798
|
|
168
168
|
modal/cli/cluster.py,sha256=7u68L1PVlh4NqPoUHn7TrcekqhlpdUVjoVBnqE50-o8,4356
|
|
169
169
|
modal/cli/config.py,sha256=4EHFN3f2E-5zdAnW5LrfCgYaPQfe-uvQVKoqCuIUWLs,1945
|
|
170
170
|
modal/cli/container.py,sha256=u58JzpPoPRlDUmO40ID7XR5_cFrZy1WGkOGrTygVNuE,12379
|
|
@@ -198,7 +198,7 @@ modal/experimental/flash.py,sha256=HC-GW4FpRXyaVFSBw4yxneS1eLvW5j19rwc16AsqrXQ,3
|
|
|
198
198
|
modal/experimental/flash.pyi,sha256=gpN4lDv4na2nVTUOCRxFu52o3-Ed0HrJISLxACUe7Ls,17892
|
|
199
199
|
modal/experimental/ipython.py,sha256=kJ6o9wkAY_MiSb7paewI7f1MJAeqdi8TX5pBdhr_mUI,2925
|
|
200
200
|
modal/skills/modal/SKILL.md,sha256=WzLjYJ1utjc_ZOf6qZTPwB6wxxwRYB5PibdvIf_FLy0,5316
|
|
201
|
-
modal-1.5.5.
|
|
201
|
+
modal-1.5.5.dev8.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
202
202
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
|
203
203
|
modal_docs/gen_cli_docs.py,sha256=9-b8vl2EsLWD9zJqpCK8IUi5h44Bjn3i3rSdedZV4bA,6415
|
|
204
204
|
modal_docs/gen_cli_docs_main.py,sha256=UPGr7O1DYTIRLwfINe2rbdh89J3cPVTU1OWL-SjxnOQ,198
|
|
@@ -222,10 +222,10 @@ modal_proto/task_command_router_pb2.py,sha256=tZm_pN94vDNVom4WL4T5id3_mxWoia3U1C
|
|
|
222
222
|
modal_proto/task_command_router_pb2.pyi,sha256=ojB6XuvvoUEzZUPwGedjTCZtkImdcm1lPJAXzKmfbis,46716
|
|
223
223
|
modal_proto/task_command_router_pb2_grpc.py,sha256=zuFkJgKcswB2ftjnyEgs70dp61VMA7gK0h0uzR3gYFw,42563
|
|
224
224
|
modal_proto/task_command_router_pb2_grpc.pyi,sha256=UjAJFqz9DpOFXP04fVm5lB2eAyTtjOg3oKjfWei8yLU,14262
|
|
225
|
-
modal_version/__init__.py,sha256=
|
|
225
|
+
modal_version/__init__.py,sha256=KALZ2JDVqLGOQEY-Sl2RxK9r89hGI0zyA_XUcV3ADtY,120
|
|
226
226
|
modal_version/__main__.py,sha256=nLUbubxKx7GXNzJIkTB7M7_u8080LyLM0IS0rzFkC_c,119
|
|
227
|
-
modal-1.5.5.
|
|
228
|
-
modal-1.5.5.
|
|
229
|
-
modal-1.5.5.
|
|
230
|
-
modal-1.5.5.
|
|
231
|
-
modal-1.5.5.
|
|
227
|
+
modal-1.5.5.dev8.dist-info/METADATA,sha256=KGKgeRVzXHbUdYmtq8TR73ACkCDW74b77LQ0Cg9fKUI,2512
|
|
228
|
+
modal-1.5.5.dev8.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
229
|
+
modal-1.5.5.dev8.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
|
230
|
+
modal-1.5.5.dev8.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
|
231
|
+
modal-1.5.5.dev8.dist-info/RECORD,,
|
modal_version/__init__.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|