corvic-engine 0.3.0rc43__cp38-abi3-win_amd64.whl → 0.3.0rc45__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.
- corvic/embedding_metric/embeddings.py +30 -6
- corvic/engine/_native.pyd +0 -0
- corvic/model/__init__.py +7 -1
- corvic/model/_base_model.py +35 -42
- corvic/model/_feature_view.py +43 -42
- corvic/model/_pipeline.py +2 -14
- corvic/model/_proto_orm_convert.py +245 -227
- corvic/model/_resource.py +2 -7
- corvic/model/_source.py +14 -16
- corvic/model/_space.py +330 -362
- corvic/orm/__init__.py +59 -178
- corvic/system/in_memory_executor.py +6 -4
- {corvic_engine-0.3.0rc43.dist-info → corvic_engine-0.3.0rc45.dist-info}/METADATA +19 -19
- {corvic_engine-0.3.0rc43.dist-info → corvic_engine-0.3.0rc45.dist-info}/RECORD +22 -22
- {corvic_engine-0.3.0rc43.dist-info → corvic_engine-0.3.0rc45.dist-info}/WHEEL +1 -1
- corvic_generated/model/v1alpha/models_pb2.py +28 -28
- corvic_generated/model/v1alpha/models_pb2.pyi +24 -20
- corvic_generated/platform/v1/platform_pb2.py +11 -5
- corvic_generated/platform/v1/platform_pb2.pyi +10 -0
- corvic_generated/platform/v1/platform_pb2_grpc.py +33 -0
- corvic_generated/platform/v1/platform_pb2_grpc.pyi +14 -0
- {corvic_engine-0.3.0rc43.dist-info → corvic_engine-0.3.0rc45.dist-info}/licenses/LICENSE +0 -0
@@ -24,7 +24,7 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
24
24
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
25
25
|
|
26
26
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!corvic/model/v1alpha/models.proto\x12\x14\x63orvic.model.v1alpha\x1a\x19\x63orvic/orm/v1/agent.proto\x1a\x1a\x63orvic/orm/v1/common.proto\x1a$corvic/orm/v1/completion_model.proto\x1a corvic/orm/v1/feature_view.proto\x1a\x1c\x63orvic/orm/v1/pipeline.proto\x1a\x19\x63orvic/orm/v1/space.proto\x1a\x19\x63orvic/orm/v1/table.proto\x1a\x1c\x63orvic/status/v1/event.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x15\n\x06org_id\x18\x03 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!corvic/model/v1alpha/models.proto\x12\x14\x63orvic.model.v1alpha\x1a\x19\x63orvic/orm/v1/agent.proto\x1a\x1a\x63orvic/orm/v1/common.proto\x1a$corvic/orm/v1/completion_model.proto\x1a corvic/orm/v1/feature_view.proto\x1a\x1c\x63orvic/orm/v1/pipeline.proto\x1a\x19\x63orvic/orm/v1/space.proto\x1a\x19\x63orvic/orm/v1/table.proto\x1a\x1c\x63orvic/status/v1/event.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x15\n\x06org_id\x18\x03 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xa8\x03\n\x08Resource\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmime_type\x18\x04 \x01(\tR\x08mimeType\x12\x10\n\x03url\x18\x05 \x01(\tR\x03url\x12\x12\n\x04size\x18\x06 \x01(\x04R\x04size\x12\x10\n\x03md5\x18\x07 \x01(\tR\x03md5\x12#\n\roriginal_path\x18\x08 \x01(\tR\x0coriginalPath\x12\x17\n\x07room_id\x18\t \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x0b \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\r \x01(\tR\npipelineId\x12<\n\rrecent_events\x18\x0e \x03(\x0b\x32\x17.corvic.status.v1.EventR\x0crecentEvents\x12>\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\x91\x02\n\x06Source\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x06 \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\x08 \x01(\tR\npipelineId\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xa9\x05\n\x08Pipeline\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\t \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12[\n\x0fresource_inputs\x18\x04 \x03(\x0b\x32\x32.corvic.model.v1alpha.Pipeline.ResourceInputsEntryR\x0eresourceInputs\x12X\n\x0esource_outputs\x18\x05 \x03(\x0b\x32\x31.corvic.model.v1alpha.Pipeline.SourceOutputsEntryR\rsourceOutputs\x12^\n\x17pipeline_transformation\x18\x06 \x01(\x0b\x32%.corvic.orm.v1.PipelineTransformationR\x16pipelineTransformation\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x1a\x61\n\x13ResourceInputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.corvic.model.v1alpha.ResourceR\x05value:\x02\x38\x01\x1a^\n\x12SourceOutputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x05value:\x02\x38\x01\x42\r\n\x0b_created_at\"\xca\x02\n\x11\x46\x65\x61tureViewSource\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x34\n\x06source\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x06source\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12+\n\x11\x64rop_disconnected\x18\x04 \x01(\x08R\x10\x64ropDisconnected\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x12\x17\n\x07room_id\x18\x07 \x01(\tR\x06roomIdB\r\n\x0b_created_at\"\x9c\x03\n\x0b\x46\x65\x61tureView\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12P\n\x13\x66\x65\x61ture_view_output\x18\x05 \x01(\x0b\x32 .corvic.orm.v1.FeatureViewOutputR\x11\x66\x65\x61tureViewOutput\x12Y\n\x14\x66\x65\x61ture_view_sources\x18\x06 \x03(\x0b\x32\'.corvic.model.v1alpha.FeatureViewSourceR\x12\x66\x65\x61tureViewSources\x12\x1b\n\tspace_ids\x18\x07 \x03(\tR\x08spaceIds\x12\x15\n\x06org_id\x18\x08 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xfa\x02\n\x05Space\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12I\n\x10space_parameters\x18\x05 \x01(\x0b\x32\x1e.corvic.orm.v1.SpaceParametersR\x0fspaceParameters\x12\x44\n\x0c\x66\x65\x61ture_view\x18\x06 \x01(\x0b\x32!.corvic.model.v1alpha.FeatureViewR\x0b\x66\x65\x61tureView\x12\x1b\n\tauto_sync\x18\t \x01(\x08R\x08\x61utoSync\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"P\n\x0bUserMessage\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\"\xe7\x02\n\x0c\x41gentMessage\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12/\n\x06policy\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x06policy\x12\x18\n\x07\x63ontext\x18\x04 \x01(\tR\x07\x63ontext\x12P\n\x10message_reaction\x18\x05 \x01(\x0e\x32%.corvic.model.v1alpha.MessageReactionR\x0fmessageReaction\x12&\n\x0fuser_message_id\x18\x06 \x01(\tR\ruserMessageId\x12O\n\x12retrieved_entities\x18\x07 \x01(\x0b\x32 .corvic.orm.v1.RetrievedEntitiesR\x11retrievedEntities\x12\x17\n\x07room_id\x18\x08 \x01(\tR\x06roomId\"\xa4\x02\n\x0cMessageEntry\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x46\n\x0cuser_message\x18\x02 \x01(\x0b\x32!.corvic.model.v1alpha.UserMessageH\x00R\x0buserMessage\x12I\n\ragent_message\x18\x03 \x01(\x0b\x32\".corvic.model.v1alpha.AgentMessageH\x00R\x0c\x61gentMessage\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\tcreatedAt\x88\x01\x01\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomIdB\t\n\x07\x63ontentB\r\n\x0b_created_at\"\x85\x02\n\x05\x41gent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12I\n\x10\x61gent_parameters\x18\x04 \x01(\x0b\x32\x1e.corvic.orm.v1.AgentParametersR\x0f\x61gentParameters\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_atJ\x04\x08\x06\x10\x07R\x08messages\"\xad\x02\n\x0f\x43ompletionModel\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x15\n\x06org_id\x18\x04 \x01(\tR\x05orgId\x12H\n\nparameters\x18\x05 \x01(\x0b\x32(.corvic.orm.v1.CompletionModelParametersR\nparameters\x12$\n\x0esecret_api_key\x18\x06 \x01(\tR\x0csecretApiKey\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at*u\n\x0fMessageReaction\x12 \n\x1cMESSAGE_REACTION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aMESSAGE_REACTION_THUMBS_UP\x10\x01\x12 \n\x1cMESSAGE_REACTION_THUMBS_DOWN\x10\x02\x62\x06proto3')
|
28
28
|
|
29
29
|
_globals = globals()
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -35,34 +35,34 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
35
35
|
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_options = b'8\001'
|
36
36
|
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._options = None
|
37
37
|
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_options = b'8\001'
|
38
|
-
_globals['_MESSAGEREACTION']._serialized_start=
|
39
|
-
_globals['_MESSAGEREACTION']._serialized_end=
|
38
|
+
_globals['_MESSAGEREACTION']._serialized_start=4333
|
39
|
+
_globals['_MESSAGEREACTION']._serialized_end=4450
|
40
40
|
_globals['_ROOM']._serialized_start=364
|
41
41
|
_globals['_ROOM']._serialized_end=508
|
42
42
|
_globals['_RESOURCE']._serialized_start=511
|
43
|
-
_globals['_RESOURCE']._serialized_end=
|
44
|
-
_globals['_SOURCE']._serialized_start=
|
45
|
-
_globals['_SOURCE']._serialized_end=
|
46
|
-
_globals['_PIPELINE']._serialized_start=
|
47
|
-
_globals['_PIPELINE']._serialized_end=
|
48
|
-
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_start=
|
49
|
-
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_end=
|
50
|
-
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_start=
|
51
|
-
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_end=
|
52
|
-
_globals['_FEATUREVIEWSOURCE']._serialized_start=
|
53
|
-
_globals['_FEATUREVIEWSOURCE']._serialized_end=
|
54
|
-
_globals['_FEATUREVIEW']._serialized_start=
|
55
|
-
_globals['_FEATUREVIEW']._serialized_end=
|
56
|
-
_globals['_SPACE']._serialized_start=
|
57
|
-
_globals['_SPACE']._serialized_end=
|
58
|
-
_globals['_USERMESSAGE']._serialized_start=
|
59
|
-
_globals['_USERMESSAGE']._serialized_end=
|
60
|
-
_globals['_AGENTMESSAGE']._serialized_start=
|
61
|
-
_globals['_AGENTMESSAGE']._serialized_end=
|
62
|
-
_globals['_MESSAGEENTRY']._serialized_start=
|
63
|
-
_globals['_MESSAGEENTRY']._serialized_end=
|
64
|
-
_globals['_AGENT']._serialized_start=
|
65
|
-
_globals['_AGENT']._serialized_end=
|
66
|
-
_globals['_COMPLETIONMODEL']._serialized_start=
|
67
|
-
_globals['_COMPLETIONMODEL']._serialized_end=
|
43
|
+
_globals['_RESOURCE']._serialized_end=935
|
44
|
+
_globals['_SOURCE']._serialized_start=938
|
45
|
+
_globals['_SOURCE']._serialized_end=1211
|
46
|
+
_globals['_PIPELINE']._serialized_start=1214
|
47
|
+
_globals['_PIPELINE']._serialized_end=1895
|
48
|
+
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_start=1687
|
49
|
+
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_end=1784
|
50
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_start=1786
|
51
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_end=1880
|
52
|
+
_globals['_FEATUREVIEWSOURCE']._serialized_start=1898
|
53
|
+
_globals['_FEATUREVIEWSOURCE']._serialized_end=2228
|
54
|
+
_globals['_FEATUREVIEW']._serialized_start=2231
|
55
|
+
_globals['_FEATUREVIEW']._serialized_end=2643
|
56
|
+
_globals['_SPACE']._serialized_start=2646
|
57
|
+
_globals['_SPACE']._serialized_end=3024
|
58
|
+
_globals['_USERMESSAGE']._serialized_start=3026
|
59
|
+
_globals['_USERMESSAGE']._serialized_end=3106
|
60
|
+
_globals['_AGENTMESSAGE']._serialized_start=3109
|
61
|
+
_globals['_AGENTMESSAGE']._serialized_end=3468
|
62
|
+
_globals['_MESSAGEENTRY']._serialized_start=3471
|
63
|
+
_globals['_MESSAGEENTRY']._serialized_end=3763
|
64
|
+
_globals['_AGENT']._serialized_start=3766
|
65
|
+
_globals['_AGENT']._serialized_end=4027
|
66
|
+
_globals['_COMPLETIONMODEL']._serialized_start=4030
|
67
|
+
_globals['_COMPLETIONMODEL']._serialized_end=4331
|
68
68
|
# @@protoc_insertion_point(module_scope)
|
@@ -38,7 +38,7 @@ class Room(_message.Message):
|
|
38
38
|
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
39
39
|
|
40
40
|
class Resource(_message.Message):
|
41
|
-
__slots__ = ("id", "name", "description", "mime_type", "url", "size", "md5", "original_path", "room_id", "
|
41
|
+
__slots__ = ("id", "name", "description", "mime_type", "url", "size", "md5", "original_path", "room_id", "org_id", "pipeline_id", "recent_events", "created_at")
|
42
42
|
ID_FIELD_NUMBER: _ClassVar[int]
|
43
43
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
44
44
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
@@ -48,7 +48,6 @@ class Resource(_message.Message):
|
|
48
48
|
MD5_FIELD_NUMBER: _ClassVar[int]
|
49
49
|
ORIGINAL_PATH_FIELD_NUMBER: _ClassVar[int]
|
50
50
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
51
|
-
SOURCE_IDS_FIELD_NUMBER: _ClassVar[int]
|
52
51
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
53
52
|
PIPELINE_ID_FIELD_NUMBER: _ClassVar[int]
|
54
53
|
RECENT_EVENTS_FIELD_NUMBER: _ClassVar[int]
|
@@ -62,20 +61,18 @@ class Resource(_message.Message):
|
|
62
61
|
md5: str
|
63
62
|
original_path: str
|
64
63
|
room_id: str
|
65
|
-
source_ids: _containers.RepeatedScalarFieldContainer[str]
|
66
64
|
org_id: str
|
67
65
|
pipeline_id: str
|
68
66
|
recent_events: _containers.RepeatedCompositeFieldContainer[_event_pb2.Event]
|
69
67
|
created_at: _timestamp_pb2.Timestamp
|
70
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., mime_type: _Optional[str] = ..., url: _Optional[str] = ..., size: _Optional[int] = ..., md5: _Optional[str] = ..., original_path: _Optional[str] = ..., room_id: _Optional[str] = ...,
|
68
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., mime_type: _Optional[str] = ..., url: _Optional[str] = ..., size: _Optional[int] = ..., md5: _Optional[str] = ..., original_path: _Optional[str] = ..., room_id: _Optional[str] = ..., org_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., recent_events: _Optional[_Iterable[_Union[_event_pb2.Event, _Mapping]]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
71
69
|
|
72
70
|
class Source(_message.Message):
|
73
|
-
__slots__ = ("id", "name", "table_op_graph", "room_id", "
|
71
|
+
__slots__ = ("id", "name", "table_op_graph", "room_id", "org_id", "pipeline_id", "created_at")
|
74
72
|
ID_FIELD_NUMBER: _ClassVar[int]
|
75
73
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
76
74
|
TABLE_OP_GRAPH_FIELD_NUMBER: _ClassVar[int]
|
77
75
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
78
|
-
RESOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
79
76
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
80
77
|
PIPELINE_ID_FIELD_NUMBER: _ClassVar[int]
|
81
78
|
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
@@ -83,11 +80,10 @@ class Source(_message.Message):
|
|
83
80
|
name: str
|
84
81
|
table_op_graph: _table_pb2.TableComputeOp
|
85
82
|
room_id: str
|
86
|
-
resource_id: str
|
87
83
|
org_id: str
|
88
84
|
pipeline_id: str
|
89
85
|
created_at: _timestamp_pb2.Timestamp
|
90
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., table_op_graph: _Optional[_Union[_table_pb2.TableComputeOp, _Mapping]] = ..., room_id: _Optional[str] = ...,
|
86
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., table_op_graph: _Optional[_Union[_table_pb2.TableComputeOp, _Mapping]] = ..., room_id: _Optional[str] = ..., org_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
91
87
|
|
92
88
|
class Pipeline(_message.Message):
|
93
89
|
__slots__ = ("id", "name", "description", "room_id", "resource_inputs", "source_outputs", "pipeline_transformation", "org_id", "created_at")
|
@@ -126,20 +122,22 @@ class Pipeline(_message.Message):
|
|
126
122
|
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ..., resource_inputs: _Optional[_Mapping[str, Resource]] = ..., source_outputs: _Optional[_Mapping[str, Source]] = ..., pipeline_transformation: _Optional[_Union[_pipeline_pb2.PipelineTransformation, _Mapping]] = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
127
123
|
|
128
124
|
class FeatureViewSource(_message.Message):
|
129
|
-
__slots__ = ("id", "source", "table_op_graph", "drop_disconnected", "org_id", "created_at")
|
125
|
+
__slots__ = ("id", "source", "table_op_graph", "drop_disconnected", "org_id", "created_at", "room_id")
|
130
126
|
ID_FIELD_NUMBER: _ClassVar[int]
|
131
127
|
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
132
128
|
TABLE_OP_GRAPH_FIELD_NUMBER: _ClassVar[int]
|
133
129
|
DROP_DISCONNECTED_FIELD_NUMBER: _ClassVar[int]
|
134
130
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
135
131
|
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
132
|
+
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
136
133
|
id: str
|
137
134
|
source: Source
|
138
135
|
table_op_graph: _table_pb2.TableComputeOp
|
139
136
|
drop_disconnected: bool
|
140
137
|
org_id: str
|
141
138
|
created_at: _timestamp_pb2.Timestamp
|
142
|
-
|
139
|
+
room_id: str
|
140
|
+
def __init__(self, id: _Optional[str] = ..., source: _Optional[_Union[Source, _Mapping]] = ..., table_op_graph: _Optional[_Union[_table_pb2.TableComputeOp, _Mapping]] = ..., drop_disconnected: bool = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., room_id: _Optional[str] = ...) -> None: ...
|
143
141
|
|
144
142
|
class FeatureView(_message.Message):
|
145
143
|
__slots__ = ("id", "name", "description", "room_id", "feature_view_output", "feature_view_sources", "space_ids", "org_id", "created_at")
|
@@ -164,13 +162,13 @@ class FeatureView(_message.Message):
|
|
164
162
|
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ..., feature_view_output: _Optional[_Union[_feature_view_pb2.FeatureViewOutput, _Mapping]] = ..., feature_view_sources: _Optional[_Iterable[_Union[FeatureViewSource, _Mapping]]] = ..., space_ids: _Optional[_Iterable[str]] = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
165
163
|
|
166
164
|
class Space(_message.Message):
|
167
|
-
__slots__ = ("id", "name", "description", "room_id", "space_parameters", "
|
165
|
+
__slots__ = ("id", "name", "description", "room_id", "space_parameters", "feature_view", "auto_sync", "org_id", "created_at")
|
168
166
|
ID_FIELD_NUMBER: _ClassVar[int]
|
169
167
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
170
168
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
171
169
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
172
170
|
SPACE_PARAMETERS_FIELD_NUMBER: _ClassVar[int]
|
173
|
-
|
171
|
+
FEATURE_VIEW_FIELD_NUMBER: _ClassVar[int]
|
174
172
|
AUTO_SYNC_FIELD_NUMBER: _ClassVar[int]
|
175
173
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
176
174
|
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
@@ -179,22 +177,24 @@ class Space(_message.Message):
|
|
179
177
|
description: str
|
180
178
|
room_id: str
|
181
179
|
space_parameters: _space_pb2.SpaceParameters
|
182
|
-
|
180
|
+
feature_view: FeatureView
|
183
181
|
auto_sync: bool
|
184
182
|
org_id: str
|
185
183
|
created_at: _timestamp_pb2.Timestamp
|
186
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ..., space_parameters: _Optional[_Union[_space_pb2.SpaceParameters, _Mapping]] = ...,
|
184
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ..., space_parameters: _Optional[_Union[_space_pb2.SpaceParameters, _Mapping]] = ..., feature_view: _Optional[_Union[FeatureView, _Mapping]] = ..., auto_sync: bool = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
187
185
|
|
188
186
|
class UserMessage(_message.Message):
|
189
|
-
__slots__ = ("id", "message")
|
187
|
+
__slots__ = ("id", "message", "room_id")
|
190
188
|
ID_FIELD_NUMBER: _ClassVar[int]
|
191
189
|
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
190
|
+
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
192
191
|
id: str
|
193
192
|
message: str
|
194
|
-
|
193
|
+
room_id: str
|
194
|
+
def __init__(self, id: _Optional[str] = ..., message: _Optional[str] = ..., room_id: _Optional[str] = ...) -> None: ...
|
195
195
|
|
196
196
|
class AgentMessage(_message.Message):
|
197
|
-
__slots__ = ("id", "message", "policy", "context", "message_reaction", "user_message_id", "retrieved_entities")
|
197
|
+
__slots__ = ("id", "message", "policy", "context", "message_reaction", "user_message_id", "retrieved_entities", "room_id")
|
198
198
|
ID_FIELD_NUMBER: _ClassVar[int]
|
199
199
|
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
200
200
|
POLICY_FIELD_NUMBER: _ClassVar[int]
|
@@ -202,6 +202,7 @@ class AgentMessage(_message.Message):
|
|
202
202
|
MESSAGE_REACTION_FIELD_NUMBER: _ClassVar[int]
|
203
203
|
USER_MESSAGE_ID_FIELD_NUMBER: _ClassVar[int]
|
204
204
|
RETRIEVED_ENTITIES_FIELD_NUMBER: _ClassVar[int]
|
205
|
+
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
205
206
|
id: str
|
206
207
|
message: str
|
207
208
|
policy: _struct_pb2.Struct
|
@@ -209,19 +210,22 @@ class AgentMessage(_message.Message):
|
|
209
210
|
message_reaction: MessageReaction
|
210
211
|
user_message_id: str
|
211
212
|
retrieved_entities: _common_pb2.RetrievedEntities
|
212
|
-
|
213
|
+
room_id: str
|
214
|
+
def __init__(self, id: _Optional[str] = ..., message: _Optional[str] = ..., policy: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., context: _Optional[str] = ..., message_reaction: _Optional[_Union[MessageReaction, str]] = ..., user_message_id: _Optional[str] = ..., retrieved_entities: _Optional[_Union[_common_pb2.RetrievedEntities, _Mapping]] = ..., room_id: _Optional[str] = ...) -> None: ...
|
213
215
|
|
214
216
|
class MessageEntry(_message.Message):
|
215
|
-
__slots__ = ("id", "user_message", "agent_message", "created_at")
|
217
|
+
__slots__ = ("id", "user_message", "agent_message", "created_at", "room_id")
|
216
218
|
ID_FIELD_NUMBER: _ClassVar[int]
|
217
219
|
USER_MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
218
220
|
AGENT_MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
219
221
|
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
222
|
+
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
220
223
|
id: str
|
221
224
|
user_message: UserMessage
|
222
225
|
agent_message: AgentMessage
|
223
226
|
created_at: _timestamp_pb2.Timestamp
|
224
|
-
|
227
|
+
room_id: str
|
228
|
+
def __init__(self, id: _Optional[str] = ..., user_message: _Optional[_Union[UserMessage, _Mapping]] = ..., agent_message: _Optional[_Union[AgentMessage, _Mapping]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., room_id: _Optional[str] = ...) -> None: ...
|
225
229
|
|
226
230
|
class Agent(_message.Message):
|
227
231
|
__slots__ = ("id", "name", "room_id", "agent_parameters", "org_id", "created_at")
|
@@ -17,7 +17,7 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor
|
|
17
17
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
18
18
|
|
19
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*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\
|
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
21
|
|
22
22
|
_globals = globals()
|
23
23
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -44,6 +44,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
44
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
45
|
_globals['_PURGEORGREQUEST'].fields_by_name['name']._options = None
|
46
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'
|
47
49
|
_globals['_ORGSERVICE'].methods_by_name['GetOrg']._options = None
|
48
50
|
_globals['_ORGSERVICE'].methods_by_name['GetOrg']._serialized_options = b'\220\002\001'
|
49
51
|
_globals['_ORGSERVICE'].methods_by_name['ListOrgs']._options = None
|
@@ -52,8 +54,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
52
54
|
_globals['_ORGSERVICE'].methods_by_name['GetOrgUser']._serialized_options = b'\220\002\001'
|
53
55
|
_globals['_ORGSERVICE'].methods_by_name['ListOrgUsers']._options = None
|
54
56
|
_globals['_ORGSERVICE'].methods_by_name['ListOrgUsers']._serialized_options = b'\220\002\001'
|
55
|
-
_globals['_ROLE']._serialized_start=
|
56
|
-
_globals['_ROLE']._serialized_end=
|
57
|
+
_globals['_ROLE']._serialized_start=1793
|
58
|
+
_globals['_ROLE']._serialized_end=1860
|
57
59
|
_globals['_ORG']._serialized_start=154
|
58
60
|
_globals['_ORG']._serialized_end=422
|
59
61
|
_globals['_USER']._serialized_start=425
|
@@ -90,6 +92,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
90
92
|
_globals['_PURGEORGREQUEST']._serialized_end=1670
|
91
93
|
_globals['_PURGEORGRESPONSE']._serialized_start=1672
|
92
94
|
_globals['_PURGEORGRESPONSE']._serialized_end=1690
|
93
|
-
_globals['
|
94
|
-
_globals['
|
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
|
95
101
|
# @@protoc_insertion_point(module_scope)
|
@@ -135,3 +135,13 @@ class PurgeOrgRequest(_message.Message):
|
|
135
135
|
class PurgeOrgResponse(_message.Message):
|
136
136
|
__slots__ = ()
|
137
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: ...
|
@@ -54,6 +54,11 @@ class OrgServiceStub(object):
|
|
54
54
|
request_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.PurgeOrgRequest.SerializeToString,
|
55
55
|
response_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.PurgeOrgResponse.FromString,
|
56
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
|
+
)
|
57
62
|
|
58
63
|
|
59
64
|
class OrgServiceServicer(object):
|
@@ -107,6 +112,12 @@ class OrgServiceServicer(object):
|
|
107
112
|
context.set_details('Method not implemented!')
|
108
113
|
raise NotImplementedError('Method not implemented!')
|
109
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
|
+
|
110
121
|
|
111
122
|
def add_OrgServiceServicer_to_server(servicer, server):
|
112
123
|
rpc_method_handlers = {
|
@@ -150,6 +161,11 @@ def add_OrgServiceServicer_to_server(servicer, server):
|
|
150
161
|
request_deserializer=corvic_dot_platform_dot_v1_dot_platform__pb2.PurgeOrgRequest.FromString,
|
151
162
|
response_serializer=corvic_dot_platform_dot_v1_dot_platform__pb2.PurgeOrgResponse.SerializeToString,
|
152
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
|
+
),
|
153
169
|
}
|
154
170
|
generic_handler = grpc.method_handlers_generic_handler(
|
155
171
|
'corvic.platform.v1.OrgService', rpc_method_handlers)
|
@@ -295,3 +311,20 @@ class OrgService(object):
|
|
295
311
|
corvic_dot_platform_dot_v1_dot_platform__pb2.PurgeOrgResponse.FromString,
|
296
312
|
options, channel_credentials,
|
297
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)
|
@@ -51,6 +51,10 @@ class OrgServiceStub:
|
|
51
51
|
corvic_generated.platform.v1.platform_pb2.PurgeOrgRequest,
|
52
52
|
corvic_generated.platform.v1.platform_pb2.PurgeOrgResponse,
|
53
53
|
]
|
54
|
+
DeactivateAllOrgUsers: grpc.UnaryUnaryMultiCallable[
|
55
|
+
corvic_generated.platform.v1.platform_pb2.DeactivateAllOrgUsersRequest,
|
56
|
+
corvic_generated.platform.v1.platform_pb2.DeactivateAllOrgUsersResponse,
|
57
|
+
]
|
54
58
|
|
55
59
|
class OrgServiceAsyncStub:
|
56
60
|
GetOrg: grpc.aio.UnaryUnaryMultiCallable[
|
@@ -85,6 +89,10 @@ class OrgServiceAsyncStub:
|
|
85
89
|
corvic_generated.platform.v1.platform_pb2.PurgeOrgRequest,
|
86
90
|
corvic_generated.platform.v1.platform_pb2.PurgeOrgResponse,
|
87
91
|
]
|
92
|
+
DeactivateAllOrgUsers: grpc.aio.UnaryUnaryMultiCallable[
|
93
|
+
corvic_generated.platform.v1.platform_pb2.DeactivateAllOrgUsersRequest,
|
94
|
+
corvic_generated.platform.v1.platform_pb2.DeactivateAllOrgUsersResponse,
|
95
|
+
]
|
88
96
|
|
89
97
|
class OrgServiceServicer(metaclass=abc.ABCMeta):
|
90
98
|
@abc.abstractmethod
|
@@ -135,5 +143,11 @@ class OrgServiceServicer(metaclass=abc.ABCMeta):
|
|
135
143
|
request: corvic_generated.platform.v1.platform_pb2.PurgeOrgRequest,
|
136
144
|
context: _ServicerContext,
|
137
145
|
) -> typing.Union[corvic_generated.platform.v1.platform_pb2.PurgeOrgResponse, collections.abc.Awaitable[corvic_generated.platform.v1.platform_pb2.PurgeOrgResponse]]: ...
|
146
|
+
@abc.abstractmethod
|
147
|
+
def DeactivateAllOrgUsers(
|
148
|
+
self,
|
149
|
+
request: corvic_generated.platform.v1.platform_pb2.DeactivateAllOrgUsersRequest,
|
150
|
+
context: _ServicerContext,
|
151
|
+
) -> typing.Union[corvic_generated.platform.v1.platform_pb2.DeactivateAllOrgUsersResponse, collections.abc.Awaitable[corvic_generated.platform.v1.platform_pb2.DeactivateAllOrgUsersResponse]]: ...
|
138
152
|
|
139
153
|
def add_OrgServiceServicer_to_server(servicer: OrgServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
File without changes
|