mergetbapi 1.4.1__tar.gz → 1.4.2__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.4.1 → mergetbapi-1.4.2}/PKG-INFO +1 -1
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi/portal/v1/__init__.py +277 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi/xir/__init__.py +2 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi.egg-info/PKG-INFO +1 -1
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/LICENSE.md +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/README.md +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi/__init__.py +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi/google/__init__.py +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi/google/api/__init__.py +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi/grpc/__init__.py +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi/grpc/gateway/__init__.py +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/__init__.py +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/options/__init__.py +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi/portal/__init__.py +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi/reconcile/__init__.py +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi/validator/__init__.py +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi.egg-info/SOURCES.txt +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi.egg-info/dependency_links.txt +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi.egg-info/not-zip-safe +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi.egg-info/requires.txt +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/mergetbapi.egg-info/top_level.txt +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/setup.cfg +0 -0
- {mergetbapi-1.4.1 → mergetbapi-1.4.2}/setup.py +0 -0
|
@@ -144,6 +144,23 @@ class GetRevisionRequestEncoding(betterproto.Enum):
|
|
|
144
144
|
DOT = 2
|
|
145
145
|
|
|
146
146
|
|
|
147
|
+
class ActionReasonIdEntity(betterproto.Enum):
|
|
148
|
+
"""What can be acted on"""
|
|
149
|
+
|
|
150
|
+
UnknownEntity = 0
|
|
151
|
+
User = 1
|
|
152
|
+
Project = 2
|
|
153
|
+
Organization = 3
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
class ActionReasonIdAction(betterproto.Enum):
|
|
157
|
+
"""Supported actions"""
|
|
158
|
+
|
|
159
|
+
UnknownAction = 0
|
|
160
|
+
Activate = 1
|
|
161
|
+
Decline = 2
|
|
162
|
+
|
|
163
|
+
|
|
147
164
|
class ArtifactChecksumType(betterproto.Enum):
|
|
148
165
|
"""supported checksums, just for generated maps"""
|
|
149
166
|
|
|
@@ -569,6 +586,7 @@ class InitUserResponse(betterproto.Message):
|
|
|
569
586
|
@dataclass(eq=False, repr=False)
|
|
570
587
|
class ActivateUserRequest(betterproto.Message):
|
|
571
588
|
username: str = betterproto.string_field(1)
|
|
589
|
+
action_reason: str = betterproto.string_field(2)
|
|
572
590
|
|
|
573
591
|
|
|
574
592
|
@dataclass(eq=False, repr=False)
|
|
@@ -576,6 +594,17 @@ class ActivateUserResponse(betterproto.Message):
|
|
|
576
594
|
pass
|
|
577
595
|
|
|
578
596
|
|
|
597
|
+
@dataclass(eq=False, repr=False)
|
|
598
|
+
class DeclineUserRequest(betterproto.Message):
|
|
599
|
+
username: str = betterproto.string_field(1)
|
|
600
|
+
action_reason: str = betterproto.string_field(2)
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
@dataclass(eq=False, repr=False)
|
|
604
|
+
class DeclineUserResponse(betterproto.Message):
|
|
605
|
+
pass
|
|
606
|
+
|
|
607
|
+
|
|
579
608
|
@dataclass(eq=False, repr=False)
|
|
580
609
|
class FreezeUserRequest(betterproto.Message):
|
|
581
610
|
username: str = betterproto.string_field(1)
|
|
@@ -856,6 +885,7 @@ class UpdateProjectResponse(betterproto.Message):
|
|
|
856
885
|
@dataclass(eq=False, repr=False)
|
|
857
886
|
class ActivateProjectRequest(betterproto.Message):
|
|
858
887
|
project: str = betterproto.string_field(1)
|
|
888
|
+
action_reason: str = betterproto.string_field(2)
|
|
859
889
|
|
|
860
890
|
|
|
861
891
|
@dataclass(eq=False, repr=False)
|
|
@@ -863,6 +893,21 @@ class ActivateProjectResponse(betterproto.Message):
|
|
|
863
893
|
pass
|
|
864
894
|
|
|
865
895
|
|
|
896
|
+
@dataclass(eq=False, repr=False)
|
|
897
|
+
class DeclineProjectRequest(betterproto.Message):
|
|
898
|
+
"""
|
|
899
|
+
Decline .....................................................................
|
|
900
|
+
"""
|
|
901
|
+
|
|
902
|
+
project: str = betterproto.string_field(1)
|
|
903
|
+
action_reason: str = betterproto.string_field(2)
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
@dataclass(eq=False, repr=False)
|
|
907
|
+
class DeclineProjectResponse(betterproto.Message):
|
|
908
|
+
pass
|
|
909
|
+
|
|
910
|
+
|
|
866
911
|
@dataclass(eq=False, repr=False)
|
|
867
912
|
class FreezeProjectRequest(betterproto.Message):
|
|
868
913
|
project: str = betterproto.string_field(1)
|
|
@@ -1101,6 +1146,7 @@ class Organization(betterproto.Message):
|
|
|
1101
1146
|
@dataclass(eq=False, repr=False)
|
|
1102
1147
|
class ActivateOrganizationRequest(betterproto.Message):
|
|
1103
1148
|
organization: str = betterproto.string_field(1)
|
|
1149
|
+
action_reason: str = betterproto.string_field(2)
|
|
1104
1150
|
|
|
1105
1151
|
|
|
1106
1152
|
@dataclass(eq=False, repr=False)
|
|
@@ -1108,6 +1154,17 @@ class ActivateOrganizationResponse(betterproto.Message):
|
|
|
1108
1154
|
pass
|
|
1109
1155
|
|
|
1110
1156
|
|
|
1157
|
+
@dataclass(eq=False, repr=False)
|
|
1158
|
+
class DeclineOrganizationRequest(betterproto.Message):
|
|
1159
|
+
organization: str = betterproto.string_field(1)
|
|
1160
|
+
action_reason: str = betterproto.string_field(2)
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
@dataclass(eq=False, repr=False)
|
|
1164
|
+
class DeclineOrganizationResponse(betterproto.Message):
|
|
1165
|
+
pass
|
|
1166
|
+
|
|
1167
|
+
|
|
1111
1168
|
@dataclass(eq=False, repr=False)
|
|
1112
1169
|
class FreezeOrganizationRequest(betterproto.Message):
|
|
1113
1170
|
organization: str = betterproto.string_field(1)
|
|
@@ -1387,6 +1444,47 @@ class UpdateEntityTypeConfigurationsResponse(betterproto.Message):
|
|
|
1387
1444
|
pass
|
|
1388
1445
|
|
|
1389
1446
|
|
|
1447
|
+
@dataclass(eq=False, repr=False)
|
|
1448
|
+
class ActionReasonId(betterproto.Message):
|
|
1449
|
+
"""
|
|
1450
|
+
action reason CRUD - kind of awkward but it works.
|
|
1451
|
+
Could've just used strings for action and entity, but
|
|
1452
|
+
I like the type safety of being explicit.
|
|
1453
|
+
"""
|
|
1454
|
+
|
|
1455
|
+
entity: "ActionReasonIdEntity" = betterproto.enum_field(1)
|
|
1456
|
+
name: str = betterproto.string_field(2)
|
|
1457
|
+
action: "ActionReasonIdAction" = betterproto.enum_field(3)
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
@dataclass(eq=False, repr=False)
|
|
1461
|
+
class ActionReasonTemplate(betterproto.Message):
|
|
1462
|
+
id: "ActionReasonId" = betterproto.message_field(1)
|
|
1463
|
+
reason: str = betterproto.string_field(2)
|
|
1464
|
+
template: str = betterproto.string_field(3)
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
@dataclass(eq=False, repr=False)
|
|
1468
|
+
class ListActionReasonsRequest(betterproto.Message):
|
|
1469
|
+
id: "ActionReasonId" = betterproto.message_field(1)
|
|
1470
|
+
|
|
1471
|
+
|
|
1472
|
+
@dataclass(eq=False, repr=False)
|
|
1473
|
+
class ListActionReasonsResponse(betterproto.Message):
|
|
1474
|
+
templates: List["ActionReasonTemplate"] = betterproto.message_field(1)
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
@dataclass(eq=False, repr=False)
|
|
1478
|
+
class GetActionReasonRequest(betterproto.Message):
|
|
1479
|
+
id: "ActionReasonId" = betterproto.message_field(1)
|
|
1480
|
+
reason: str = betterproto.string_field(2)
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
@dataclass(eq=False, repr=False)
|
|
1484
|
+
class GetActionReasonResponse(betterproto.Message):
|
|
1485
|
+
template: "ActionReasonTemplate" = betterproto.message_field(1)
|
|
1486
|
+
|
|
1487
|
+
|
|
1390
1488
|
@dataclass(eq=False, repr=False)
|
|
1391
1489
|
class GetPolicyRequest(betterproto.Message):
|
|
1392
1490
|
pass
|
|
@@ -3502,6 +3600,23 @@ class WorkspaceStub(betterproto.ServiceStub):
|
|
|
3502
3600
|
metadata=metadata,
|
|
3503
3601
|
)
|
|
3504
3602
|
|
|
3603
|
+
async def decline_user(
|
|
3604
|
+
self,
|
|
3605
|
+
decline_user_request: "DeclineUserRequest",
|
|
3606
|
+
*,
|
|
3607
|
+
timeout: Optional[float] = None,
|
|
3608
|
+
deadline: Optional["Deadline"] = None,
|
|
3609
|
+
metadata: Optional["MetadataLike"] = None
|
|
3610
|
+
) -> "DeclineUserResponse":
|
|
3611
|
+
return await self._unary_unary(
|
|
3612
|
+
"/portal.v1.Workspace/DeclineUser",
|
|
3613
|
+
decline_user_request,
|
|
3614
|
+
DeclineUserResponse,
|
|
3615
|
+
timeout=timeout,
|
|
3616
|
+
deadline=deadline,
|
|
3617
|
+
metadata=metadata,
|
|
3618
|
+
)
|
|
3619
|
+
|
|
3505
3620
|
async def freeze_user(
|
|
3506
3621
|
self,
|
|
3507
3622
|
freeze_user_request: "FreezeUserRequest",
|
|
@@ -3791,6 +3906,23 @@ class WorkspaceStub(betterproto.ServiceStub):
|
|
|
3791
3906
|
metadata=metadata,
|
|
3792
3907
|
)
|
|
3793
3908
|
|
|
3909
|
+
async def decline_project(
|
|
3910
|
+
self,
|
|
3911
|
+
decline_project_request: "DeclineProjectRequest",
|
|
3912
|
+
*,
|
|
3913
|
+
timeout: Optional[float] = None,
|
|
3914
|
+
deadline: Optional["Deadline"] = None,
|
|
3915
|
+
metadata: Optional["MetadataLike"] = None
|
|
3916
|
+
) -> "DeclineProjectResponse":
|
|
3917
|
+
return await self._unary_unary(
|
|
3918
|
+
"/portal.v1.Workspace/DeclineProject",
|
|
3919
|
+
decline_project_request,
|
|
3920
|
+
DeclineProjectResponse,
|
|
3921
|
+
timeout=timeout,
|
|
3922
|
+
deadline=deadline,
|
|
3923
|
+
metadata=metadata,
|
|
3924
|
+
)
|
|
3925
|
+
|
|
3794
3926
|
async def freeze_project(
|
|
3795
3927
|
self,
|
|
3796
3928
|
freeze_project_request: "FreezeProjectRequest",
|
|
@@ -3910,6 +4042,23 @@ class WorkspaceStub(betterproto.ServiceStub):
|
|
|
3910
4042
|
metadata=metadata,
|
|
3911
4043
|
)
|
|
3912
4044
|
|
|
4045
|
+
async def decline_organization(
|
|
4046
|
+
self,
|
|
4047
|
+
decline_organization_request: "DeclineOrganizationRequest",
|
|
4048
|
+
*,
|
|
4049
|
+
timeout: Optional[float] = None,
|
|
4050
|
+
deadline: Optional["Deadline"] = None,
|
|
4051
|
+
metadata: Optional["MetadataLike"] = None
|
|
4052
|
+
) -> "DeclineOrganizationResponse":
|
|
4053
|
+
return await self._unary_unary(
|
|
4054
|
+
"/portal.v1.Workspace/DeclineOrganization",
|
|
4055
|
+
decline_organization_request,
|
|
4056
|
+
DeclineOrganizationResponse,
|
|
4057
|
+
timeout=timeout,
|
|
4058
|
+
deadline=deadline,
|
|
4059
|
+
metadata=metadata,
|
|
4060
|
+
)
|
|
4061
|
+
|
|
3913
4062
|
async def freeze_organization(
|
|
3914
4063
|
self,
|
|
3915
4064
|
freeze_organization_request: "FreezeOrganizationRequest",
|
|
@@ -4403,6 +4552,40 @@ class WorkspaceStub(betterproto.ServiceStub):
|
|
|
4403
4552
|
metadata=metadata,
|
|
4404
4553
|
)
|
|
4405
4554
|
|
|
4555
|
+
async def list_action_reasons(
|
|
4556
|
+
self,
|
|
4557
|
+
list_action_reasons_request: "ListActionReasonsRequest",
|
|
4558
|
+
*,
|
|
4559
|
+
timeout: Optional[float] = None,
|
|
4560
|
+
deadline: Optional["Deadline"] = None,
|
|
4561
|
+
metadata: Optional["MetadataLike"] = None
|
|
4562
|
+
) -> "ListActionReasonsResponse":
|
|
4563
|
+
return await self._unary_unary(
|
|
4564
|
+
"/portal.v1.Workspace/ListActionReasons",
|
|
4565
|
+
list_action_reasons_request,
|
|
4566
|
+
ListActionReasonsResponse,
|
|
4567
|
+
timeout=timeout,
|
|
4568
|
+
deadline=deadline,
|
|
4569
|
+
metadata=metadata,
|
|
4570
|
+
)
|
|
4571
|
+
|
|
4572
|
+
async def get_action_reason(
|
|
4573
|
+
self,
|
|
4574
|
+
get_action_reason_request: "GetActionReasonRequest",
|
|
4575
|
+
*,
|
|
4576
|
+
timeout: Optional[float] = None,
|
|
4577
|
+
deadline: Optional["Deadline"] = None,
|
|
4578
|
+
metadata: Optional["MetadataLike"] = None
|
|
4579
|
+
) -> "GetActionReasonResponse":
|
|
4580
|
+
return await self._unary_unary(
|
|
4581
|
+
"/portal.v1.Workspace/GetActionReason",
|
|
4582
|
+
get_action_reason_request,
|
|
4583
|
+
GetActionReasonResponse,
|
|
4584
|
+
timeout=timeout,
|
|
4585
|
+
deadline=deadline,
|
|
4586
|
+
metadata=metadata,
|
|
4587
|
+
)
|
|
4588
|
+
|
|
4406
4589
|
async def get_images(
|
|
4407
4590
|
self,
|
|
4408
4591
|
get_images_request: "GetImagesRequest",
|
|
@@ -6070,6 +6253,11 @@ class WorkspaceBase(ServiceBase):
|
|
|
6070
6253
|
) -> "ActivateUserResponse":
|
|
6071
6254
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6072
6255
|
|
|
6256
|
+
async def decline_user(
|
|
6257
|
+
self, decline_user_request: "DeclineUserRequest"
|
|
6258
|
+
) -> "DeclineUserResponse":
|
|
6259
|
+
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6260
|
+
|
|
6073
6261
|
async def freeze_user(
|
|
6074
6262
|
self, freeze_user_request: "FreezeUserRequest"
|
|
6075
6263
|
) -> "FreezeUserResponse":
|
|
@@ -6151,6 +6339,11 @@ class WorkspaceBase(ServiceBase):
|
|
|
6151
6339
|
) -> "ActivateProjectResponse":
|
|
6152
6340
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6153
6341
|
|
|
6342
|
+
async def decline_project(
|
|
6343
|
+
self, decline_project_request: "DeclineProjectRequest"
|
|
6344
|
+
) -> "DeclineProjectResponse":
|
|
6345
|
+
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6346
|
+
|
|
6154
6347
|
async def freeze_project(
|
|
6155
6348
|
self, freeze_project_request: "FreezeProjectRequest"
|
|
6156
6349
|
) -> "FreezeProjectResponse":
|
|
@@ -6186,6 +6379,11 @@ class WorkspaceBase(ServiceBase):
|
|
|
6186
6379
|
) -> "ActivateOrganizationResponse":
|
|
6187
6380
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6188
6381
|
|
|
6382
|
+
async def decline_organization(
|
|
6383
|
+
self, decline_organization_request: "DeclineOrganizationRequest"
|
|
6384
|
+
) -> "DeclineOrganizationResponse":
|
|
6385
|
+
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6386
|
+
|
|
6189
6387
|
async def freeze_organization(
|
|
6190
6388
|
self, freeze_organization_request: "FreezeOrganizationRequest"
|
|
6191
6389
|
) -> "FreezeOrganizationResponse":
|
|
@@ -6335,6 +6533,16 @@ class WorkspaceBase(ServiceBase):
|
|
|
6335
6533
|
) -> "UpdateEntityTypeConfigurationsResponse":
|
|
6336
6534
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6337
6535
|
|
|
6536
|
+
async def list_action_reasons(
|
|
6537
|
+
self, list_action_reasons_request: "ListActionReasonsRequest"
|
|
6538
|
+
) -> "ListActionReasonsResponse":
|
|
6539
|
+
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6540
|
+
|
|
6541
|
+
async def get_action_reason(
|
|
6542
|
+
self, get_action_reason_request: "GetActionReasonRequest"
|
|
6543
|
+
) -> "GetActionReasonResponse":
|
|
6544
|
+
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6545
|
+
|
|
6338
6546
|
async def get_images(
|
|
6339
6547
|
self, get_images_request: "GetImagesRequest"
|
|
6340
6548
|
) -> "GetImagesResponse":
|
|
@@ -6370,6 +6578,13 @@ class WorkspaceBase(ServiceBase):
|
|
|
6370
6578
|
response = await self.activate_user(request)
|
|
6371
6579
|
await stream.send_message(response)
|
|
6372
6580
|
|
|
6581
|
+
async def __rpc_decline_user(
|
|
6582
|
+
self, stream: "grpclib.server.Stream[DeclineUserRequest, DeclineUserResponse]"
|
|
6583
|
+
) -> None:
|
|
6584
|
+
request = await stream.recv_message()
|
|
6585
|
+
response = await self.decline_user(request)
|
|
6586
|
+
await stream.send_message(response)
|
|
6587
|
+
|
|
6373
6588
|
async def __rpc_freeze_user(
|
|
6374
6589
|
self, stream: "grpclib.server.Stream[FreezeUserRequest, FreezeUserResponse]"
|
|
6375
6590
|
) -> None:
|
|
@@ -6497,6 +6712,14 @@ class WorkspaceBase(ServiceBase):
|
|
|
6497
6712
|
response = await self.activate_project(request)
|
|
6498
6713
|
await stream.send_message(response)
|
|
6499
6714
|
|
|
6715
|
+
async def __rpc_decline_project(
|
|
6716
|
+
self,
|
|
6717
|
+
stream: "grpclib.server.Stream[DeclineProjectRequest, DeclineProjectResponse]",
|
|
6718
|
+
) -> None:
|
|
6719
|
+
request = await stream.recv_message()
|
|
6720
|
+
response = await self.decline_project(request)
|
|
6721
|
+
await stream.send_message(response)
|
|
6722
|
+
|
|
6500
6723
|
async def __rpc_freeze_project(
|
|
6501
6724
|
self,
|
|
6502
6725
|
stream: "grpclib.server.Stream[FreezeProjectRequest, FreezeProjectResponse]",
|
|
@@ -6553,6 +6776,14 @@ class WorkspaceBase(ServiceBase):
|
|
|
6553
6776
|
response = await self.activate_organization(request)
|
|
6554
6777
|
await stream.send_message(response)
|
|
6555
6778
|
|
|
6779
|
+
async def __rpc_decline_organization(
|
|
6780
|
+
self,
|
|
6781
|
+
stream: "grpclib.server.Stream[DeclineOrganizationRequest, DeclineOrganizationResponse]",
|
|
6782
|
+
) -> None:
|
|
6783
|
+
request = await stream.recv_message()
|
|
6784
|
+
response = await self.decline_organization(request)
|
|
6785
|
+
await stream.send_message(response)
|
|
6786
|
+
|
|
6556
6787
|
async def __rpc_freeze_organization(
|
|
6557
6788
|
self,
|
|
6558
6789
|
stream: "grpclib.server.Stream[FreezeOrganizationRequest, FreezeOrganizationResponse]",
|
|
@@ -6783,6 +7014,22 @@ class WorkspaceBase(ServiceBase):
|
|
|
6783
7014
|
response = await self.update_entity_type_configurations(request)
|
|
6784
7015
|
await stream.send_message(response)
|
|
6785
7016
|
|
|
7017
|
+
async def __rpc_list_action_reasons(
|
|
7018
|
+
self,
|
|
7019
|
+
stream: "grpclib.server.Stream[ListActionReasonsRequest, ListActionReasonsResponse]",
|
|
7020
|
+
) -> None:
|
|
7021
|
+
request = await stream.recv_message()
|
|
7022
|
+
response = await self.list_action_reasons(request)
|
|
7023
|
+
await stream.send_message(response)
|
|
7024
|
+
|
|
7025
|
+
async def __rpc_get_action_reason(
|
|
7026
|
+
self,
|
|
7027
|
+
stream: "grpclib.server.Stream[GetActionReasonRequest, GetActionReasonResponse]",
|
|
7028
|
+
) -> None:
|
|
7029
|
+
request = await stream.recv_message()
|
|
7030
|
+
response = await self.get_action_reason(request)
|
|
7031
|
+
await stream.send_message(response)
|
|
7032
|
+
|
|
6786
7033
|
async def __rpc_get_images(
|
|
6787
7034
|
self, stream: "grpclib.server.Stream[GetImagesRequest, GetImagesResponse]"
|
|
6788
7035
|
) -> None:
|
|
@@ -6833,6 +7080,12 @@ class WorkspaceBase(ServiceBase):
|
|
|
6833
7080
|
ActivateUserRequest,
|
|
6834
7081
|
ActivateUserResponse,
|
|
6835
7082
|
),
|
|
7083
|
+
"/portal.v1.Workspace/DeclineUser": grpclib.const.Handler(
|
|
7084
|
+
self.__rpc_decline_user,
|
|
7085
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
7086
|
+
DeclineUserRequest,
|
|
7087
|
+
DeclineUserResponse,
|
|
7088
|
+
),
|
|
6836
7089
|
"/portal.v1.Workspace/FreezeUser": grpclib.const.Handler(
|
|
6837
7090
|
self.__rpc_freeze_user,
|
|
6838
7091
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
@@ -6935,6 +7188,12 @@ class WorkspaceBase(ServiceBase):
|
|
|
6935
7188
|
ActivateProjectRequest,
|
|
6936
7189
|
ActivateProjectResponse,
|
|
6937
7190
|
),
|
|
7191
|
+
"/portal.v1.Workspace/DeclineProject": grpclib.const.Handler(
|
|
7192
|
+
self.__rpc_decline_project,
|
|
7193
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
7194
|
+
DeclineProjectRequest,
|
|
7195
|
+
DeclineProjectResponse,
|
|
7196
|
+
),
|
|
6938
7197
|
"/portal.v1.Workspace/FreezeProject": grpclib.const.Handler(
|
|
6939
7198
|
self.__rpc_freeze_project,
|
|
6940
7199
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
@@ -6977,6 +7236,12 @@ class WorkspaceBase(ServiceBase):
|
|
|
6977
7236
|
ActivateOrganizationRequest,
|
|
6978
7237
|
ActivateOrganizationResponse,
|
|
6979
7238
|
),
|
|
7239
|
+
"/portal.v1.Workspace/DeclineOrganization": grpclib.const.Handler(
|
|
7240
|
+
self.__rpc_decline_organization,
|
|
7241
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
7242
|
+
DeclineOrganizationRequest,
|
|
7243
|
+
DeclineOrganizationResponse,
|
|
7244
|
+
),
|
|
6980
7245
|
"/portal.v1.Workspace/FreezeOrganization": grpclib.const.Handler(
|
|
6981
7246
|
self.__rpc_freeze_organization,
|
|
6982
7247
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
@@ -7151,6 +7416,18 @@ class WorkspaceBase(ServiceBase):
|
|
|
7151
7416
|
UpdateEntityTypeConfigurationsRequest,
|
|
7152
7417
|
UpdateEntityTypeConfigurationsResponse,
|
|
7153
7418
|
),
|
|
7419
|
+
"/portal.v1.Workspace/ListActionReasons": grpclib.const.Handler(
|
|
7420
|
+
self.__rpc_list_action_reasons,
|
|
7421
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
7422
|
+
ListActionReasonsRequest,
|
|
7423
|
+
ListActionReasonsResponse,
|
|
7424
|
+
),
|
|
7425
|
+
"/portal.v1.Workspace/GetActionReason": grpclib.const.Handler(
|
|
7426
|
+
self.__rpc_get_action_reason,
|
|
7427
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
7428
|
+
GetActionReasonRequest,
|
|
7429
|
+
GetActionReasonResponse,
|
|
7430
|
+
),
|
|
7154
7431
|
"/portal.v1.Workspace/GetImages": grpclib.const.Handler(
|
|
7155
7432
|
self.__rpc_get_images,
|
|
7156
7433
|
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.4.1 → mergetbapi-1.4.2}/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
|