mergetbapi 1.3.16__tar.gz → 1.3.18__tar.gz
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.
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/PKG-INFO +1 -1
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/portal/v1/__init__.py +43 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi.egg-info/PKG-INFO +1 -1
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/LICENSE.md +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/README.md +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/__init__.py +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/google/__init__.py +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/google/api/__init__.py +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/grpc/__init__.py +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/grpc/gateway/__init__.py +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/__init__.py +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/options/__init__.py +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/portal/__init__.py +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/reconcile/__init__.py +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/validator/__init__.py +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/xir/__init__.py +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi.egg-info/SOURCES.txt +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi.egg-info/dependency_links.txt +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi.egg-info/not-zip-safe +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi.egg-info/requires.txt +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi.egg-info/top_level.txt +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/setup.cfg +0 -0
- {mergetbapi-1.3.16 → mergetbapi-1.3.18}/setup.py +0 -0
|
@@ -1687,6 +1687,16 @@ class UnregisterResponse(betterproto.Message):
|
|
|
1687
1687
|
pass
|
|
1688
1688
|
|
|
1689
1689
|
|
|
1690
|
+
@dataclass(eq=False, repr=False)
|
|
1691
|
+
class WhoamiRequest(betterproto.Message):
|
|
1692
|
+
pass
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
@dataclass(eq=False, repr=False)
|
|
1696
|
+
class WhoamiResponse(betterproto.Message):
|
|
1697
|
+
whoami: str = betterproto.string_field(1)
|
|
1698
|
+
|
|
1699
|
+
|
|
1690
1700
|
@dataclass(eq=False, repr=False)
|
|
1691
1701
|
class CountSet(betterproto.Message):
|
|
1692
1702
|
name: str = betterproto.string_field(1)
|
|
@@ -2836,6 +2846,23 @@ class WorkspaceStub(betterproto.ServiceStub):
|
|
|
2836
2846
|
metadata=metadata,
|
|
2837
2847
|
)
|
|
2838
2848
|
|
|
2849
|
+
async def whoami(
|
|
2850
|
+
self,
|
|
2851
|
+
whoami_request: "WhoamiRequest",
|
|
2852
|
+
*,
|
|
2853
|
+
timeout: Optional[float] = None,
|
|
2854
|
+
deadline: Optional["Deadline"] = None,
|
|
2855
|
+
metadata: Optional["MetadataLike"] = None
|
|
2856
|
+
) -> "WhoamiResponse":
|
|
2857
|
+
return await self._unary_unary(
|
|
2858
|
+
"/portal.v1.Workspace/Whoami",
|
|
2859
|
+
whoami_request,
|
|
2860
|
+
WhoamiResponse,
|
|
2861
|
+
timeout=timeout,
|
|
2862
|
+
deadline=deadline,
|
|
2863
|
+
metadata=metadata,
|
|
2864
|
+
)
|
|
2865
|
+
|
|
2839
2866
|
async def get_user_public_keys(
|
|
2840
2867
|
self,
|
|
2841
2868
|
get_user_public_keys_request: "GetUserPublicKeysRequest",
|
|
@@ -4762,6 +4789,9 @@ class WorkspaceBase(ServiceBase):
|
|
|
4762
4789
|
) -> "DeleteUserResponse":
|
|
4763
4790
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
4764
4791
|
|
|
4792
|
+
async def whoami(self, whoami_request: "WhoamiRequest") -> "WhoamiResponse":
|
|
4793
|
+
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
4794
|
+
|
|
4765
4795
|
async def get_user_public_keys(
|
|
4766
4796
|
self, get_user_public_keys_request: "GetUserPublicKeysRequest"
|
|
4767
4797
|
) -> "GetUserPublicKeysResponse":
|
|
@@ -5038,6 +5068,13 @@ class WorkspaceBase(ServiceBase):
|
|
|
5038
5068
|
response = await self.delete_user(request)
|
|
5039
5069
|
await stream.send_message(response)
|
|
5040
5070
|
|
|
5071
|
+
async def __rpc_whoami(
|
|
5072
|
+
self, stream: "grpclib.server.Stream[WhoamiRequest, WhoamiResponse]"
|
|
5073
|
+
) -> None:
|
|
5074
|
+
request = await stream.recv_message()
|
|
5075
|
+
response = await self.whoami(request)
|
|
5076
|
+
await stream.send_message(response)
|
|
5077
|
+
|
|
5041
5078
|
async def __rpc_get_user_public_keys(
|
|
5042
5079
|
self,
|
|
5043
5080
|
stream: "grpclib.server.Stream[GetUserPublicKeysRequest, GetUserPublicKeysResponse]",
|
|
@@ -5437,6 +5474,12 @@ class WorkspaceBase(ServiceBase):
|
|
|
5437
5474
|
DeleteUserRequest,
|
|
5438
5475
|
DeleteUserResponse,
|
|
5439
5476
|
),
|
|
5477
|
+
"/portal.v1.Workspace/Whoami": grpclib.const.Handler(
|
|
5478
|
+
self.__rpc_whoami,
|
|
5479
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
5480
|
+
WhoamiRequest,
|
|
5481
|
+
WhoamiResponse,
|
|
5482
|
+
),
|
|
5440
5483
|
"/portal.v1.Workspace/GetUserPublicKeys": grpclib.const.Handler(
|
|
5441
5484
|
self.__rpc_get_user_public_keys,
|
|
5442
5485
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mergetbapi-1.3.16 → mergetbapi-1.3.18}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|