modal 1.2.1.dev10__py3-none-any.whl → 1.2.1.dev11__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/client.pyi +2 -2
- {modal-1.2.1.dev10.dist-info → modal-1.2.1.dev11.dist-info}/METADATA +1 -1
- {modal-1.2.1.dev10.dist-info → modal-1.2.1.dev11.dist-info}/RECORD +15 -15
- modal_proto/api.proto +0 -15
- modal_proto/api_grpc.py +0 -16
- modal_proto/api_pb2.py +331 -351
- modal_proto/api_pb2.pyi +0 -38
- modal_proto/api_pb2_grpc.py +0 -33
- modal_proto/api_pb2_grpc.pyi +0 -10
- modal_proto/modal_api_grpc.py +0 -1
- modal_version/__init__.py +1 -1
- {modal-1.2.1.dev10.dist-info → modal-1.2.1.dev11.dist-info}/WHEEL +0 -0
- {modal-1.2.1.dev10.dist-info → modal-1.2.1.dev11.dist-info}/entry_points.txt +0 -0
- {modal-1.2.1.dev10.dist-info → modal-1.2.1.dev11.dist-info}/licenses/LICENSE +0 -0
- {modal-1.2.1.dev10.dist-info → modal-1.2.1.dev11.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
|
@@ -8917,44 +8917,6 @@ class SandboxCreateResponse(google.protobuf.message.Message):
|
|
|
8917
8917
|
|
|
8918
8918
|
global___SandboxCreateResponse = SandboxCreateResponse
|
|
8919
8919
|
|
|
8920
|
-
class SandboxGetCommandRouterAccessRequest(google.protobuf.message.Message):
|
|
8921
|
-
"""Used to get a JWT and URL for direct access to a sandbox router server
|
|
8922
|
-
running on the modal-worker, so the client can issue exec commands (and other
|
|
8923
|
-
operations as they become available) directly to the worker.
|
|
8924
|
-
DEPRECATED: Use TaskGetCommandRouterAccessRequest instead.
|
|
8925
|
-
TODO(saltzm): Remove this.
|
|
8926
|
-
"""
|
|
8927
|
-
|
|
8928
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8929
|
-
|
|
8930
|
-
SANDBOX_ID_FIELD_NUMBER: builtins.int
|
|
8931
|
-
sandbox_id: builtins.str
|
|
8932
|
-
def __init__(
|
|
8933
|
-
self,
|
|
8934
|
-
*,
|
|
8935
|
-
sandbox_id: builtins.str = ...,
|
|
8936
|
-
) -> None: ...
|
|
8937
|
-
def ClearField(self, field_name: typing_extensions.Literal["sandbox_id", b"sandbox_id"]) -> None: ...
|
|
8938
|
-
|
|
8939
|
-
global___SandboxGetCommandRouterAccessRequest = SandboxGetCommandRouterAccessRequest
|
|
8940
|
-
|
|
8941
|
-
class SandboxGetCommandRouterAccessResponse(google.protobuf.message.Message):
|
|
8942
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8943
|
-
|
|
8944
|
-
JWT_FIELD_NUMBER: builtins.int
|
|
8945
|
-
URL_FIELD_NUMBER: builtins.int
|
|
8946
|
-
jwt: builtins.str
|
|
8947
|
-
url: builtins.str
|
|
8948
|
-
def __init__(
|
|
8949
|
-
self,
|
|
8950
|
-
*,
|
|
8951
|
-
jwt: builtins.str = ...,
|
|
8952
|
-
url: builtins.str = ...,
|
|
8953
|
-
) -> None: ...
|
|
8954
|
-
def ClearField(self, field_name: typing_extensions.Literal["jwt", b"jwt", "url", b"url"]) -> None: ...
|
|
8955
|
-
|
|
8956
|
-
global___SandboxGetCommandRouterAccessResponse = SandboxGetCommandRouterAccessResponse
|
|
8957
|
-
|
|
8958
8920
|
class SandboxGetFromNameRequest(google.protobuf.message.Message):
|
|
8959
8921
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8960
8922
|
|
modal_proto/api_pb2_grpc.py
CHANGED
|
@@ -595,11 +595,6 @@ class ModalClientStub(object):
|
|
|
595
595
|
request_serializer=modal__proto_dot_api__pb2.SandboxCreateConnectTokenRequest.SerializeToString,
|
|
596
596
|
response_deserializer=modal__proto_dot_api__pb2.SandboxCreateConnectTokenResponse.FromString,
|
|
597
597
|
)
|
|
598
|
-
self.SandboxGetCommandRouterAccess = channel.unary_unary(
|
|
599
|
-
'/modal.client.ModalClient/SandboxGetCommandRouterAccess',
|
|
600
|
-
request_serializer=modal__proto_dot_api__pb2.SandboxGetCommandRouterAccessRequest.SerializeToString,
|
|
601
|
-
response_deserializer=modal__proto_dot_api__pb2.SandboxGetCommandRouterAccessResponse.FromString,
|
|
602
|
-
)
|
|
603
598
|
self.SandboxGetFromName = channel.unary_unary(
|
|
604
599
|
'/modal.client.ModalClient/SandboxGetFromName',
|
|
605
600
|
request_serializer=modal__proto_dot_api__pb2.SandboxGetFromNameRequest.SerializeToString,
|
|
@@ -1620,12 +1615,6 @@ class ModalClientServicer(object):
|
|
|
1620
1615
|
context.set_details('Method not implemented!')
|
|
1621
1616
|
raise NotImplementedError('Method not implemented!')
|
|
1622
1617
|
|
|
1623
|
-
def SandboxGetCommandRouterAccess(self, request, context):
|
|
1624
|
-
"""Missing associated documentation comment in .proto file."""
|
|
1625
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
1626
|
-
context.set_details('Method not implemented!')
|
|
1627
|
-
raise NotImplementedError('Method not implemented!')
|
|
1628
|
-
|
|
1629
1618
|
def SandboxGetFromName(self, request, context):
|
|
1630
1619
|
"""Missing associated documentation comment in .proto file."""
|
|
1631
1620
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -2572,11 +2561,6 @@ def add_ModalClientServicer_to_server(servicer, server):
|
|
|
2572
2561
|
request_deserializer=modal__proto_dot_api__pb2.SandboxCreateConnectTokenRequest.FromString,
|
|
2573
2562
|
response_serializer=modal__proto_dot_api__pb2.SandboxCreateConnectTokenResponse.SerializeToString,
|
|
2574
2563
|
),
|
|
2575
|
-
'SandboxGetCommandRouterAccess': grpc.unary_unary_rpc_method_handler(
|
|
2576
|
-
servicer.SandboxGetCommandRouterAccess,
|
|
2577
|
-
request_deserializer=modal__proto_dot_api__pb2.SandboxGetCommandRouterAccessRequest.FromString,
|
|
2578
|
-
response_serializer=modal__proto_dot_api__pb2.SandboxGetCommandRouterAccessResponse.SerializeToString,
|
|
2579
|
-
),
|
|
2580
2564
|
'SandboxGetFromName': grpc.unary_unary_rpc_method_handler(
|
|
2581
2565
|
servicer.SandboxGetFromName,
|
|
2582
2566
|
request_deserializer=modal__proto_dot_api__pb2.SandboxGetFromNameRequest.FromString,
|
|
@@ -4854,23 +4838,6 @@ class ModalClient(object):
|
|
|
4854
4838
|
options, channel_credentials,
|
|
4855
4839
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
4856
4840
|
|
|
4857
|
-
@staticmethod
|
|
4858
|
-
def SandboxGetCommandRouterAccess(request,
|
|
4859
|
-
target,
|
|
4860
|
-
options=(),
|
|
4861
|
-
channel_credentials=None,
|
|
4862
|
-
call_credentials=None,
|
|
4863
|
-
insecure=False,
|
|
4864
|
-
compression=None,
|
|
4865
|
-
wait_for_ready=None,
|
|
4866
|
-
timeout=None,
|
|
4867
|
-
metadata=None):
|
|
4868
|
-
return grpc.experimental.unary_unary(request, target, '/modal.client.ModalClient/SandboxGetCommandRouterAccess',
|
|
4869
|
-
modal__proto_dot_api__pb2.SandboxGetCommandRouterAccessRequest.SerializeToString,
|
|
4870
|
-
modal__proto_dot_api__pb2.SandboxGetCommandRouterAccessResponse.FromString,
|
|
4871
|
-
options, channel_credentials,
|
|
4872
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
4873
|
-
|
|
4874
4841
|
@staticmethod
|
|
4875
4842
|
def SandboxGetFromName(request,
|
|
4876
4843
|
target,
|
modal_proto/api_pb2_grpc.pyi
CHANGED
|
@@ -498,10 +498,6 @@ class ModalClientStub:
|
|
|
498
498
|
modal_proto.api_pb2.SandboxCreateConnectTokenRequest,
|
|
499
499
|
modal_proto.api_pb2.SandboxCreateConnectTokenResponse,
|
|
500
500
|
]
|
|
501
|
-
SandboxGetCommandRouterAccess: grpc.UnaryUnaryMultiCallable[
|
|
502
|
-
modal_proto.api_pb2.SandboxGetCommandRouterAccessRequest,
|
|
503
|
-
modal_proto.api_pb2.SandboxGetCommandRouterAccessResponse,
|
|
504
|
-
]
|
|
505
501
|
SandboxGetFromName: grpc.UnaryUnaryMultiCallable[
|
|
506
502
|
modal_proto.api_pb2.SandboxGetFromNameRequest,
|
|
507
503
|
modal_proto.api_pb2.SandboxGetFromNameResponse,
|
|
@@ -1470,12 +1466,6 @@ class ModalClientServicer(metaclass=abc.ABCMeta):
|
|
|
1470
1466
|
context: grpc.ServicerContext,
|
|
1471
1467
|
) -> modal_proto.api_pb2.SandboxCreateConnectTokenResponse: ...
|
|
1472
1468
|
@abc.abstractmethod
|
|
1473
|
-
def SandboxGetCommandRouterAccess(
|
|
1474
|
-
self,
|
|
1475
|
-
request: modal_proto.api_pb2.SandboxGetCommandRouterAccessRequest,
|
|
1476
|
-
context: grpc.ServicerContext,
|
|
1477
|
-
) -> modal_proto.api_pb2.SandboxGetCommandRouterAccessResponse: ...
|
|
1478
|
-
@abc.abstractmethod
|
|
1479
1469
|
def SandboxGetFromName(
|
|
1480
1470
|
self,
|
|
1481
1471
|
request: modal_proto.api_pb2.SandboxGetFromNameRequest,
|
modal_proto/modal_api_grpc.py
CHANGED
|
@@ -134,7 +134,6 @@ class ModalClientModal:
|
|
|
134
134
|
self.QueuePut = modal.client.UnaryUnaryWrapper(grpclib_stub.QueuePut, client, server_url)
|
|
135
135
|
self.SandboxCreate = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxCreate, client, server_url)
|
|
136
136
|
self.SandboxCreateConnectToken = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxCreateConnectToken, client, server_url)
|
|
137
|
-
self.SandboxGetCommandRouterAccess = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxGetCommandRouterAccess, client, server_url)
|
|
138
137
|
self.SandboxGetFromName = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxGetFromName, client, server_url)
|
|
139
138
|
self.SandboxGetLogs = modal.client.UnaryStreamWrapper(grpclib_stub.SandboxGetLogs, client, server_url)
|
|
140
139
|
self.SandboxGetResourceUsage = modal.client.UnaryUnaryWrapper(grpclib_stub.SandboxGetResourceUsage, client, server_url)
|
modal_version/__init__.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|