modal 1.1.1.dev31__py3-none-any.whl → 1.1.1.dev33__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 +2 -2
- {modal-1.1.1.dev31.dist-info → modal-1.1.1.dev33.dist-info}/METADATA +1 -1
- {modal-1.1.1.dev31.dist-info → modal-1.1.1.dev33.dist-info}/RECORD +11 -11
- modal_proto/api.proto +26 -9
- modal_proto/api_pb2.py +700 -690
- modal_proto/api_pb2.pyi +90 -14
- modal_version/__init__.py +1 -1
- {modal-1.1.1.dev31.dist-info → modal-1.1.1.dev33.dist-info}/WHEEL +0 -0
- {modal-1.1.1.dev31.dist-info → modal-1.1.1.dev33.dist-info}/entry_points.txt +0 -0
- {modal-1.1.1.dev31.dist-info → modal-1.1.1.dev33.dist-info}/licenses/LICENSE +0 -0
- {modal-1.1.1.dev31.dist-info → modal-1.1.1.dev33.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
|
@@ -3704,13 +3704,18 @@ class DictListRequest(google.protobuf.message.Message):
|
|
|
3704
3704
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
3705
3705
|
|
|
3706
3706
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
3707
|
+
PAGINATION_FIELD_NUMBER: builtins.int
|
|
3707
3708
|
environment_name: builtins.str
|
|
3709
|
+
@property
|
|
3710
|
+
def pagination(self) -> global___ListPagination: ...
|
|
3708
3711
|
def __init__(
|
|
3709
3712
|
self,
|
|
3710
3713
|
*,
|
|
3711
3714
|
environment_name: builtins.str = ...,
|
|
3715
|
+
pagination: global___ListPagination | None = ...,
|
|
3712
3716
|
) -> None: ...
|
|
3713
|
-
def
|
|
3717
|
+
def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
|
|
3718
|
+
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "pagination", b"pagination"]) -> None: ...
|
|
3714
3719
|
|
|
3715
3720
|
global___DictListRequest = DictListRequest
|
|
3716
3721
|
|
|
@@ -3722,25 +3727,37 @@ class DictListResponse(google.protobuf.message.Message):
|
|
|
3722
3727
|
|
|
3723
3728
|
NAME_FIELD_NUMBER: builtins.int
|
|
3724
3729
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
3730
|
+
DICT_ID_FIELD_NUMBER: builtins.int
|
|
3731
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
3725
3732
|
name: builtins.str
|
|
3726
3733
|
created_at: builtins.float
|
|
3734
|
+
"""Superseded by metadata, used by clients up to 1.1.1"""
|
|
3735
|
+
dict_id: builtins.str
|
|
3736
|
+
@property
|
|
3737
|
+
def metadata(self) -> global___DictMetadata: ...
|
|
3727
3738
|
def __init__(
|
|
3728
3739
|
self,
|
|
3729
3740
|
*,
|
|
3730
3741
|
name: builtins.str = ...,
|
|
3731
3742
|
created_at: builtins.float = ...,
|
|
3743
|
+
dict_id: builtins.str = ...,
|
|
3744
|
+
metadata: global___DictMetadata | None = ...,
|
|
3732
3745
|
) -> None: ...
|
|
3733
|
-
def
|
|
3746
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
3747
|
+
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "dict_id", b"dict_id", "metadata", b"metadata", "name", b"name"]) -> None: ...
|
|
3734
3748
|
|
|
3735
3749
|
DICTS_FIELD_NUMBER: builtins.int
|
|
3750
|
+
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
3736
3751
|
@property
|
|
3737
3752
|
def dicts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DictListResponse.DictInfo]: ...
|
|
3753
|
+
environment_name: builtins.str
|
|
3738
3754
|
def __init__(
|
|
3739
3755
|
self,
|
|
3740
3756
|
*,
|
|
3741
3757
|
dicts: collections.abc.Iterable[global___DictListResponse.DictInfo] | None = ...,
|
|
3758
|
+
environment_name: builtins.str = ...,
|
|
3742
3759
|
) -> None: ...
|
|
3743
|
-
def ClearField(self, field_name: typing_extensions.Literal["dicts", b"dicts"]) -> None: ...
|
|
3760
|
+
def ClearField(self, field_name: typing_extensions.Literal["dicts", b"dicts", "environment_name", b"environment_name"]) -> None: ...
|
|
3744
3761
|
|
|
3745
3762
|
global___DictListResponse = DictListResponse
|
|
3746
3763
|
|
|
@@ -4698,11 +4715,14 @@ class FunctionBindParamsRequest(google.protobuf.message.Message):
|
|
|
4698
4715
|
SERIALIZED_PARAMS_FIELD_NUMBER: builtins.int
|
|
4699
4716
|
FUNCTION_OPTIONS_FIELD_NUMBER: builtins.int
|
|
4700
4717
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
4718
|
+
AUTH_SECRET_FIELD_NUMBER: builtins.int
|
|
4701
4719
|
function_id: builtins.str
|
|
4702
4720
|
serialized_params: builtins.bytes
|
|
4703
4721
|
@property
|
|
4704
4722
|
def function_options(self) -> global___FunctionOptions: ...
|
|
4705
4723
|
environment_name: builtins.str
|
|
4724
|
+
auth_secret: builtins.str
|
|
4725
|
+
"""Only used for the input plane."""
|
|
4706
4726
|
def __init__(
|
|
4707
4727
|
self,
|
|
4708
4728
|
*,
|
|
@@ -4710,9 +4730,10 @@ class FunctionBindParamsRequest(google.protobuf.message.Message):
|
|
|
4710
4730
|
serialized_params: builtins.bytes = ...,
|
|
4711
4731
|
function_options: global___FunctionOptions | None = ...,
|
|
4712
4732
|
environment_name: builtins.str = ...,
|
|
4733
|
+
auth_secret: builtins.str = ...,
|
|
4713
4734
|
) -> None: ...
|
|
4714
4735
|
def HasField(self, field_name: typing_extensions.Literal["function_options", b"function_options"]) -> builtins.bool: ...
|
|
4715
|
-
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "function_id", b"function_id", "function_options", b"function_options", "serialized_params", b"serialized_params"]) -> None: ...
|
|
4736
|
+
def ClearField(self, field_name: typing_extensions.Literal["auth_secret", b"auth_secret", "environment_name", b"environment_name", "function_id", b"function_id", "function_options", b"function_options", "serialized_params", b"serialized_params"]) -> None: ...
|
|
4716
4737
|
|
|
4717
4738
|
global___FunctionBindParamsRequest = FunctionBindParamsRequest
|
|
4718
4739
|
|
|
@@ -6747,6 +6768,23 @@ class InputInfo(google.protobuf.message.Message):
|
|
|
6747
6768
|
|
|
6748
6769
|
global___InputInfo = InputInfo
|
|
6749
6770
|
|
|
6771
|
+
class ListPagination(google.protobuf.message.Message):
|
|
6772
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
6773
|
+
|
|
6774
|
+
MAX_OBJECTS_FIELD_NUMBER: builtins.int
|
|
6775
|
+
CREATED_BEFORE_FIELD_NUMBER: builtins.int
|
|
6776
|
+
max_objects: builtins.int
|
|
6777
|
+
created_before: builtins.float
|
|
6778
|
+
def __init__(
|
|
6779
|
+
self,
|
|
6780
|
+
*,
|
|
6781
|
+
max_objects: builtins.int = ...,
|
|
6782
|
+
created_before: builtins.float = ...,
|
|
6783
|
+
) -> None: ...
|
|
6784
|
+
def ClearField(self, field_name: typing_extensions.Literal["created_before", b"created_before", "max_objects", b"max_objects"]) -> None: ...
|
|
6785
|
+
|
|
6786
|
+
global___ListPagination = ListPagination
|
|
6787
|
+
|
|
6750
6788
|
class MapAwaitRequest(google.protobuf.message.Message):
|
|
6751
6789
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
6752
6790
|
|
|
@@ -7910,16 +7948,21 @@ class QueueListRequest(google.protobuf.message.Message):
|
|
|
7910
7948
|
|
|
7911
7949
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
7912
7950
|
TOTAL_SIZE_LIMIT_FIELD_NUMBER: builtins.int
|
|
7951
|
+
PAGINATION_FIELD_NUMBER: builtins.int
|
|
7913
7952
|
environment_name: builtins.str
|
|
7914
7953
|
total_size_limit: builtins.int
|
|
7915
|
-
"""
|
|
7954
|
+
"""Limit on "number of partitions" reported, since checking them is costly"""
|
|
7955
|
+
@property
|
|
7956
|
+
def pagination(self) -> global___ListPagination: ...
|
|
7916
7957
|
def __init__(
|
|
7917
7958
|
self,
|
|
7918
7959
|
*,
|
|
7919
7960
|
environment_name: builtins.str = ...,
|
|
7920
7961
|
total_size_limit: builtins.int = ...,
|
|
7962
|
+
pagination: global___ListPagination | None = ...,
|
|
7921
7963
|
) -> None: ...
|
|
7922
|
-
def
|
|
7964
|
+
def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
|
|
7965
|
+
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "pagination", b"pagination", "total_size_limit", b"total_size_limit"]) -> None: ...
|
|
7923
7966
|
|
|
7924
7967
|
global___QueueListRequest = QueueListRequest
|
|
7925
7968
|
|
|
@@ -7933,10 +7976,16 @@ class QueueListResponse(google.protobuf.message.Message):
|
|
|
7933
7976
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
7934
7977
|
NUM_PARTITIONS_FIELD_NUMBER: builtins.int
|
|
7935
7978
|
TOTAL_SIZE_FIELD_NUMBER: builtins.int
|
|
7979
|
+
QUEUE_ID_FIELD_NUMBER: builtins.int
|
|
7980
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
7936
7981
|
name: builtins.str
|
|
7937
7982
|
created_at: builtins.float
|
|
7983
|
+
"""Superseded by metadata, used by clients up to 1.1.1"""
|
|
7938
7984
|
num_partitions: builtins.int
|
|
7939
7985
|
total_size: builtins.int
|
|
7986
|
+
queue_id: builtins.str
|
|
7987
|
+
@property
|
|
7988
|
+
def metadata(self) -> global___QueueMetadata: ...
|
|
7940
7989
|
def __init__(
|
|
7941
7990
|
self,
|
|
7942
7991
|
*,
|
|
@@ -7944,18 +7993,24 @@ class QueueListResponse(google.protobuf.message.Message):
|
|
|
7944
7993
|
created_at: builtins.float = ...,
|
|
7945
7994
|
num_partitions: builtins.int = ...,
|
|
7946
7995
|
total_size: builtins.int = ...,
|
|
7996
|
+
queue_id: builtins.str = ...,
|
|
7997
|
+
metadata: global___QueueMetadata | None = ...,
|
|
7947
7998
|
) -> None: ...
|
|
7948
|
-
def
|
|
7999
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
8000
|
+
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "metadata", b"metadata", "name", b"name", "num_partitions", b"num_partitions", "queue_id", b"queue_id", "total_size", b"total_size"]) -> None: ...
|
|
7949
8001
|
|
|
7950
8002
|
QUEUES_FIELD_NUMBER: builtins.int
|
|
8003
|
+
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
7951
8004
|
@property
|
|
7952
8005
|
def queues(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___QueueListResponse.QueueInfo]: ...
|
|
8006
|
+
environment_name: builtins.str
|
|
7953
8007
|
def __init__(
|
|
7954
8008
|
self,
|
|
7955
8009
|
*,
|
|
7956
8010
|
queues: collections.abc.Iterable[global___QueueListResponse.QueueInfo] | None = ...,
|
|
8011
|
+
environment_name: builtins.str = ...,
|
|
7957
8012
|
) -> None: ...
|
|
7958
|
-
def ClearField(self, field_name: typing_extensions.Literal["queues", b"queues"]) -> None: ...
|
|
8013
|
+
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "queues", b"queues"]) -> None: ...
|
|
7959
8014
|
|
|
7960
8015
|
global___QueueListResponse = QueueListResponse
|
|
7961
8016
|
|
|
@@ -9308,11 +9363,16 @@ class SecretListItem(google.protobuf.message.Message):
|
|
|
9308
9363
|
LAST_USED_AT_FIELD_NUMBER: builtins.int
|
|
9309
9364
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
9310
9365
|
SECRET_ID_FIELD_NUMBER: builtins.int
|
|
9366
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
9311
9367
|
label: builtins.str
|
|
9312
9368
|
created_at: builtins.float
|
|
9369
|
+
"""Superseded by metadata, used by clients up to 1.1.1"""
|
|
9313
9370
|
last_used_at: builtins.float
|
|
9314
9371
|
environment_name: builtins.str
|
|
9372
|
+
"""Unused by client"""
|
|
9315
9373
|
secret_id: builtins.str
|
|
9374
|
+
@property
|
|
9375
|
+
def metadata(self) -> global___SecretMetadata: ...
|
|
9316
9376
|
def __init__(
|
|
9317
9377
|
self,
|
|
9318
9378
|
*,
|
|
@@ -9321,8 +9381,10 @@ class SecretListItem(google.protobuf.message.Message):
|
|
|
9321
9381
|
last_used_at: builtins.float = ...,
|
|
9322
9382
|
environment_name: builtins.str = ...,
|
|
9323
9383
|
secret_id: builtins.str = ...,
|
|
9384
|
+
metadata: global___SecretMetadata | None = ...,
|
|
9324
9385
|
) -> None: ...
|
|
9325
|
-
def
|
|
9386
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
9387
|
+
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "environment_name", b"environment_name", "label", b"label", "last_used_at", b"last_used_at", "metadata", b"metadata", "secret_id", b"secret_id"]) -> None: ...
|
|
9326
9388
|
|
|
9327
9389
|
global___SecretListItem = SecretListItem
|
|
9328
9390
|
|
|
@@ -9330,14 +9392,18 @@ class SecretListRequest(google.protobuf.message.Message):
|
|
|
9330
9392
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9331
9393
|
|
|
9332
9394
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
9395
|
+
PAGINATION_FIELD_NUMBER: builtins.int
|
|
9333
9396
|
environment_name: builtins.str
|
|
9334
|
-
|
|
9397
|
+
@property
|
|
9398
|
+
def pagination(self) -> global___ListPagination: ...
|
|
9335
9399
|
def __init__(
|
|
9336
9400
|
self,
|
|
9337
9401
|
*,
|
|
9338
9402
|
environment_name: builtins.str = ...,
|
|
9403
|
+
pagination: global___ListPagination | None = ...,
|
|
9339
9404
|
) -> None: ...
|
|
9340
|
-
def
|
|
9405
|
+
def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
|
|
9406
|
+
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "pagination", b"pagination"]) -> None: ...
|
|
9341
9407
|
|
|
9342
9408
|
global___SecretListRequest = SecretListRequest
|
|
9343
9409
|
|
|
@@ -9349,7 +9415,6 @@ class SecretListResponse(google.protobuf.message.Message):
|
|
|
9349
9415
|
@property
|
|
9350
9416
|
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___SecretListItem]: ...
|
|
9351
9417
|
environment_name: builtins.str
|
|
9352
|
-
"""the environment that was listed (useful when relying on "default" logic)"""
|
|
9353
9418
|
def __init__(
|
|
9354
9419
|
self,
|
|
9355
9420
|
*,
|
|
@@ -10538,18 +10603,24 @@ class VolumeListItem(google.protobuf.message.Message):
|
|
|
10538
10603
|
LABEL_FIELD_NUMBER: builtins.int
|
|
10539
10604
|
VOLUME_ID_FIELD_NUMBER: builtins.int
|
|
10540
10605
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
10606
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
10541
10607
|
label: builtins.str
|
|
10542
10608
|
"""app name of object entity app"""
|
|
10543
10609
|
volume_id: builtins.str
|
|
10544
10610
|
created_at: builtins.float
|
|
10611
|
+
"""Superseded by metadata, used by clients up to 1.1.1"""
|
|
10612
|
+
@property
|
|
10613
|
+
def metadata(self) -> global___VolumeMetadata: ...
|
|
10545
10614
|
def __init__(
|
|
10546
10615
|
self,
|
|
10547
10616
|
*,
|
|
10548
10617
|
label: builtins.str = ...,
|
|
10549
10618
|
volume_id: builtins.str = ...,
|
|
10550
10619
|
created_at: builtins.float = ...,
|
|
10620
|
+
metadata: global___VolumeMetadata | None = ...,
|
|
10551
10621
|
) -> None: ...
|
|
10552
|
-
def
|
|
10622
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
10623
|
+
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "label", b"label", "metadata", b"metadata", "volume_id", b"volume_id"]) -> None: ...
|
|
10553
10624
|
|
|
10554
10625
|
global___VolumeListItem = VolumeListItem
|
|
10555
10626
|
|
|
@@ -10557,13 +10628,18 @@ class VolumeListRequest(google.protobuf.message.Message):
|
|
|
10557
10628
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
10558
10629
|
|
|
10559
10630
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
10631
|
+
PAGINATION_FIELD_NUMBER: builtins.int
|
|
10560
10632
|
environment_name: builtins.str
|
|
10633
|
+
@property
|
|
10634
|
+
def pagination(self) -> global___ListPagination: ...
|
|
10561
10635
|
def __init__(
|
|
10562
10636
|
self,
|
|
10563
10637
|
*,
|
|
10564
10638
|
environment_name: builtins.str = ...,
|
|
10639
|
+
pagination: global___ListPagination | None = ...,
|
|
10565
10640
|
) -> None: ...
|
|
10566
|
-
def
|
|
10641
|
+
def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
|
|
10642
|
+
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "pagination", b"pagination"]) -> None: ...
|
|
10567
10643
|
|
|
10568
10644
|
global___VolumeListRequest = VolumeListRequest
|
|
10569
10645
|
|
modal_version/__init__.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|