modAL 1.4.2.dev1__py3-none-any.whl → 1.4.2.dev2__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/rand_pb_testing.py +3 -1
- modal/client.pyi +2 -2
- {modal-1.4.2.dev1.dist-info → modal-1.4.2.dev2.dist-info}/METADATA +1 -1
- {modal-1.4.2.dev1.dist-info → modal-1.4.2.dev2.dist-info}/RECORD +9 -9
- modal_version/__init__.py +1 -1
- {modal-1.4.2.dev1.dist-info → modal-1.4.2.dev2.dist-info}/WHEEL +0 -0
- {modal-1.4.2.dev1.dist-info → modal-1.4.2.dev2.dist-info}/entry_points.txt +0 -0
- {modal-1.4.2.dev1.dist-info → modal-1.4.2.dev2.dist-info}/licenses/LICENSE +0 -0
- {modal-1.4.2.dev1.dist-info → modal-1.4.2.dev2.dist-info}/top_level.txt +0 -0
modal/_utils/rand_pb_testing.py
CHANGED
|
@@ -52,8 +52,9 @@ def _fill(msg, desc: Descriptor, rand: Random) -> None:
|
|
|
52
52
|
if hasattr(field, "is_repeated"):
|
|
53
53
|
is_repeated = field.is_repeated # type: ignore
|
|
54
54
|
else:
|
|
55
|
-
is_repeated = field.label == FieldDescriptor.LABEL_REPEATED
|
|
55
|
+
is_repeated = field.label == FieldDescriptor.LABEL_REPEATED # type: ignore[attr-defined]
|
|
56
56
|
if is_message:
|
|
57
|
+
assert field.message_type is not None
|
|
57
58
|
msg_field = getattr(msg, field.name)
|
|
58
59
|
if is_repeated:
|
|
59
60
|
num = rand.randint(0, 2)
|
|
@@ -64,6 +65,7 @@ def _fill(msg, desc: Descriptor, rand: Random) -> None:
|
|
|
64
65
|
_fill(msg_field, field.message_type, rand)
|
|
65
66
|
else:
|
|
66
67
|
if field.type == FieldDescriptor.TYPE_ENUM:
|
|
68
|
+
assert field.enum_type is not None
|
|
67
69
|
enum_values = [x.number for x in field.enum_type.values]
|
|
68
70
|
generator = lambda rand: rand.choice(enum_values) # noqa: E731
|
|
69
71
|
|
modal/client.pyi
CHANGED
|
@@ -35,7 +35,7 @@ class _Client:
|
|
|
35
35
|
server_url: str,
|
|
36
36
|
client_type: int,
|
|
37
37
|
credentials: typing.Optional[tuple[str, str]],
|
|
38
|
-
version: str = "1.4.2.
|
|
38
|
+
version: str = "1.4.2.dev2",
|
|
39
39
|
):
|
|
40
40
|
"""mdmd:hidden
|
|
41
41
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -171,7 +171,7 @@ class Client:
|
|
|
171
171
|
server_url: str,
|
|
172
172
|
client_type: int,
|
|
173
173
|
credentials: typing.Optional[tuple[str, str]],
|
|
174
|
-
version: str = "1.4.2.
|
|
174
|
+
version: str = "1.4.2.dev2",
|
|
175
175
|
):
|
|
176
176
|
"""mdmd:hidden
|
|
177
177
|
The Modal client object is not intended to be instantiated directly by users.
|
|
@@ -26,7 +26,7 @@ modal/app.pyi,sha256=kcDK0DrpTUHyHDF76M-Qq0NopoPHUocInUtvqOUDh5Q,54017
|
|
|
26
26
|
modal/billing.py,sha256=B2zXa7KeMnpqi2AQINycEk-KSXVYaLTTTAQTtuf2Gfs,257
|
|
27
27
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
|
28
28
|
modal/client.py,sha256=yxMDF2vQZAwgYCatTem1lyRLS90u9T0BFnHBUAg1XU0,14998
|
|
29
|
-
modal/client.pyi,sha256=
|
|
29
|
+
modal/client.pyi,sha256=rGfzRpyz1Qrqz0tN_QEicC8UzEw76V0IMnLOw1hCSH0,14930
|
|
30
30
|
modal/cloud_bucket_mount.py,sha256=KkaJVy5vpO_u2NtDYtv1JM-M3y4J0UtWBapTDKpQRcA,6034
|
|
31
31
|
modal/cloud_bucket_mount.pyi,sha256=mGDeEd1XvxGpCE6O5jRBSfIvMXvZ5AtIybea5k-0w9w,7560
|
|
32
32
|
modal/cls.py,sha256=Yrl5b_tQhZMhc5avInM-i5UlGuqeog6Gs4rX2d9lLjI,40390
|
|
@@ -123,7 +123,7 @@ modal/_utils/mount_utils.py,sha256=YlWhO_aaQjl_yDK-Fo0dzbGQav5-tHL1H5FDEIT9bxo,5
|
|
|
123
123
|
modal/_utils/name_utils.py,sha256=CIQL0Y4z47tq0rfNL2Kdo5dxsGrxoN2hR9Ko0HapeE4,2517
|
|
124
124
|
modal/_utils/package_utils.py,sha256=jYE7WFVzYWIfO0ZJhno_BYHb6Skp48uupOiw1a3yWzw,2056
|
|
125
125
|
modal/_utils/pattern_utils.py,sha256=ZUffaECfe2iYBhH6cvCB-0-UWhmEBTZEl_TwG_So3ag,6714
|
|
126
|
-
modal/_utils/rand_pb_testing.py,sha256=
|
|
126
|
+
modal/_utils/rand_pb_testing.py,sha256=OYfbSeEXNMgwy-nAi4hHbgZdb08Ss3BV6TyJp6-gwNs,4360
|
|
127
127
|
modal/_utils/sandbox_fs_utils.py,sha256=XoSeelz7aMFUAPw7fTmnxwfEmvP9-wL5RfmoYu6DVbE,8871
|
|
128
128
|
modal/_utils/shell_utils.py,sha256=GjMrO1YxnBr4_UlpA2ZYQKCHxV78QTg0mqxAMHWGTE4,3427
|
|
129
129
|
modal/_utils/task_command_router_client.py,sha256=cpEy6aQYQIzWaD5ciyuMEzZ3DSKlIiQi2JYgG3FJk4Q,27802
|
|
@@ -173,7 +173,7 @@ modal/experimental/__init__.py,sha256=Wb1YoAKAnNxH_0c2wA0T12I7bSu9PSO2nS_LuLska7
|
|
|
173
173
|
modal/experimental/flash.py,sha256=ATGhVO8AleJ-TOe2PGolI5T7zfCEtj0kl_ivMPp7Rqg,33362
|
|
174
174
|
modal/experimental/flash.pyi,sha256=R4h2nQl7-oiwqq_twCp0YqID_LnPjPGqxywXvxbiLIk,17011
|
|
175
175
|
modal/experimental/ipython.py,sha256=TrCfmol9LGsRZMeDoeMPx3Hv3BFqQhYnmD_iH0pqdhk,2904
|
|
176
|
-
modal-1.4.2.
|
|
176
|
+
modal-1.4.2.dev2.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
177
177
|
modal_docs/__init__.py,sha256=svYKtV8HDwDCN86zbdWqyq5T8sMdGDj0PVlzc2tIxDM,28
|
|
178
178
|
modal_docs/gen_cli_docs.py,sha256=5sVABw4uGUqPXjcWT0Nqjkpe5KLs89C3tFnla58-D0M,3756
|
|
179
179
|
modal_docs/gen_cli_docs_main.py,sha256=UPGr7O1DYTIRLwfINe2rbdh89J3cPVTU1OWL-SjxnOQ,198
|
|
@@ -195,10 +195,10 @@ modal_proto/task_command_router_pb2.py,sha256=Kadayms1M02hoAtV4hom00t143GAHxUNvo
|
|
|
195
195
|
modal_proto/task_command_router_pb2.pyi,sha256=nnMXJQ81eSbgeA0SkBOcUHXiD5hRknYi5MK7wVkPlU0,27068
|
|
196
196
|
modal_proto/task_command_router_pb2_grpc.py,sha256=CW52Dj00YLRRAc2-KIz_aimGe7RuKvx0cROMs2No-b0,25002
|
|
197
197
|
modal_proto/task_command_router_pb2_grpc.pyi,sha256=j4-VU3QFp8nUyx5_6F04T4IIU28KWHpAFMnY8Eg521g,8018
|
|
198
|
-
modal_version/__init__.py,sha256=
|
|
198
|
+
modal_version/__init__.py,sha256=GzBfOT4AQm8agl6Giwj1XlesiRhMm711IOfuvcL4tNQ,120
|
|
199
199
|
modal_version/__main__.py,sha256=nLUbubxKx7GXNzJIkTB7M7_u8080LyLM0IS0rzFkC_c,119
|
|
200
|
-
modal-1.4.2.
|
|
201
|
-
modal-1.4.2.
|
|
202
|
-
modal-1.4.2.
|
|
203
|
-
modal-1.4.2.
|
|
204
|
-
modal-1.4.2.
|
|
200
|
+
modal-1.4.2.dev2.dist-info/METADATA,sha256=L7un8xh2-Asoc0wBjvFwX8GnBQ79QiwUeyK74Ixm6J4,2364
|
|
201
|
+
modal-1.4.2.dev2.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
202
|
+
modal-1.4.2.dev2.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
|
203
|
+
modal-1.4.2.dev2.dist-info/top_level.txt,sha256=4BWzoKYREKUZ5iyPzZpjqx4G8uB5TWxXPDwibLcVa7k,43
|
|
204
|
+
modal-1.4.2.dev2.dist-info/RECORD,,
|
modal_version/__init__.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|