corvic-engine 0.3.0rc56__cp38-abi3-win_amd64.whl → 0.3.0rc58__cp38-abi3-win_amd64.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.
Files changed (30) hide show
  1. corvic/engine/_native.pyd +0 -0
  2. corvic/model/_completion_model.py +9 -0
  3. corvic/model/_proto_orm_convert.py +2 -0
  4. corvic/model/_source.py +8 -0
  5. corvic/model/_space.py +11 -4
  6. corvic/op_graph/_schema.py +2 -4
  7. corvic/op_graph/_transformations.py +3 -3
  8. corvic/op_graph/ops.py +30 -12
  9. corvic/orm/__init__.py +1 -0
  10. corvic/orm/ids.py +6 -1
  11. corvic/system/in_memory_executor.py +42 -12
  12. corvic/table/table.py +9 -3
  13. {corvic_engine-0.3.0rc56.dist-info → corvic_engine-0.3.0rc58.dist-info}/METADATA +1 -1
  14. {corvic_engine-0.3.0rc56.dist-info → corvic_engine-0.3.0rc58.dist-info}/RECORD +18 -30
  15. corvic_generated/model/v1alpha/models_pb2.py +2 -2
  16. corvic_generated/model/v1alpha/models_pb2.pyi +6 -4
  17. corvic_generated/config/__init__.py +0 -0
  18. corvic_generated/config/v1/__init__.py +0 -0
  19. corvic_generated/config/v1/settings_pb2.py +0 -128
  20. corvic_generated/config/v1/settings_pb2.pyi +0 -389
  21. corvic_generated/config/v1/settings_pb2_grpc.py +0 -4
  22. corvic_generated/config/v1/settings_pb2_grpc.pyi +0 -17
  23. corvic_generated/platform/__init__.py +0 -0
  24. corvic_generated/platform/v1/__init__.py +0 -0
  25. corvic_generated/platform/v1/platform_pb2.py +0 -101
  26. corvic_generated/platform/v1/platform_pb2.pyi +0 -147
  27. corvic_generated/platform/v1/platform_pb2_grpc.py +0 -330
  28. corvic_generated/platform/v1/platform_pb2_grpc.pyi +0 -153
  29. {corvic_engine-0.3.0rc56.dist-info → corvic_engine-0.3.0rc58.dist-info}/WHEEL +0 -0
  30. {corvic_engine-0.3.0rc56.dist-info → corvic_engine-0.3.0rc58.dist-info}/licenses/LICENSE +0 -0
@@ -1,101 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: corvic/platform/v1/platform.proto
4
- # Protobuf Python Version: 4.25.3
5
- """Generated protocol buffer code."""
6
- from google.protobuf import descriptor as _descriptor
7
- from google.protobuf import descriptor_pool as _descriptor_pool
8
- from google.protobuf import symbol_database as _symbol_database
9
- from google.protobuf.internal import builder as _builder
10
- # @@protoc_insertion_point(imports)
11
-
12
- _sym_db = _symbol_database.Default()
13
-
14
-
15
- from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
16
- from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
17
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
18
-
19
-
20
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!corvic/platform/v1/platform.proto\x12\x12\x63orvic.platform.v1\x1a\x1b\x62uf/validate/validate.proto\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8c\x02\n\x03Org\x12\x1b\n\x04name\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x04name\x12p\n\x02id\x18\x02 \x01(\tB`\xbaH]\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x02id\x12\x39\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12;\n\x0bmodified_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nmodifiedAt\"\xc8\x01\n\x04User\x12p\n\x02id\x18\x01 \x01(\tB`\xbaH]\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x02id\x12\"\n\x08org_name\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x07orgName\x12\x14\n\x05\x65mail\x18\x03 \x01(\tR\x05\x65mail\x12\x14\n\x05roles\x18\x04 \x03(\tR\x05roles\"/\n\x10\x43reateOrgRequest\x12\x1b\n\x04name\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x04name\">\n\x11\x43reateOrgResponse\x12)\n\x03org\x18\x01 \x01(\x0b\x32\x17.corvic.platform.v1.OrgR\x03org\"#\n\rGetOrgRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\";\n\x0eGetOrgResponse\x12)\n\x03org\x18\x01 \x01(\x0b\x32\x17.corvic.platform.v1.OrgR\x03org\"\x11\n\x0fListOrgsRequest\"?\n\x10ListOrgsResponse\x12+\n\x04orgs\x18\x01 \x03(\x0b\x32\x17.corvic.platform.v1.OrgR\x04orgs\"9\n\x13ListOrgUsersRequest\x12\"\n\x08org_name\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x07orgName\"F\n\x14ListOrgUsersResponse\x12.\n\x05users\x18\x01 \x03(\x0b\x32\x18.corvic.platform.v1.UserR\x05users\"}\n\x11\x41\x64\x64OrgUserRequest\x12\x14\n\x05\x65mail\x18\x01 \x01(\tR\x05\x65mail\x12\"\n\x08org_name\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x07orgName\x12.\n\x05roles\x18\x03 \x03(\x0e\x32\x18.corvic.platform.v1.RoleR\x05roles\"B\n\x12\x41\x64\x64OrgUserResponse\x12,\n\x04user\x18\x01 \x01(\x0b\x32\x18.corvic.platform.v1.UserR\x04user\"\x85\x01\n\x11GetOrgUserRequest\x12p\n\x02id\x18\x01 \x01(\tB`\xbaH]\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x02id\"B\n\x12GetOrgUserResponse\x12,\n\x04user\x18\x01 \x01(\x0b\x32\x18.corvic.platform.v1.UserR\x04user\"\x8c\x01\n\x18\x44\x65\x61\x63tivateOrgUserRequest\x12p\n\x02id\x18\x01 \x01(\tB`\xbaH]\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x02id\"\x1b\n\x19\x44\x65\x61\x63tivateOrgUserResponse\".\n\x0fPurgeOrgRequest\x12\x1b\n\x04name\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x04name\"\x12\n\x10PurgeOrgResponse\"B\n\x1c\x44\x65\x61\x63tivateAllOrgUsersRequest\x12\"\n\x08org_name\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x07orgName\"\x1f\n\x1d\x44\x65\x61\x63tivateAllOrgUsersResponse*C\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x12\n\x0eROLE_ORG_ADMIN\x10\x01\x12\x11\n\rROLE_ORG_USER\x10\x02\x32\x90\x07\n\nOrgService\x12T\n\x06GetOrg\x12!.corvic.platform.v1.GetOrgRequest\x1a\".corvic.platform.v1.GetOrgResponse\"\x03\x90\x02\x01\x12Z\n\tCreateOrg\x12$.corvic.platform.v1.CreateOrgRequest\x1a%.corvic.platform.v1.CreateOrgResponse\"\x00\x12Z\n\x08ListOrgs\x12#.corvic.platform.v1.ListOrgsRequest\x1a$.corvic.platform.v1.ListOrgsResponse\"\x03\x90\x02\x01\x12`\n\nGetOrgUser\x12%.corvic.platform.v1.GetOrgUserRequest\x1a&.corvic.platform.v1.GetOrgUserResponse\"\x03\x90\x02\x01\x12]\n\nAddOrgUser\x12%.corvic.platform.v1.AddOrgUserRequest\x1a&.corvic.platform.v1.AddOrgUserResponse\"\x00\x12\x66\n\x0cListOrgUsers\x12\'.corvic.platform.v1.ListOrgUsersRequest\x1a(.corvic.platform.v1.ListOrgUsersResponse\"\x03\x90\x02\x01\x12r\n\x11\x44\x65\x61\x63tivateOrgUser\x12,.corvic.platform.v1.DeactivateOrgUserRequest\x1a-.corvic.platform.v1.DeactivateOrgUserResponse\"\x00\x12W\n\x08PurgeOrg\x12#.corvic.platform.v1.PurgeOrgRequest\x1a$.corvic.platform.v1.PurgeOrgResponse\"\x00\x12~\n\x15\x44\x65\x61\x63tivateAllOrgUsers\x12\x30.corvic.platform.v1.DeactivateAllOrgUsersRequest\x1a\x31.corvic.platform.v1.DeactivateAllOrgUsersResponse\"\x00\x62\x06proto3')
21
-
22
- _globals = globals()
23
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
24
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'corvic.platform.v1.platform_pb2', _globals)
25
- if _descriptor._USE_C_DESCRIPTORS == False:
26
- DESCRIPTOR._options = None
27
- _globals['_ORG'].fields_by_name['name']._options = None
28
- _globals['_ORG'].fields_by_name['name']._serialized_options = b'\272H\004r\002\020\001'
29
- _globals['_ORG'].fields_by_name['id']._options = None
30
- _globals['_ORG'].fields_by_name['id']._serialized_options = b'\272H]\272\001Z\n\016string.pattern\022\026value must be a number\0320this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')'
31
- _globals['_USER'].fields_by_name['id']._options = None
32
- _globals['_USER'].fields_by_name['id']._serialized_options = b'\272H]\272\001Z\n\016string.pattern\022\026value must be a number\0320this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')'
33
- _globals['_USER'].fields_by_name['org_name']._options = None
34
- _globals['_USER'].fields_by_name['org_name']._serialized_options = b'\272H\004r\002\020\001'
35
- _globals['_CREATEORGREQUEST'].fields_by_name['name']._options = None
36
- _globals['_CREATEORGREQUEST'].fields_by_name['name']._serialized_options = b'\272H\004r\002\020\001'
37
- _globals['_LISTORGUSERSREQUEST'].fields_by_name['org_name']._options = None
38
- _globals['_LISTORGUSERSREQUEST'].fields_by_name['org_name']._serialized_options = b'\272H\004r\002\020\001'
39
- _globals['_ADDORGUSERREQUEST'].fields_by_name['org_name']._options = None
40
- _globals['_ADDORGUSERREQUEST'].fields_by_name['org_name']._serialized_options = b'\272H\004r\002\020\001'
41
- _globals['_GETORGUSERREQUEST'].fields_by_name['id']._options = None
42
- _globals['_GETORGUSERREQUEST'].fields_by_name['id']._serialized_options = b'\272H]\272\001Z\n\016string.pattern\022\026value must be a number\0320this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')'
43
- _globals['_DEACTIVATEORGUSERREQUEST'].fields_by_name['id']._options = None
44
- _globals['_DEACTIVATEORGUSERREQUEST'].fields_by_name['id']._serialized_options = b'\272H]\272\001Z\n\016string.pattern\022\026value must be a number\0320this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')'
45
- _globals['_PURGEORGREQUEST'].fields_by_name['name']._options = None
46
- _globals['_PURGEORGREQUEST'].fields_by_name['name']._serialized_options = b'\272H\004r\002\020\001'
47
- _globals['_DEACTIVATEALLORGUSERSREQUEST'].fields_by_name['org_name']._options = None
48
- _globals['_DEACTIVATEALLORGUSERSREQUEST'].fields_by_name['org_name']._serialized_options = b'\272H\004r\002\020\001'
49
- _globals['_ORGSERVICE'].methods_by_name['GetOrg']._options = None
50
- _globals['_ORGSERVICE'].methods_by_name['GetOrg']._serialized_options = b'\220\002\001'
51
- _globals['_ORGSERVICE'].methods_by_name['ListOrgs']._options = None
52
- _globals['_ORGSERVICE'].methods_by_name['ListOrgs']._serialized_options = b'\220\002\001'
53
- _globals['_ORGSERVICE'].methods_by_name['GetOrgUser']._options = None
54
- _globals['_ORGSERVICE'].methods_by_name['GetOrgUser']._serialized_options = b'\220\002\001'
55
- _globals['_ORGSERVICE'].methods_by_name['ListOrgUsers']._options = None
56
- _globals['_ORGSERVICE'].methods_by_name['ListOrgUsers']._serialized_options = b'\220\002\001'
57
- _globals['_ROLE']._serialized_start=1793
58
- _globals['_ROLE']._serialized_end=1860
59
- _globals['_ORG']._serialized_start=154
60
- _globals['_ORG']._serialized_end=422
61
- _globals['_USER']._serialized_start=425
62
- _globals['_USER']._serialized_end=625
63
- _globals['_CREATEORGREQUEST']._serialized_start=627
64
- _globals['_CREATEORGREQUEST']._serialized_end=674
65
- _globals['_CREATEORGRESPONSE']._serialized_start=676
66
- _globals['_CREATEORGRESPONSE']._serialized_end=738
67
- _globals['_GETORGREQUEST']._serialized_start=740
68
- _globals['_GETORGREQUEST']._serialized_end=775
69
- _globals['_GETORGRESPONSE']._serialized_start=777
70
- _globals['_GETORGRESPONSE']._serialized_end=836
71
- _globals['_LISTORGSREQUEST']._serialized_start=838
72
- _globals['_LISTORGSREQUEST']._serialized_end=855
73
- _globals['_LISTORGSRESPONSE']._serialized_start=857
74
- _globals['_LISTORGSRESPONSE']._serialized_end=920
75
- _globals['_LISTORGUSERSREQUEST']._serialized_start=922
76
- _globals['_LISTORGUSERSREQUEST']._serialized_end=979
77
- _globals['_LISTORGUSERSRESPONSE']._serialized_start=981
78
- _globals['_LISTORGUSERSRESPONSE']._serialized_end=1051
79
- _globals['_ADDORGUSERREQUEST']._serialized_start=1053
80
- _globals['_ADDORGUSERREQUEST']._serialized_end=1178
81
- _globals['_ADDORGUSERRESPONSE']._serialized_start=1180
82
- _globals['_ADDORGUSERRESPONSE']._serialized_end=1246
83
- _globals['_GETORGUSERREQUEST']._serialized_start=1249
84
- _globals['_GETORGUSERREQUEST']._serialized_end=1382
85
- _globals['_GETORGUSERRESPONSE']._serialized_start=1384
86
- _globals['_GETORGUSERRESPONSE']._serialized_end=1450
87
- _globals['_DEACTIVATEORGUSERREQUEST']._serialized_start=1453
88
- _globals['_DEACTIVATEORGUSERREQUEST']._serialized_end=1593
89
- _globals['_DEACTIVATEORGUSERRESPONSE']._serialized_start=1595
90
- _globals['_DEACTIVATEORGUSERRESPONSE']._serialized_end=1622
91
- _globals['_PURGEORGREQUEST']._serialized_start=1624
92
- _globals['_PURGEORGREQUEST']._serialized_end=1670
93
- _globals['_PURGEORGRESPONSE']._serialized_start=1672
94
- _globals['_PURGEORGRESPONSE']._serialized_end=1690
95
- _globals['_DEACTIVATEALLORGUSERSREQUEST']._serialized_start=1692
96
- _globals['_DEACTIVATEALLORGUSERSREQUEST']._serialized_end=1758
97
- _globals['_DEACTIVATEALLORGUSERSRESPONSE']._serialized_start=1760
98
- _globals['_DEACTIVATEALLORGUSERSRESPONSE']._serialized_end=1791
99
- _globals['_ORGSERVICE']._serialized_start=1863
100
- _globals['_ORGSERVICE']._serialized_end=2775
101
- # @@protoc_insertion_point(module_scope)
@@ -1,147 +0,0 @@
1
- from buf.validate import validate_pb2 as _validate_pb2
2
- from google.protobuf import descriptor_pb2 as _descriptor_pb2
3
- from google.protobuf import timestamp_pb2 as _timestamp_pb2
4
- from google.protobuf.internal import containers as _containers
5
- from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
6
- from google.protobuf import descriptor as _descriptor
7
- from google.protobuf import message as _message
8
- from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
9
-
10
- DESCRIPTOR: _descriptor.FileDescriptor
11
-
12
- class Role(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
13
- __slots__ = ()
14
- ROLE_UNSPECIFIED: _ClassVar[Role]
15
- ROLE_ORG_ADMIN: _ClassVar[Role]
16
- ROLE_ORG_USER: _ClassVar[Role]
17
- ROLE_UNSPECIFIED: Role
18
- ROLE_ORG_ADMIN: Role
19
- ROLE_ORG_USER: Role
20
-
21
- class Org(_message.Message):
22
- __slots__ = ("name", "id", "created_at", "modified_at")
23
- NAME_FIELD_NUMBER: _ClassVar[int]
24
- ID_FIELD_NUMBER: _ClassVar[int]
25
- CREATED_AT_FIELD_NUMBER: _ClassVar[int]
26
- MODIFIED_AT_FIELD_NUMBER: _ClassVar[int]
27
- name: str
28
- id: str
29
- created_at: _timestamp_pb2.Timestamp
30
- modified_at: _timestamp_pb2.Timestamp
31
- def __init__(self, name: _Optional[str] = ..., id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., modified_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
32
-
33
- class User(_message.Message):
34
- __slots__ = ("id", "org_name", "email", "roles")
35
- ID_FIELD_NUMBER: _ClassVar[int]
36
- ORG_NAME_FIELD_NUMBER: _ClassVar[int]
37
- EMAIL_FIELD_NUMBER: _ClassVar[int]
38
- ROLES_FIELD_NUMBER: _ClassVar[int]
39
- id: str
40
- org_name: str
41
- email: str
42
- roles: _containers.RepeatedScalarFieldContainer[str]
43
- def __init__(self, id: _Optional[str] = ..., org_name: _Optional[str] = ..., email: _Optional[str] = ..., roles: _Optional[_Iterable[str]] = ...) -> None: ...
44
-
45
- class CreateOrgRequest(_message.Message):
46
- __slots__ = ("name",)
47
- NAME_FIELD_NUMBER: _ClassVar[int]
48
- name: str
49
- def __init__(self, name: _Optional[str] = ...) -> None: ...
50
-
51
- class CreateOrgResponse(_message.Message):
52
- __slots__ = ("org",)
53
- ORG_FIELD_NUMBER: _ClassVar[int]
54
- org: Org
55
- def __init__(self, org: _Optional[_Union[Org, _Mapping]] = ...) -> None: ...
56
-
57
- class GetOrgRequest(_message.Message):
58
- __slots__ = ("name",)
59
- NAME_FIELD_NUMBER: _ClassVar[int]
60
- name: str
61
- def __init__(self, name: _Optional[str] = ...) -> None: ...
62
-
63
- class GetOrgResponse(_message.Message):
64
- __slots__ = ("org",)
65
- ORG_FIELD_NUMBER: _ClassVar[int]
66
- org: Org
67
- def __init__(self, org: _Optional[_Union[Org, _Mapping]] = ...) -> None: ...
68
-
69
- class ListOrgsRequest(_message.Message):
70
- __slots__ = ()
71
- def __init__(self) -> None: ...
72
-
73
- class ListOrgsResponse(_message.Message):
74
- __slots__ = ("orgs",)
75
- ORGS_FIELD_NUMBER: _ClassVar[int]
76
- orgs: _containers.RepeatedCompositeFieldContainer[Org]
77
- def __init__(self, orgs: _Optional[_Iterable[_Union[Org, _Mapping]]] = ...) -> None: ...
78
-
79
- class ListOrgUsersRequest(_message.Message):
80
- __slots__ = ("org_name",)
81
- ORG_NAME_FIELD_NUMBER: _ClassVar[int]
82
- org_name: str
83
- def __init__(self, org_name: _Optional[str] = ...) -> None: ...
84
-
85
- class ListOrgUsersResponse(_message.Message):
86
- __slots__ = ("users",)
87
- USERS_FIELD_NUMBER: _ClassVar[int]
88
- users: _containers.RepeatedCompositeFieldContainer[User]
89
- def __init__(self, users: _Optional[_Iterable[_Union[User, _Mapping]]] = ...) -> None: ...
90
-
91
- class AddOrgUserRequest(_message.Message):
92
- __slots__ = ("email", "org_name", "roles")
93
- EMAIL_FIELD_NUMBER: _ClassVar[int]
94
- ORG_NAME_FIELD_NUMBER: _ClassVar[int]
95
- ROLES_FIELD_NUMBER: _ClassVar[int]
96
- email: str
97
- org_name: str
98
- roles: _containers.RepeatedScalarFieldContainer[Role]
99
- def __init__(self, email: _Optional[str] = ..., org_name: _Optional[str] = ..., roles: _Optional[_Iterable[_Union[Role, str]]] = ...) -> None: ...
100
-
101
- class AddOrgUserResponse(_message.Message):
102
- __slots__ = ("user",)
103
- USER_FIELD_NUMBER: _ClassVar[int]
104
- user: User
105
- def __init__(self, user: _Optional[_Union[User, _Mapping]] = ...) -> None: ...
106
-
107
- class GetOrgUserRequest(_message.Message):
108
- __slots__ = ("id",)
109
- ID_FIELD_NUMBER: _ClassVar[int]
110
- id: str
111
- def __init__(self, id: _Optional[str] = ...) -> None: ...
112
-
113
- class GetOrgUserResponse(_message.Message):
114
- __slots__ = ("user",)
115
- USER_FIELD_NUMBER: _ClassVar[int]
116
- user: User
117
- def __init__(self, user: _Optional[_Union[User, _Mapping]] = ...) -> None: ...
118
-
119
- class DeactivateOrgUserRequest(_message.Message):
120
- __slots__ = ("id",)
121
- ID_FIELD_NUMBER: _ClassVar[int]
122
- id: str
123
- def __init__(self, id: _Optional[str] = ...) -> None: ...
124
-
125
- class DeactivateOrgUserResponse(_message.Message):
126
- __slots__ = ()
127
- def __init__(self) -> None: ...
128
-
129
- class PurgeOrgRequest(_message.Message):
130
- __slots__ = ("name",)
131
- NAME_FIELD_NUMBER: _ClassVar[int]
132
- name: str
133
- def __init__(self, name: _Optional[str] = ...) -> None: ...
134
-
135
- class PurgeOrgResponse(_message.Message):
136
- __slots__ = ()
137
- def __init__(self) -> None: ...
138
-
139
- class DeactivateAllOrgUsersRequest(_message.Message):
140
- __slots__ = ("org_name",)
141
- ORG_NAME_FIELD_NUMBER: _ClassVar[int]
142
- org_name: str
143
- def __init__(self, org_name: _Optional[str] = ...) -> None: ...
144
-
145
- class DeactivateAllOrgUsersResponse(_message.Message):
146
- __slots__ = ()
147
- def __init__(self) -> None: ...
@@ -1,330 +0,0 @@
1
- # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
- """Client and server classes corresponding to protobuf-defined services."""
3
- import grpc
4
-
5
- from corvic_generated.platform.v1 import platform_pb2 as corvic_dot_platform_dot_v1_dot_platform__pb2
6
-
7
-
8
- class OrgServiceStub(object):
9
- """Missing associated documentation comment in .proto file."""
10
-
11
- def __init__(self, channel):
12
- """Constructor.
13
-
14
- Args:
15
- channel: A grpc.Channel.
16
- """
17
- self.GetOrg = channel.unary_unary(
18
- '/corvic.platform.v1.OrgService/GetOrg',
19
- request_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.GetOrgRequest.SerializeToString,
20
- response_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.GetOrgResponse.FromString,
21
- )
22
- self.CreateOrg = channel.unary_unary(
23
- '/corvic.platform.v1.OrgService/CreateOrg',
24
- request_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.CreateOrgRequest.SerializeToString,
25
- response_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.CreateOrgResponse.FromString,
26
- )
27
- self.ListOrgs = channel.unary_unary(
28
- '/corvic.platform.v1.OrgService/ListOrgs',
29
- request_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.ListOrgsRequest.SerializeToString,
30
- response_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.ListOrgsResponse.FromString,
31
- )
32
- self.GetOrgUser = channel.unary_unary(
33
- '/corvic.platform.v1.OrgService/GetOrgUser',
34
- request_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.GetOrgUserRequest.SerializeToString,
35
- response_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.GetOrgUserResponse.FromString,
36
- )
37
- self.AddOrgUser = channel.unary_unary(
38
- '/corvic.platform.v1.OrgService/AddOrgUser',
39
- request_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.AddOrgUserRequest.SerializeToString,
40
- response_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.AddOrgUserResponse.FromString,
41
- )
42
- self.ListOrgUsers = channel.unary_unary(
43
- '/corvic.platform.v1.OrgService/ListOrgUsers',
44
- request_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.ListOrgUsersRequest.SerializeToString,
45
- response_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.ListOrgUsersResponse.FromString,
46
- )
47
- self.DeactivateOrgUser = channel.unary_unary(
48
- '/corvic.platform.v1.OrgService/DeactivateOrgUser',
49
- request_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.DeactivateOrgUserRequest.SerializeToString,
50
- response_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.DeactivateOrgUserResponse.FromString,
51
- )
52
- self.PurgeOrg = channel.unary_unary(
53
- '/corvic.platform.v1.OrgService/PurgeOrg',
54
- request_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.PurgeOrgRequest.SerializeToString,
55
- response_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.PurgeOrgResponse.FromString,
56
- )
57
- self.DeactivateAllOrgUsers = channel.unary_unary(
58
- '/corvic.platform.v1.OrgService/DeactivateAllOrgUsers',
59
- request_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.DeactivateAllOrgUsersRequest.SerializeToString,
60
- response_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.DeactivateAllOrgUsersResponse.FromString,
61
- )
62
-
63
-
64
- class OrgServiceServicer(object):
65
- """Missing associated documentation comment in .proto file."""
66
-
67
- def GetOrg(self, request, context):
68
- """Missing associated documentation comment in .proto file."""
69
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
70
- context.set_details('Method not implemented!')
71
- raise NotImplementedError('Method not implemented!')
72
-
73
- def CreateOrg(self, request, context):
74
- """Missing associated documentation comment in .proto file."""
75
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
76
- context.set_details('Method not implemented!')
77
- raise NotImplementedError('Method not implemented!')
78
-
79
- def ListOrgs(self, request, context):
80
- """Missing associated documentation comment in .proto file."""
81
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
82
- context.set_details('Method not implemented!')
83
- raise NotImplementedError('Method not implemented!')
84
-
85
- def GetOrgUser(self, request, context):
86
- """Missing associated documentation comment in .proto file."""
87
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
88
- context.set_details('Method not implemented!')
89
- raise NotImplementedError('Method not implemented!')
90
-
91
- def AddOrgUser(self, request, context):
92
- """Missing associated documentation comment in .proto file."""
93
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
94
- context.set_details('Method not implemented!')
95
- raise NotImplementedError('Method not implemented!')
96
-
97
- def ListOrgUsers(self, request, context):
98
- """Missing associated documentation comment in .proto file."""
99
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
100
- context.set_details('Method not implemented!')
101
- raise NotImplementedError('Method not implemented!')
102
-
103
- def DeactivateOrgUser(self, request, context):
104
- """Missing associated documentation comment in .proto file."""
105
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
106
- context.set_details('Method not implemented!')
107
- raise NotImplementedError('Method not implemented!')
108
-
109
- def PurgeOrg(self, request, context):
110
- """Missing associated documentation comment in .proto file."""
111
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
112
- context.set_details('Method not implemented!')
113
- raise NotImplementedError('Method not implemented!')
114
-
115
- def DeactivateAllOrgUsers(self, request, context):
116
- """Missing associated documentation comment in .proto file."""
117
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
118
- context.set_details('Method not implemented!')
119
- raise NotImplementedError('Method not implemented!')
120
-
121
-
122
- def add_OrgServiceServicer_to_server(servicer, server):
123
- rpc_method_handlers = {
124
- 'GetOrg': grpc.unary_unary_rpc_method_handler(
125
- servicer.GetOrg,
126
- request_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.GetOrgRequest.FromString,
127
- response_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.GetOrgResponse.SerializeToString,
128
- ),
129
- 'CreateOrg': grpc.unary_unary_rpc_method_handler(
130
- servicer.CreateOrg,
131
- request_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.CreateOrgRequest.FromString,
132
- response_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.CreateOrgResponse.SerializeToString,
133
- ),
134
- 'ListOrgs': grpc.unary_unary_rpc_method_handler(
135
- servicer.ListOrgs,
136
- request_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.ListOrgsRequest.FromString,
137
- response_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.ListOrgsResponse.SerializeToString,
138
- ),
139
- 'GetOrgUser': grpc.unary_unary_rpc_method_handler(
140
- servicer.GetOrgUser,
141
- request_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.GetOrgUserRequest.FromString,
142
- response_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.GetOrgUserResponse.SerializeToString,
143
- ),
144
- 'AddOrgUser': grpc.unary_unary_rpc_method_handler(
145
- servicer.AddOrgUser,
146
- request_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.AddOrgUserRequest.FromString,
147
- response_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.AddOrgUserResponse.SerializeToString,
148
- ),
149
- 'ListOrgUsers': grpc.unary_unary_rpc_method_handler(
150
- servicer.ListOrgUsers,
151
- request_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.ListOrgUsersRequest.FromString,
152
- response_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.ListOrgUsersResponse.SerializeToString,
153
- ),
154
- 'DeactivateOrgUser': grpc.unary_unary_rpc_method_handler(
155
- servicer.DeactivateOrgUser,
156
- request_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.DeactivateOrgUserRequest.FromString,
157
- response_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.DeactivateOrgUserResponse.SerializeToString,
158
- ),
159
- 'PurgeOrg': grpc.unary_unary_rpc_method_handler(
160
- servicer.PurgeOrg,
161
- request_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.PurgeOrgRequest.FromString,
162
- response_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.PurgeOrgResponse.SerializeToString,
163
- ),
164
- 'DeactivateAllOrgUsers': grpc.unary_unary_rpc_method_handler(
165
- servicer.DeactivateAllOrgUsers,
166
- request_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.DeactivateAllOrgUsersRequest.FromString,
167
- response_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.DeactivateAllOrgUsersResponse.SerializeToString,
168
- ),
169
- }
170
- generic_handler = grpc.method_handlers_generic_handler(
171
- 'corvic.platform.v1.OrgService', rpc_method_handlers)
172
- server.add_generic_rpc_handlers((generic_handler,))
173
-
174
-
175
- # This class is part of an EXPERIMENTAL API.
176
- class OrgService(object):
177
- """Missing associated documentation comment in .proto file."""
178
-
179
- @staticmethod
180
- def GetOrg(request,
181
- target,
182
- options=(),
183
- channel_credentials=None,
184
- call_credentials=None,
185
- insecure=False,
186
- compression=None,
187
- wait_for_ready=None,
188
- timeout=None,
189
- metadata=None):
190
- return grpc.experimental.unary_unary(request, target, '/corvic.platform.v1.OrgService/GetOrg',
191
- corvic_dot_platform_dot_v1_dot_platform__pb2.GetOrgRequest.SerializeToString,
192
- corvic_dot_platform_dot_v1_dot_platform__pb2.GetOrgResponse.FromString,
193
- options, channel_credentials,
194
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
195
-
196
- @staticmethod
197
- def CreateOrg(request,
198
- target,
199
- options=(),
200
- channel_credentials=None,
201
- call_credentials=None,
202
- insecure=False,
203
- compression=None,
204
- wait_for_ready=None,
205
- timeout=None,
206
- metadata=None):
207
- return grpc.experimental.unary_unary(request, target, '/corvic.platform.v1.OrgService/CreateOrg',
208
- corvic_dot_platform_dot_v1_dot_platform__pb2.CreateOrgRequest.SerializeToString,
209
- corvic_dot_platform_dot_v1_dot_platform__pb2.CreateOrgResponse.FromString,
210
- options, channel_credentials,
211
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
212
-
213
- @staticmethod
214
- def ListOrgs(request,
215
- target,
216
- options=(),
217
- channel_credentials=None,
218
- call_credentials=None,
219
- insecure=False,
220
- compression=None,
221
- wait_for_ready=None,
222
- timeout=None,
223
- metadata=None):
224
- return grpc.experimental.unary_unary(request, target, '/corvic.platform.v1.OrgService/ListOrgs',
225
- corvic_dot_platform_dot_v1_dot_platform__pb2.ListOrgsRequest.SerializeToString,
226
- corvic_dot_platform_dot_v1_dot_platform__pb2.ListOrgsResponse.FromString,
227
- options, channel_credentials,
228
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
229
-
230
- @staticmethod
231
- def GetOrgUser(request,
232
- target,
233
- options=(),
234
- channel_credentials=None,
235
- call_credentials=None,
236
- insecure=False,
237
- compression=None,
238
- wait_for_ready=None,
239
- timeout=None,
240
- metadata=None):
241
- return grpc.experimental.unary_unary(request, target, '/corvic.platform.v1.OrgService/GetOrgUser',
242
- corvic_dot_platform_dot_v1_dot_platform__pb2.GetOrgUserRequest.SerializeToString,
243
- corvic_dot_platform_dot_v1_dot_platform__pb2.GetOrgUserResponse.FromString,
244
- options, channel_credentials,
245
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
246
-
247
- @staticmethod
248
- def AddOrgUser(request,
249
- target,
250
- options=(),
251
- channel_credentials=None,
252
- call_credentials=None,
253
- insecure=False,
254
- compression=None,
255
- wait_for_ready=None,
256
- timeout=None,
257
- metadata=None):
258
- return grpc.experimental.unary_unary(request, target, '/corvic.platform.v1.OrgService/AddOrgUser',
259
- corvic_dot_platform_dot_v1_dot_platform__pb2.AddOrgUserRequest.SerializeToString,
260
- corvic_dot_platform_dot_v1_dot_platform__pb2.AddOrgUserResponse.FromString,
261
- options, channel_credentials,
262
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
263
-
264
- @staticmethod
265
- def ListOrgUsers(request,
266
- target,
267
- options=(),
268
- channel_credentials=None,
269
- call_credentials=None,
270
- insecure=False,
271
- compression=None,
272
- wait_for_ready=None,
273
- timeout=None,
274
- metadata=None):
275
- return grpc.experimental.unary_unary(request, target, '/corvic.platform.v1.OrgService/ListOrgUsers',
276
- corvic_dot_platform_dot_v1_dot_platform__pb2.ListOrgUsersRequest.SerializeToString,
277
- corvic_dot_platform_dot_v1_dot_platform__pb2.ListOrgUsersResponse.FromString,
278
- options, channel_credentials,
279
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
280
-
281
- @staticmethod
282
- def DeactivateOrgUser(request,
283
- target,
284
- options=(),
285
- channel_credentials=None,
286
- call_credentials=None,
287
- insecure=False,
288
- compression=None,
289
- wait_for_ready=None,
290
- timeout=None,
291
- metadata=None):
292
- return grpc.experimental.unary_unary(request, target, '/corvic.platform.v1.OrgService/DeactivateOrgUser',
293
- corvic_dot_platform_dot_v1_dot_platform__pb2.DeactivateOrgUserRequest.SerializeToString,
294
- corvic_dot_platform_dot_v1_dot_platform__pb2.DeactivateOrgUserResponse.FromString,
295
- options, channel_credentials,
296
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
297
-
298
- @staticmethod
299
- def PurgeOrg(request,
300
- target,
301
- options=(),
302
- channel_credentials=None,
303
- call_credentials=None,
304
- insecure=False,
305
- compression=None,
306
- wait_for_ready=None,
307
- timeout=None,
308
- metadata=None):
309
- return grpc.experimental.unary_unary(request, target, '/corvic.platform.v1.OrgService/PurgeOrg',
310
- corvic_dot_platform_dot_v1_dot_platform__pb2.PurgeOrgRequest.SerializeToString,
311
- corvic_dot_platform_dot_v1_dot_platform__pb2.PurgeOrgResponse.FromString,
312
- options, channel_credentials,
313
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
314
-
315
- @staticmethod
316
- def DeactivateAllOrgUsers(request,
317
- target,
318
- options=(),
319
- channel_credentials=None,
320
- call_credentials=None,
321
- insecure=False,
322
- compression=None,
323
- wait_for_ready=None,
324
- timeout=None,
325
- metadata=None):
326
- return grpc.experimental.unary_unary(request, target, '/corvic.platform.v1.OrgService/DeactivateAllOrgUsers',
327
- corvic_dot_platform_dot_v1_dot_platform__pb2.DeactivateAllOrgUsersRequest.SerializeToString,
328
- corvic_dot_platform_dot_v1_dot_platform__pb2.DeactivateAllOrgUsersResponse.FromString,
329
- options, channel_credentials,
330
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)