modal 1.1.5.dev47__py3-none-any.whl → 1.1.5.dev49__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/_utils/name_utils.py +18 -3
- modal/app.py +16 -4
- modal/app.pyi +12 -2
- modal/client.pyi +2 -2
- modal/runner.py +23 -13
- modal/runner.pyi +2 -1
- {modal-1.1.5.dev47.dist-info → modal-1.1.5.dev49.dist-info}/METADATA +1 -1
- {modal-1.1.5.dev47.dist-info → modal-1.1.5.dev49.dist-info}/RECORD +16 -16
- modal_proto/api.proto +1 -0
- modal_proto/api_pb2.py +953 -940
- modal_proto/api_pb2.pyi +21 -1
- modal_version/__init__.py +1 -1
- {modal-1.1.5.dev47.dist-info → modal-1.1.5.dev49.dist-info}/WHEEL +0 -0
- {modal-1.1.5.dev47.dist-info → modal-1.1.5.dev49.dist-info}/entry_points.txt +0 -0
- {modal-1.1.5.dev47.dist-info → modal-1.1.5.dev49.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.5.dev47.dist-info → modal-1.1.5.dev49.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
|
@@ -1357,6 +1357,21 @@ class AppPublishRequest(google.protobuf.message.Message):
|
|
|
1357
1357
|
) -> None: ...
|
|
1358
1358
|
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
1359
1359
|
|
|
1360
|
+
class TagsEntry(google.protobuf.message.Message):
|
|
1361
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1362
|
+
|
|
1363
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
1364
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
1365
|
+
key: builtins.str
|
|
1366
|
+
value: builtins.str
|
|
1367
|
+
def __init__(
|
|
1368
|
+
self,
|
|
1369
|
+
*,
|
|
1370
|
+
key: builtins.str = ...,
|
|
1371
|
+
value: builtins.str = ...,
|
|
1372
|
+
) -> None: ...
|
|
1373
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
1374
|
+
|
|
1360
1375
|
APP_ID_FIELD_NUMBER: builtins.int
|
|
1361
1376
|
NAME_FIELD_NUMBER: builtins.int
|
|
1362
1377
|
DEPLOYMENT_TAG_FIELD_NUMBER: builtins.int
|
|
@@ -1367,6 +1382,7 @@ class AppPublishRequest(google.protobuf.message.Message):
|
|
|
1367
1382
|
ROLLBACK_VERSION_FIELD_NUMBER: builtins.int
|
|
1368
1383
|
CLIENT_VERSION_FIELD_NUMBER: builtins.int
|
|
1369
1384
|
COMMIT_INFO_FIELD_NUMBER: builtins.int
|
|
1385
|
+
TAGS_FIELD_NUMBER: builtins.int
|
|
1370
1386
|
app_id: builtins.str
|
|
1371
1387
|
name: builtins.str
|
|
1372
1388
|
deployment_tag: builtins.str
|
|
@@ -1389,6 +1405,9 @@ class AppPublishRequest(google.protobuf.message.Message):
|
|
|
1389
1405
|
@property
|
|
1390
1406
|
def commit_info(self) -> global___CommitInfo:
|
|
1391
1407
|
"""Git information for deployment tracking"""
|
|
1408
|
+
@property
|
|
1409
|
+
def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
1410
|
+
"""Additional metadata to attach to the App"""
|
|
1392
1411
|
def __init__(
|
|
1393
1412
|
self,
|
|
1394
1413
|
*,
|
|
@@ -1402,9 +1421,10 @@ class AppPublishRequest(google.protobuf.message.Message):
|
|
|
1402
1421
|
rollback_version: builtins.int = ...,
|
|
1403
1422
|
client_version: builtins.str = ...,
|
|
1404
1423
|
commit_info: global___CommitInfo | None = ...,
|
|
1424
|
+
tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
1405
1425
|
) -> None: ...
|
|
1406
1426
|
def HasField(self, field_name: typing_extensions.Literal["commit_info", b"commit_info"]) -> builtins.bool: ...
|
|
1407
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "app_state", b"app_state", "class_ids", b"class_ids", "client_version", b"client_version", "commit_info", b"commit_info", "definition_ids", b"definition_ids", "deployment_tag", b"deployment_tag", "function_ids", b"function_ids", "name", b"name", "rollback_version", b"rollback_version"]) -> None: ...
|
|
1427
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "app_state", b"app_state", "class_ids", b"class_ids", "client_version", b"client_version", "commit_info", b"commit_info", "definition_ids", b"definition_ids", "deployment_tag", b"deployment_tag", "function_ids", b"function_ids", "name", b"name", "rollback_version", b"rollback_version", "tags", b"tags"]) -> None: ...
|
|
1408
1428
|
|
|
1409
1429
|
global___AppPublishRequest = AppPublishRequest
|
|
1410
1430
|
|
modal_version/__init__.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|