modal 1.1.5.dev28__py3-none-any.whl → 1.1.5.dev30__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_proto/api_pb2.pyi CHANGED
@@ -9319,6 +9319,35 @@ class SandboxTag(google.protobuf.message.Message):
9319
9319
 
9320
9320
  global___SandboxTag = SandboxTag
9321
9321
 
9322
+ class SandboxTagsGetRequest(google.protobuf.message.Message):
9323
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
9324
+
9325
+ SANDBOX_ID_FIELD_NUMBER: builtins.int
9326
+ sandbox_id: builtins.str
9327
+ def __init__(
9328
+ self,
9329
+ *,
9330
+ sandbox_id: builtins.str = ...,
9331
+ ) -> None: ...
9332
+ def ClearField(self, field_name: typing_extensions.Literal["sandbox_id", b"sandbox_id"]) -> None: ...
9333
+
9334
+ global___SandboxTagsGetRequest = SandboxTagsGetRequest
9335
+
9336
+ class SandboxTagsGetResponse(google.protobuf.message.Message):
9337
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
9338
+
9339
+ TAGS_FIELD_NUMBER: builtins.int
9340
+ @property
9341
+ def tags(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___SandboxTag]: ...
9342
+ def __init__(
9343
+ self,
9344
+ *,
9345
+ tags: collections.abc.Iterable[global___SandboxTag] | None = ...,
9346
+ ) -> None: ...
9347
+ def ClearField(self, field_name: typing_extensions.Literal["tags", b"tags"]) -> None: ...
9348
+
9349
+ global___SandboxTagsGetResponse = SandboxTagsGetResponse
9350
+
9322
9351
  class SandboxTagsSetRequest(google.protobuf.message.Message):
9323
9352
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
9324
9353
 
@@ -650,6 +650,11 @@ class ModalClientStub(object):
650
650
  request_serializer=modal__proto_dot_api__pb2.SandboxStdinWriteRequest.SerializeToString,
651
651
  response_deserializer=modal__proto_dot_api__pb2.SandboxStdinWriteResponse.FromString,
652
652
  )
653
+ self.SandboxTagsGet = channel.unary_unary(
654
+ '/modal.client.ModalClient/SandboxTagsGet',
655
+ request_serializer=modal__proto_dot_api__pb2.SandboxTagsGetRequest.SerializeToString,
656
+ response_deserializer=modal__proto_dot_api__pb2.SandboxTagsGetResponse.FromString,
657
+ )
653
658
  self.SandboxTagsSet = channel.unary_unary(
654
659
  '/modal.client.ModalClient/SandboxTagsSet',
655
660
  request_serializer=modal__proto_dot_api__pb2.SandboxTagsSetRequest.SerializeToString,
@@ -1652,6 +1657,12 @@ class ModalClientServicer(object):
1652
1657
  context.set_details('Method not implemented!')
1653
1658
  raise NotImplementedError('Method not implemented!')
1654
1659
 
1660
+ def SandboxTagsGet(self, request, context):
1661
+ """Missing associated documentation comment in .proto file."""
1662
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
1663
+ context.set_details('Method not implemented!')
1664
+ raise NotImplementedError('Method not implemented!')
1665
+
1655
1666
  def SandboxTagsSet(self, request, context):
1656
1667
  """Missing associated documentation comment in .proto file."""
1657
1668
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
@@ -2550,6 +2561,11 @@ def add_ModalClientServicer_to_server(servicer, server):
2550
2561
  request_deserializer=modal__proto_dot_api__pb2.SandboxStdinWriteRequest.FromString,
2551
2562
  response_serializer=modal__proto_dot_api__pb2.SandboxStdinWriteResponse.SerializeToString,
2552
2563
  ),
2564
+ 'SandboxTagsGet': grpc.unary_unary_rpc_method_handler(
2565
+ servicer.SandboxTagsGet,
2566
+ request_deserializer=modal__proto_dot_api__pb2.SandboxTagsGetRequest.FromString,
2567
+ response_serializer=modal__proto_dot_api__pb2.SandboxTagsGetResponse.SerializeToString,
2568
+ ),
2553
2569
  'SandboxTagsSet': grpc.unary_unary_rpc_method_handler(
2554
2570
  servicer.SandboxTagsSet,
2555
2571
  request_deserializer=modal__proto_dot_api__pb2.SandboxTagsSetRequest.FromString,
@@ -4929,6 +4945,23 @@ class ModalClient(object):
4929
4945
  options, channel_credentials,
4930
4946
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
4931
4947
 
4948
+ @staticmethod
4949
+ def SandboxTagsGet(request,
4950
+ target,
4951
+ options=(),
4952
+ channel_credentials=None,
4953
+ call_credentials=None,
4954
+ insecure=False,
4955
+ compression=None,
4956
+ wait_for_ready=None,
4957
+ timeout=None,
4958
+ metadata=None):
4959
+ return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxTagsGet',
4960
+ modal__proto_dot_api__pb2.SandboxTagsGetRequest.SerializeToString,
4961
+ modal__proto_dot_api__pb2.SandboxTagsGetResponse.FromString,
4962
+ options, channel_credentials,
4963
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
4964
+
4932
4965
  @staticmethod
4933
4966
  def SandboxTagsSet(request,
4934
4967
  target,
@@ -543,6 +543,10 @@ class ModalClientStub:
543
543
  modal_proto.api_pb2.SandboxStdinWriteRequest,
544
544
  modal_proto.api_pb2.SandboxStdinWriteResponse,
545
545
  ]
546
+ SandboxTagsGet: grpc.UnaryUnaryMultiCallable[
547
+ modal_proto.api_pb2.SandboxTagsGetRequest,
548
+ modal_proto.api_pb2.SandboxTagsGetResponse,
549
+ ]
546
550
  SandboxTagsSet: grpc.UnaryUnaryMultiCallable[
547
551
  modal_proto.api_pb2.SandboxTagsSetRequest,
548
552
  google.protobuf.empty_pb2.Empty,
@@ -1509,6 +1513,12 @@ class ModalClientServicer(metaclass=abc.ABCMeta):
1509
1513
  context: grpc.ServicerContext,
1510
1514
  ) -> modal_proto.api_pb2.SandboxStdinWriteResponse: ...
1511
1515
  @abc.abstractmethod
1516
+ def SandboxTagsGet(
1517
+ self,
1518
+ request: modal_proto.api_pb2.SandboxTagsGetRequest,
1519
+ context: grpc.ServicerContext,
1520
+ ) -> modal_proto.api_pb2.SandboxTagsGetResponse: ...
1521
+ @abc.abstractmethod
1512
1522
  def SandboxTagsSet(
1513
1523
  self,
1514
1524
  request: modal_proto.api_pb2.SandboxTagsSetRequest,
@@ -145,6 +145,7 @@ class ModalClientModal:
145
145
  self.SandboxSnapshotGet = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshotGet, client, server_url)
146
146
  self.SandboxSnapshotWait = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxSnapshotWait, client, server_url)
147
147
  self.SandboxStdinWrite = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxStdinWrite, client, server_url)
148
+ self.SandboxTagsGet = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxTagsGet, client, server_url)
148
149
  self.SandboxTagsSet = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxTagsSet, client, server_url)
149
150
  self.SandboxTerminate = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxTerminate, client, server_url)
150
151
  self.SandboxWait = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxWait, client, server_url)
modal_version/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # Copyright Modal Labs 2025
2
2
  """Supplies the current version of the modal client library."""
3
3
 
4
- __version__ = "1.1.5.dev28"
4
+ __version__ = "1.1.5.dev30"