corvic-engine 0.3.0rc51__cp38-abi3-win_amd64.whl → 0.3.0rc53__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/engine/_native.pyd +0 -0
- corvic/model/_pipeline.py +0 -30
- corvic/model/_proto_orm_convert.py +31 -23
- corvic/model/_resource.py +29 -8
- corvic/orm/__init__.py +0 -6
- corvic/system/storage.py +3 -3
- corvic/table/table.py +16 -1
- {corvic_engine-0.3.0rc51.dist-info → corvic_engine-0.3.0rc53.dist-info}/METADATA +1 -1
- {corvic_engine-0.3.0rc51.dist-info → corvic_engine-0.3.0rc53.dist-info}/RECORD +15 -15
- corvic_generated/ingest/v2/resource_pb2.py +16 -14
- corvic_generated/ingest/v2/resource_pb2.pyi +12 -8
- corvic_generated/model/v1alpha/models_pb2.py +18 -22
- corvic_generated/model/v1alpha/models_pb2.pyi +6 -13
- {corvic_engine-0.3.0rc51.dist-info → corvic_engine-0.3.0rc53.dist-info}/WHEEL +0 -0
- {corvic_engine-0.3.0rc51.dist-info → corvic_engine-0.3.0rc53.dist-info}/licenses/LICENSE +0 -0
corvic/engine/_native.pyd
CHANGED
Binary file
|
corvic/model/_pipeline.py
CHANGED
@@ -22,7 +22,6 @@ from corvic.model._proto_orm_convert import (
|
|
22
22
|
pipeline_orm_to_proto,
|
23
23
|
pipeline_proto_to_orm,
|
24
24
|
)
|
25
|
-
from corvic.model._resource import Resource, ResourceID
|
26
25
|
from corvic.model._source import Source
|
27
26
|
from corvic.result import InvalidArgumentError, NotFoundError, Ok
|
28
27
|
from corvic_generated.model.v1alpha import models_pb2
|
@@ -122,9 +121,6 @@ class Pipeline(BaseModel[PipelineID, models_pb2.Pipeline, orm.Pipeline]):
|
|
122
121
|
@classmethod
|
123
122
|
def orm_load_options(cls) -> list[LoaderOption]:
|
124
123
|
return [
|
125
|
-
sa_orm.selectinload(orm.Pipeline.inputs)
|
126
|
-
.selectinload(orm.PipelineInput.resource)
|
127
|
-
.selectinload(orm.Resource.pipeline_ref),
|
128
124
|
sa_orm.selectinload(orm.Pipeline.outputs)
|
129
125
|
.selectinload(orm.PipelineOutput.source)
|
130
126
|
.selectinload(orm.Source.pipeline_ref),
|
@@ -168,13 +164,6 @@ class Pipeline(BaseModel[PipelineID, models_pb2.Pipeline, orm.Pipeline]):
|
|
168
164
|
def description(self):
|
169
165
|
return self.proto_self.description
|
170
166
|
|
171
|
-
@functools.cached_property
|
172
|
-
def inputs(self) -> Mapping[str, Resource]:
|
173
|
-
return {
|
174
|
-
name: Resource(self.client, proto_resource)
|
175
|
-
for name, proto_resource in self.proto_self.resource_inputs.items()
|
176
|
-
}
|
177
|
-
|
178
167
|
@functools.cached_property
|
179
168
|
def outputs(self) -> Mapping[str, Source]:
|
180
169
|
return {
|
@@ -187,25 +176,6 @@ class Pipeline(BaseModel[PipelineID, models_pb2.Pipeline, orm.Pipeline]):
|
|
187
176
|
new_proto.name = name
|
188
177
|
return self.__class__(self.client, proto_self=new_proto)
|
189
178
|
|
190
|
-
def with_input(
|
191
|
-
self, resource: Resource | ResourceID
|
192
|
-
) -> Ok[Self] | NotFoundError | InvalidArgumentError:
|
193
|
-
if isinstance(resource, ResourceID):
|
194
|
-
match Resource.from_id(resource, self.client):
|
195
|
-
case NotFoundError() as err:
|
196
|
-
return err
|
197
|
-
case Ok(obj):
|
198
|
-
resource = obj
|
199
|
-
|
200
|
-
if resource.room_id != self.room_id:
|
201
|
-
return InvalidArgumentError("cannot add inputs from other rooms")
|
202
|
-
|
203
|
-
input_name = f"output-{uuid.uuid4()}"
|
204
|
-
new_proto = copy.deepcopy(self.proto_self)
|
205
|
-
new_proto.resource_inputs[input_name].CopyFrom(resource.proto_self)
|
206
|
-
|
207
|
-
return Ok(self.__class__(self.client, proto_self=new_proto))
|
208
|
-
|
209
179
|
|
210
180
|
class UnknownTransformationPipeline(Pipeline):
|
211
181
|
"""A pipeline that this version of the code doesn't know what to do with."""
|
@@ -103,6 +103,11 @@ def timestamp_orm_to_proto(
|
|
103
103
|
|
104
104
|
|
105
105
|
def resource_orm_to_proto(resource_orm: orm.Resource) -> models_pb2.Resource:
|
106
|
+
pipeline_input_name = ""
|
107
|
+
pipeline_id = ""
|
108
|
+
if resource_orm.pipeline_ref:
|
109
|
+
pipeline_input_name = resource_orm.pipeline_ref.name
|
110
|
+
pipeline_id = str(resource_orm.pipeline_ref.pipeline_id)
|
106
111
|
return models_pb2.Resource(
|
107
112
|
id=str(resource_orm.id),
|
108
113
|
name=resource_orm.name,
|
@@ -115,9 +120,8 @@ def resource_orm_to_proto(resource_orm: orm.Resource) -> models_pb2.Resource:
|
|
115
120
|
room_id=str(resource_orm.room_id),
|
116
121
|
org_id=str(resource_orm.org_id),
|
117
122
|
recent_events=[resource_orm.latest_event] if resource_orm.latest_event else [],
|
118
|
-
pipeline_id=
|
119
|
-
|
120
|
-
else "",
|
123
|
+
pipeline_id=pipeline_id,
|
124
|
+
pipeline_input_name=pipeline_input_name,
|
121
125
|
created_at=timestamp_orm_to_proto(resource_orm.created_at),
|
122
126
|
)
|
123
127
|
|
@@ -192,10 +196,6 @@ def pipeline_orm_to_proto(
|
|
192
196
|
id=str(pipeline_orm.id),
|
193
197
|
name=pipeline_orm.name,
|
194
198
|
room_id=str(pipeline_orm.room_id),
|
195
|
-
resource_inputs={
|
196
|
-
input_obj.name: resource_orm_to_proto(input_obj.resource)
|
197
|
-
for input_obj in pipeline_orm.inputs
|
198
|
-
},
|
199
199
|
source_outputs={
|
200
200
|
output_obj.name: source_orm_to_proto(output_obj.source)
|
201
201
|
for output_obj in pipeline_orm.outputs
|
@@ -279,7 +279,30 @@ def resource_proto_to_orm(
|
|
279
279
|
latest_event=proto_obj.recent_events[-1] if proto_obj.recent_events else None,
|
280
280
|
room_id=room_id,
|
281
281
|
)
|
282
|
-
|
282
|
+
_add_orm_to_session(orm_obj, proto_obj.org_id, session)
|
283
|
+
|
284
|
+
if proto_obj.pipeline_id:
|
285
|
+
match _translate_orm_id(proto_obj.pipeline_id, orm.PipelineID):
|
286
|
+
case orm.InvalidORMIdentifierError() as err:
|
287
|
+
return err
|
288
|
+
case Ok(pipeline_id):
|
289
|
+
pass
|
290
|
+
if not pipeline_id:
|
291
|
+
return InvalidArgumentError("resource's pipeline cannot be anonymous")
|
292
|
+
session.flush()
|
293
|
+
if not orm_obj.id:
|
294
|
+
raise InternalError("internal assertion did not hold")
|
295
|
+
pipeline_input = orm.PipelineInput(
|
296
|
+
resource_id=orm_obj.id,
|
297
|
+
name=proto_obj.pipeline_input_name,
|
298
|
+
pipeline_id=pipeline_id,
|
299
|
+
room_id=room_id,
|
300
|
+
)
|
301
|
+
if orm_obj.org_id:
|
302
|
+
pipeline_input.org_id = orm_obj.org_id
|
303
|
+
orm_obj.pipeline_ref = session.merge(pipeline_input)
|
304
|
+
|
305
|
+
return Ok(orm_obj)
|
283
306
|
|
284
307
|
|
285
308
|
def _ensure_id(
|
@@ -329,21 +352,6 @@ def pipeline_proto_to_orm( # noqa: C901
|
|
329
352
|
if not orm_obj.id:
|
330
353
|
raise InternalError("internal assertion did not hold")
|
331
354
|
|
332
|
-
for name, val in proto_obj.resource_inputs.items():
|
333
|
-
match _ensure_id(val, resource_proto_to_orm, orm.ResourceID, session):
|
334
|
-
case orm.InvalidORMIdentifierError() | InvalidArgumentError() as err:
|
335
|
-
return err
|
336
|
-
case Ok(resource_id):
|
337
|
-
pass
|
338
|
-
inputs.append(
|
339
|
-
orm.PipelineInput(
|
340
|
-
resource_id=resource_id,
|
341
|
-
name=name,
|
342
|
-
pipeline_id=orm_obj.id,
|
343
|
-
room_id=room_id,
|
344
|
-
)
|
345
|
-
)
|
346
|
-
|
347
355
|
outputs = list[orm.PipelineOutput]()
|
348
356
|
for name, val in proto_obj.source_outputs.items():
|
349
357
|
match _ensure_id(val, source_proto_to_orm, orm.SourceID, session):
|
corvic/model/_resource.py
CHANGED
@@ -4,6 +4,7 @@ from __future__ import annotations
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import datetime
|
7
|
+
import uuid
|
7
8
|
from collections.abc import Iterable, Sequence
|
8
9
|
from typing import TypeAlias
|
9
10
|
|
@@ -127,6 +128,7 @@ class Resource(BaseModel[ResourceID, models_pb2.Resource, orm.Resource]):
|
|
127
128
|
cls,
|
128
129
|
*,
|
129
130
|
room_id: RoomID | None = None,
|
131
|
+
pipeline_id: PipelineID | None = None,
|
130
132
|
limit: int | None = None,
|
131
133
|
created_before: datetime.datetime | None = None,
|
132
134
|
client: system.Client | None = None,
|
@@ -136,13 +138,19 @@ class Resource(BaseModel[ResourceID, models_pb2.Resource, orm.Resource]):
|
|
136
138
|
) -> Ok[list[Resource]] | NotFoundError | InvalidArgumentError:
|
137
139
|
"""List resources."""
|
138
140
|
client = client or Defaults.get_default_client()
|
139
|
-
additional_query_transform = None
|
140
141
|
|
141
|
-
def
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
142
|
+
def query_transform(query: sa.Select[tuple[orm.Resource]]):
|
143
|
+
if url:
|
144
|
+
query = query.where(orm.Resource.url == url)
|
145
|
+
if pipeline_id:
|
146
|
+
query = query.where(
|
147
|
+
orm.Resource.id.in_(
|
148
|
+
sa.select(orm.PipelineInput.resource_id).where(
|
149
|
+
orm.PipelineInput.pipeline_id == pipeline_id
|
150
|
+
)
|
151
|
+
)
|
152
|
+
)
|
153
|
+
return query
|
146
154
|
|
147
155
|
match cls.list_as_proto(
|
148
156
|
client,
|
@@ -151,7 +159,7 @@ class Resource(BaseModel[ResourceID, models_pb2.Resource, orm.Resource]):
|
|
151
159
|
created_before=created_before,
|
152
160
|
ids=ids,
|
153
161
|
existing_session=existing_session,
|
154
|
-
additional_query_transform=
|
162
|
+
additional_query_transform=query_transform,
|
155
163
|
):
|
156
164
|
case NotFoundError() | InvalidArgumentError() as err:
|
157
165
|
return err
|
@@ -219,10 +227,23 @@ class Resource(BaseModel[ResourceID, models_pb2.Resource, orm.Resource]):
|
|
219
227
|
client = client or Defaults.get_default_client()
|
220
228
|
room_id = room_id or Defaults.get_default_room_id(client)
|
221
229
|
|
222
|
-
blob = client.storage_manager.make_tabular_blob(
|
230
|
+
blob = client.storage_manager.make_tabular_blob(
|
231
|
+
room_id, f"polars_dataframe/{uuid.uuid4()}"
|
232
|
+
)
|
223
233
|
with blob.open(mode="wb") as stream:
|
224
234
|
data_frame.write_parquet(stream)
|
225
235
|
|
226
236
|
blob.content_type = "application/octet-stream"
|
227
237
|
blob.patch()
|
228
238
|
return cls.from_blob(blob.url, blob, client, room_id=room_id)
|
239
|
+
|
240
|
+
def as_input_to(self, pipeline_id: orm.PipelineID) -> Self:
|
241
|
+
new_proto = copy.deepcopy(self.proto_self)
|
242
|
+
new_proto.pipeline_id = str(pipeline_id)
|
243
|
+
new_proto.pipeline_input_name = f"output-{uuid.uuid4()}"
|
244
|
+
|
245
|
+
return self.__class__(self.client, proto_self=new_proto)
|
246
|
+
|
247
|
+
@property
|
248
|
+
def pipeline_input_name(self) -> str:
|
249
|
+
return self.proto_self.pipeline_input_name
|
corvic/orm/__init__.py
CHANGED
@@ -163,12 +163,6 @@ class Pipeline(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
163
163
|
description: sa_orm.Mapped[str | None] = sa_orm.mapped_column()
|
164
164
|
id: sa_orm.Mapped[PipelineID | None] = primary_key_identity_column()
|
165
165
|
|
166
|
-
inputs: sa_orm.Mapped[list[PipelineInput]] = sa_orm.relationship(
|
167
|
-
viewonly=True,
|
168
|
-
init=False,
|
169
|
-
default_factory=list,
|
170
|
-
)
|
171
|
-
|
172
166
|
outputs: sa_orm.Mapped[list[PipelineOutput]] = sa_orm.relationship(
|
173
167
|
viewonly=True,
|
174
168
|
init=False,
|
corvic/system/storage.py
CHANGED
@@ -144,7 +144,7 @@ class StorageManager:
|
|
144
144
|
|
145
145
|
def make_tabular_blob(self, room_id: orm.RoomID, suffix: str | None = None) -> Blob:
|
146
146
|
if suffix:
|
147
|
-
name = f"{self._render_room_id(room_id)}/{
|
147
|
+
name = f"{self._render_room_id(room_id)}/{suffix}"
|
148
148
|
else:
|
149
149
|
name = f"{self._render_room_id(room_id)}/{uuid.uuid4()}"
|
150
150
|
return self.bucket.blob(f"{self.tabular_prefix}/{name}")
|
@@ -153,14 +153,14 @@ class StorageManager:
|
|
153
153
|
self, room_id: orm.RoomID, suffix: str | None = None
|
154
154
|
) -> Blob:
|
155
155
|
if suffix:
|
156
|
-
name = f"{self._render_room_id(room_id)}/{
|
156
|
+
name = f"{self._render_room_id(room_id)}/{suffix}"
|
157
157
|
else:
|
158
158
|
name = f"{self._render_room_id(room_id)}/{uuid.uuid4()}"
|
159
159
|
return self.bucket.blob(f"{self.unstructured_prefix}/{name}")
|
160
160
|
|
161
161
|
def make_vector_blob(self, room_id: orm.RoomID, suffix: str | None = None) -> Blob:
|
162
162
|
if suffix:
|
163
|
-
name = f"{self._render_room_id(room_id)}/{
|
163
|
+
name = f"{self._render_room_id(room_id)}/{suffix}"
|
164
164
|
else:
|
165
165
|
name = f"{self._render_room_id(room_id)}/{uuid.uuid4()}"
|
166
166
|
return self.bucket.blob(f"{self.vector_prefix}/{name}")
|
corvic/table/table.py
CHANGED
@@ -4,6 +4,7 @@ from __future__ import annotations
|
|
4
4
|
|
5
5
|
import dataclasses
|
6
6
|
import functools
|
7
|
+
import uuid
|
7
8
|
from collections.abc import Iterable, Mapping, Sequence
|
8
9
|
from typing import (
|
9
10
|
Any,
|
@@ -61,6 +62,9 @@ _TM = TypeVar("_TM", bound=TypedMetadata)
|
|
61
62
|
|
62
63
|
_logger = structlog.get_logger()
|
63
64
|
|
65
|
+
CORVIC_RESERVED_PREFIX = "__corvic"
|
66
|
+
CORVIC_SURROGATE_ID = f"{CORVIC_RESERVED_PREFIX}_surrogate_id"
|
67
|
+
|
64
68
|
|
65
69
|
@dataclasses.dataclass
|
66
70
|
class DataclassAsTypedMetadataMixin:
|
@@ -362,6 +366,16 @@ class Table:
|
|
362
366
|
case Ok(op):
|
363
367
|
pass
|
364
368
|
|
369
|
+
# For internally added columns we can set custom feature types
|
370
|
+
if CORVIC_SURROGATE_ID in schema:
|
371
|
+
match op.update_feature_types(
|
372
|
+
{CORVIC_SURROGATE_ID: op_graph.feature_type.identifier()}
|
373
|
+
):
|
374
|
+
case InvalidArgumentError() as error:
|
375
|
+
return error
|
376
|
+
case Ok(op):
|
377
|
+
pass
|
378
|
+
|
365
379
|
return Ok(cls.from_ops(client, op))
|
366
380
|
|
367
381
|
def to_bytes(self):
|
@@ -453,7 +467,8 @@ class Table:
|
|
453
467
|
TableComputeContext(
|
454
468
|
self.op_graph,
|
455
469
|
output_url_prefix=self.client.storage_manager.make_tabular_blob(
|
456
|
-
room_id=room_id,
|
470
|
+
room_id=room_id,
|
471
|
+
suffix=f"anonymous_tables-{uuid.uuid4()}.parquet",
|
457
472
|
).url,
|
458
473
|
)
|
459
474
|
],
|
@@ -1,6 +1,6 @@
|
|
1
|
-
corvic_engine-0.3.
|
2
|
-
corvic_engine-0.3.
|
3
|
-
corvic_engine-0.3.
|
1
|
+
corvic_engine-0.3.0rc53.dist-info/METADATA,sha256=05SxfLAI-iBbGVEG_8enK3Ux-kx7hqfYaPNw7xv6FdI,1876
|
2
|
+
corvic_engine-0.3.0rc53.dist-info/WHEEL,sha256=_g1M2QM3kt1Ssm_sHOg_3TUY7GxNE2Ueyslb9ZDtPwk,94
|
3
|
+
corvic_engine-0.3.0rc53.dist-info/licenses/LICENSE,sha256=DSS1OD0oIgssKOmAzkMRBv5jvvVuZQbrIv8lpl9DXY8,1035
|
4
4
|
corvic/context/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
corvic/context/__init__.py,sha256=zBnPiP-tStGSVMG_0-G_0ay6-yIX2aerW_oYRzAex74,1702
|
6
6
|
corvic/embed/node2vec.py,sha256=JnYb8f2g4XhF6LL2TjpMxLfKhn_Yp1AzptsWwrKQWgc,11146
|
@@ -20,9 +20,9 @@ corvic/model/_defaults.py,sha256=yoKPPSmYJCE5YAD5jLTEmT4XNf_zXoggNK-uyG8MfVs,152
|
|
20
20
|
corvic/model/_errors.py,sha256=Ctlq04SDwHzJPvLaL1rzqzwVqf2b50EILfW3cH4vnh8,261
|
21
21
|
corvic/model/_feature_type.py,sha256=Y-_-wa9fv7XaCAkxfjjoCLxxK2Ftfba-PMefD7bNXzs,917
|
22
22
|
corvic/model/_feature_view.py,sha256=YThcU0T4pK_W6IOJ8uQUUsc3NP7JMBWqYjU_37UjN2o,49757
|
23
|
-
corvic/model/_pipeline.py,sha256=
|
24
|
-
corvic/model/_proto_orm_convert.py,sha256
|
25
|
-
corvic/model/_resource.py,sha256=
|
23
|
+
corvic/model/_pipeline.py,sha256=LtF6uq3VkXGEDTotNEpiPyWJLQMJSrJ8ttXIAHsj3RU,16350
|
24
|
+
corvic/model/_proto_orm_convert.py,sha256=-sOk72dKH91CWdnoTMIjv4RNE3SCUGH-3Bjhc7pM1LU,26942
|
25
|
+
corvic/model/_resource.py,sha256=qR9iQQgxRO7c_6VGMH8gXbmA-6PCigne2ycNIfEskZg,7854
|
26
26
|
corvic/model/_room.py,sha256=57MiBfj8hZcmUfq2PeECrOWDpBZAOSjnVqNUIGXOy2Q,2898
|
27
27
|
corvic/model/_source.py,sha256=JBCk1I6u_rUKPiB4Fvtl7uVm0Jx0LF1oWNd1-Wn_sbI,9412
|
28
28
|
corvic/model/_space.py,sha256=_qXYefPwwL6jGY3zUBYWW9X3ZE4FEuiOksPoCuG_O1Q,33928
|
@@ -50,7 +50,7 @@ corvic/orm/keys.py,sha256=Ag6Xbpvxev-VByT1KJ8ChUn9vKVEzkkMXxrjvtADCtY,2182
|
|
50
50
|
corvic/orm/mixins.py,sha256=HfmzJ7LblHtddbbkDmv7nNWURL87Bnj8NeOnNbfmSN4,17794
|
51
51
|
corvic/orm/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
52
52
|
corvic/orm/_proto_columns.py,sha256=tcOu92UjFJFYZLasS6sWJQBDRK26yrnmpTii_LDY4iw,913
|
53
|
-
corvic/orm/__init__.py,sha256=
|
53
|
+
corvic/orm/__init__.py,sha256=_MOX6qoIL6tK64ibSgQkQzd9Is2bH1oR2rGhqI6xe8I,14293
|
54
54
|
corvic/pa_scalar/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
55
55
|
corvic/pa_scalar/_const.py,sha256=1nk6w3Y7crd3J5jSCq7DRVa1lcGk4H1RUr1l4NjnlzE,868
|
56
56
|
corvic/pa_scalar/_from_value.py,sha256=fS3TNPcPI3jAKGmcUIhn8rdqdQEAwgTLEneVxFUeK6M,27531
|
@@ -72,7 +72,7 @@ corvic/system/in_memory_executor.py,sha256=dYgcxbA_O0mM1pI19t2OXs8q5B4TX-NFacR7T
|
|
72
72
|
corvic/system/op_graph_executor.py,sha256=gXFnVkemS5EwNegJdU-xVAfMLPULqMFPF7d3EG3AD_U,3482
|
73
73
|
corvic/system/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
74
74
|
corvic/system/staging.py,sha256=K5P5moiuAMfPx7lxK4mArxeURBwKoyB6x9HGu9JJ16E,1846
|
75
|
-
corvic/system/storage.py,sha256=
|
75
|
+
corvic/system/storage.py,sha256=PuGWC6hQOJXLShhtHNP4gRZDaT4IGk9QCrNF_ciEPzk,5583
|
76
76
|
corvic/system/_dimension_reduction.py,sha256=vyD8wOs0vE-hlVnCrBTjStTowAPWYREqnQ_bVuGYvis,2907
|
77
77
|
corvic/system/_embedder.py,sha256=0WO24IKi8VC8jsFdvNuzDsgNejyacQf6r9Q34jxhHc4,3844
|
78
78
|
corvic/system/_image_embedder.py,sha256=iQc3KlLcqrhP6K84hncHutThAN8Qd6K7K5dceHyU1TU,8373
|
@@ -86,7 +86,7 @@ corvic/system_sqlite/rdbms_blob_store.py,sha256=gTP_tQfTVb3wzZkzo8ys1zaz0rSrERzb
|
|
86
86
|
corvic/system_sqlite/staging.py,sha256=P6XdWhjpgcpOZkYxKEjpsTxaAdBKOeSVfARjqt4_xJA,16948
|
87
87
|
corvic/system_sqlite/__init__.py,sha256=F4UN9vFsXiDY2AKk1jYZPuWWJpSugKHS7ghXeZYlbZs,390
|
88
88
|
corvic/table/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
89
|
-
corvic/table/table.py,sha256=
|
89
|
+
corvic/table/table.py,sha256=drWy8vMODWBUy86UcZP34yHPx2ewoAqvsnsAMJKegB8,25538
|
90
90
|
corvic/table/__init__.py,sha256=Gj0IR8BQF5PZK92Us7PP0ZigMsVyrfWJupzH8TgzRQk,588
|
91
91
|
corvic/version/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
92
92
|
corvic/version/__init__.py,sha256=JlkRLvKXsu3zIxhdynO_0Ub5NfQOvGjfwCRkNnaOu9U,1125
|
@@ -146,7 +146,7 @@ corvic_generated/ingest/v2/pipeline_pb2.py,sha256=4g2VgPLjNeViGUr1HMPD-IDPzmjsVk
|
|
146
146
|
corvic_generated/ingest/v2/pipeline_pb2_grpc.py,sha256=as3vjtRrgdtmXGxnjLOa2DvpbGOHTCM7tSK3FnU9ZgY,8240
|
147
147
|
corvic_generated/ingest/v2/quick_mode_pb2.py,sha256=kgohWCGkdPowbVIWOgyYaWYLdbx6zYYAK_D7rVXjpNo,3090
|
148
148
|
corvic_generated/ingest/v2/quick_mode_pb2_grpc.py,sha256=Dfg1MPcY32kbsatdsrpVhvi_qdZPtW4wfLITqh9-FtU,4670
|
149
|
-
corvic_generated/ingest/v2/resource_pb2.py,sha256=
|
149
|
+
corvic_generated/ingest/v2/resource_pb2.py,sha256=gr3mdekbXEy62mfFdtcZ3L9UI2wJxm0brbJ1qmW0Jg0,14939
|
150
150
|
corvic_generated/ingest/v2/resource_pb2_grpc.py,sha256=Er-l9DfnUJVX3PFRAoKZonyPww1X8bn9PcC4ODHfX-g,17045
|
151
151
|
corvic_generated/ingest/v2/room_pb2.py,sha256=K4wgoqULRjM2d8LceWu0BaD_lIlQBVM3MMJCRqgizwY,7939
|
152
152
|
corvic_generated/ingest/v2/room_pb2_grpc.py,sha256=X_siQT8CLUwVFMDiP7WiTIMXX528FoPyhhUFUdoZgXI,11422
|
@@ -156,7 +156,7 @@ corvic_generated/ingest/v2/table_pb2.py,sha256=aTJHaliZm5DMtp7gslNxyn9uDagz-2-_e
|
|
156
156
|
corvic_generated/ingest/v2/table_pb2_grpc.py,sha256=tVs7wMWyAfvHcCQEiUOHLwaptKxgMFG6E7Ki9vNmmvQ,8151
|
157
157
|
corvic_generated/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
158
158
|
corvic_generated/model/v1alpha/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
159
|
-
corvic_generated/model/v1alpha/models_pb2.py,sha256=
|
159
|
+
corvic_generated/model/v1alpha/models_pb2.py,sha256=7lin-DfTxDO5Nc15ENUfKJ738FoOiIYCgmoPEqm_zKU,8396
|
160
160
|
corvic_generated/model/v1alpha/models_pb2_grpc.py,sha256=_bXoS025FcWrXR1E_3Mh4GHB1RMvgz8lIpit-Awnf-s,163
|
161
161
|
corvic_generated/orm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
162
162
|
corvic_generated/orm/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -212,7 +212,7 @@ corvic_generated/ingest/v2/pipeline_pb2.pyi,sha256=gHZOZqWuWHodaeC9jILerzPAL_7FH
|
|
212
212
|
corvic_generated/ingest/v2/pipeline_pb2_grpc.pyi,sha256=jZgC4p2o1ZHanRGtXm4cNAYhPnW8DDAFstX9XRFWq-8,3884
|
213
213
|
corvic_generated/ingest/v2/quick_mode_pb2.pyi,sha256=PJrxdh55ubvqQztrf4HflxyA7toJt27xejb041DwPs4,2456
|
214
214
|
corvic_generated/ingest/v2/quick_mode_pb2_grpc.pyi,sha256=DSiD0kV3Ffwsa7ZripP6LNHPu8Zbdo2hc48T-6ha54s,2369
|
215
|
-
corvic_generated/ingest/v2/resource_pb2.pyi,sha256=
|
215
|
+
corvic_generated/ingest/v2/resource_pb2.pyi,sha256=2k1C7ItaNRwzXWRAlEGCS0lgbdOZUAkS-60qBPQX9dk,9138
|
216
216
|
corvic_generated/ingest/v2/resource_pb2_grpc.pyi,sha256=4B-lF9IiGMNhgmz7QpuLtNpt9pisBP0DogRbrMkoyeA,11446
|
217
217
|
corvic_generated/ingest/v2/room_pb2.pyi,sha256=CJ9KXGSWJAk2_w4XYUsKA4ZeRGXUYd5vaDNwwXWpLyo,3989
|
218
218
|
corvic_generated/ingest/v2/room_pb2_grpc.pyi,sha256=BqV4DYhcW6tbmQl4_pftO69FwY2iVvelNWO76bQub3E,5104
|
@@ -220,7 +220,7 @@ corvic_generated/ingest/v2/source_pb2.pyi,sha256=k7FdbgurQLk0JA1WiTUerznzxLv8b50
|
|
220
220
|
corvic_generated/ingest/v2/source_pb2_grpc.pyi,sha256=VG5gpql2SREHgqMC_ycT-QJBVpPeSYKOYS2COgGrZa4,6195
|
221
221
|
corvic_generated/ingest/v2/table_pb2.pyi,sha256=p22F8kv0HfM-9OzGP88bLofxmUtxfLR5eVN0HOxXiEo,4382
|
222
222
|
corvic_generated/ingest/v2/table_pb2_grpc.pyi,sha256=AEXYNtrU4xyENumcCrkD2FmFV7T1UVidxxeZ5pyE4Qc,4554
|
223
|
-
corvic_generated/model/v1alpha/models_pb2.pyi,sha256=
|
223
|
+
corvic_generated/model/v1alpha/models_pb2.pyi,sha256=SvRogPuA09--C6uSOU5TPTFWvj0eqcome_JGt_EK5es,11087
|
224
224
|
corvic_generated/model/v1alpha/models_pb2_grpc.pyi,sha256=H9-ADaiKR9iyVZvmnXutZqWwRRCDxjUIktkfJrJFIHg,417
|
225
225
|
corvic_generated/orm/v1/agent_pb2.pyi,sha256=AxcZC0AJqiOyu_5quSMR-E0MjVhDY7b5ym4uZa7WFug,4670
|
226
226
|
corvic_generated/orm/v1/agent_pb2_grpc.pyi,sha256=H9-ADaiKR9iyVZvmnXutZqWwRRCDxjUIktkfJrJFIHg,417
|
@@ -244,5 +244,5 @@ corvic_generated/status/v1/event_pb2.pyi,sha256=eU-ibrYpvEAJSIDlSa62-bC96AQU1ykF
|
|
244
244
|
corvic_generated/status/v1/event_pb2_grpc.pyi,sha256=H9-ADaiKR9iyVZvmnXutZqWwRRCDxjUIktkfJrJFIHg,417
|
245
245
|
corvic_generated/status/v1/service_pb2.pyi,sha256=iXLR2FOKQJpBgvBzpD2kVwcYOCksP2aRwK4JYaI9CBw,558
|
246
246
|
corvic_generated/status/v1/service_pb2_grpc.pyi,sha256=OoAnaZ64FD0UTzPoRhYvQU8ecoilhHj3ySjSfHbVDaU,1501
|
247
|
-
corvic/engine/_native.pyd,sha256=
|
248
|
-
corvic_engine-0.3.
|
247
|
+
corvic/engine/_native.pyd,sha256=qW1jOU_N4O6RXm94vu2WGXfdd6c-nc5gj-cN38RAysk,438272
|
248
|
+
corvic_engine-0.3.0rc53.dist-info/RECORD,,
|
@@ -18,7 +18,7 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor
|
|
18
18
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
19
19
|
|
20
20
|
|
21
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63orvic/ingest/v2/resource.proto\x12\x10\x63orvic.ingest.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1c\x63orvic/status/v1/event.proto\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x89\x03\n\x10ResourceMetadata\x12\x1b\n\x04name\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x04name\x12\x1b\n\tmime_type\x18\x02 \x01(\tR\x08mimeType\x12y\n\x07room_id\x18\x03 \x01(\tB`\xbaH]\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x06roomId\x12#\n\roriginal_path\x18\x05 \x01(\tR\x0coriginalPath\x12 \n\x0b\x64\x65scription\x18\x06 \x01(\tR\x0b\x64\x65scription\x12\x1f\n\x0bpipeline_id\x18\x08 \x01(\tR\npipelineId\x12;\n\ttype_hint\x18\x04 \x01(\x0e\x32\x1e.corvic.ingest.v2.ResourceTypeR\x08typeHint\x12\x1b\n\x04size\x18\x07 \x01(\x03\x42\x07\xbaH\x04\"\x02 \x00R\x04size\"\xf7\x02\n\rResourceEntry\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\x04name\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x04name\x12\x1b\n\tmime_type\x18\x03 \x01(\tR\x08mimeType\x12\x10\n\x03md5\x18\x05 \x01(\tR\x03md5\x12\x17\n\x07room_id\x18\x06 \x01(\tR\x06roomId\x12\x12\n\x04size\x18\x07 \x01(\x04R\x04size\x12#\n\roriginal_path\x18\t \x01(\tR\x0coriginalPath\x12 \n\x0b\x64\x65scription\x18\x0b \x01(\tR\x0b\x64\x65scription\x12\x1f\n\x0bpipeline_id\x18\x0c \x01(\tR\npipelineId\x12\x37\n\x18referenced_by_source_ids\x18\n \x03(\tR\x15referencedBySourceIds\x12<\n\rrecent_events\x18\x08 \x03(\x0b\x32\x17.corvic.status.v1.EventR\x0crecentEvents\"p\n\x16\x43reateUploadURLRequest\x12>\n\x08metadata\x18\x01 \x01(\x0b\x32\".corvic.ingest.v2.ResourceMetadataR\x08metadata\x12\x16\n\x06origin\x18\x02 \x01(\tR\x06origin\"A\n\x17\x43reateUploadURLResponse\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"s\n\x15UploadURLTokenPayload\x12>\n\x08metadata\x18\x01 \x01(\x0b\x32\".corvic.ingest.v2.ResourceMetadataR\x08metadata\x12\x1a\n\x08\x66ilename\x18\x02 \x01(\tR\x08\x66ilename\"0\n\x18\x46inalizeUploadURLRequest\x12\x14\n\x05token\x18\x01 \x01(\tR\x05token\"R\n\x19\x46inalizeUploadURLResponse\x12\x35\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x05\x65ntry\"\x89\x01\n\x15\x44\x65leteResourceRequest\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\"\x18\n\x16\x44\x65leteResourceResponse\"\x86\x01\n\x12GetResourceRequest\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\"L\n\x13GetResourceResponse\x12\x35\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x05\x65ntry\"\x94\x01\n\x14ListResourcesRequest\x12|\n\x07room_id\x18\x01 \x01(\tBc\xbaH`\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')\xd0\x01\x01R\x06roomId\"N\n\x15ListResourcesResponse\x12\x35\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x05\x65ntry\"\x85\x01\n\x0cResourceList\x12u\n\x02id\x18\x01 \x03(\tBe\xbaHb\x92\x01_\"]\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x02id\"\xd4\x01\n\x15WatchResourcesRequest\x12{\n\x07room_id\x18\x01 \x01(\tB`\xbaH]\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')H\x00R\x06roomId\x12\x32\n\x03ids\x18\x02 \x01(\x0b\x32\x1e.corvic.ingest.v2.ResourceListH\x00R\x03idsB\n\n\x08selector\"d\n\x16WatchResourcesResponse\x12J\n\x10updated_resource\x18\x01 \x01(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x0fupdatedResource\"\
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63orvic/ingest/v2/resource.proto\x12\x10\x63orvic.ingest.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1c\x63orvic/status/v1/event.proto\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x89\x03\n\x10ResourceMetadata\x12\x1b\n\x04name\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x04name\x12\x1b\n\tmime_type\x18\x02 \x01(\tR\x08mimeType\x12y\n\x07room_id\x18\x03 \x01(\tB`\xbaH]\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x06roomId\x12#\n\roriginal_path\x18\x05 \x01(\tR\x0coriginalPath\x12 \n\x0b\x64\x65scription\x18\x06 \x01(\tR\x0b\x64\x65scription\x12\x1f\n\x0bpipeline_id\x18\x08 \x01(\tR\npipelineId\x12;\n\ttype_hint\x18\x04 \x01(\x0e\x32\x1e.corvic.ingest.v2.ResourceTypeR\x08typeHint\x12\x1b\n\x04size\x18\x07 \x01(\x03\x42\x07\xbaH\x04\"\x02 \x00R\x04size\"\xf7\x02\n\rResourceEntry\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\x04name\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x04name\x12\x1b\n\tmime_type\x18\x03 \x01(\tR\x08mimeType\x12\x10\n\x03md5\x18\x05 \x01(\tR\x03md5\x12\x17\n\x07room_id\x18\x06 \x01(\tR\x06roomId\x12\x12\n\x04size\x18\x07 \x01(\x04R\x04size\x12#\n\roriginal_path\x18\t \x01(\tR\x0coriginalPath\x12 \n\x0b\x64\x65scription\x18\x0b \x01(\tR\x0b\x64\x65scription\x12\x1f\n\x0bpipeline_id\x18\x0c \x01(\tR\npipelineId\x12\x37\n\x18referenced_by_source_ids\x18\n \x03(\tR\x15referencedBySourceIds\x12<\n\rrecent_events\x18\x08 \x03(\x0b\x32\x17.corvic.status.v1.EventR\x0crecentEvents\"p\n\x16\x43reateUploadURLRequest\x12>\n\x08metadata\x18\x01 \x01(\x0b\x32\".corvic.ingest.v2.ResourceMetadataR\x08metadata\x12\x16\n\x06origin\x18\x02 \x01(\tR\x06origin\"A\n\x17\x43reateUploadURLResponse\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"s\n\x15UploadURLTokenPayload\x12>\n\x08metadata\x18\x01 \x01(\x0b\x32\".corvic.ingest.v2.ResourceMetadataR\x08metadata\x12\x1a\n\x08\x66ilename\x18\x02 \x01(\tR\x08\x66ilename\"0\n\x18\x46inalizeUploadURLRequest\x12\x14\n\x05token\x18\x01 \x01(\tR\x05token\"R\n\x19\x46inalizeUploadURLResponse\x12\x35\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x05\x65ntry\"\x89\x01\n\x15\x44\x65leteResourceRequest\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\"\x18\n\x16\x44\x65leteResourceResponse\"\x86\x01\n\x12GetResourceRequest\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\"L\n\x13GetResourceResponse\x12\x35\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x05\x65ntry\"\x94\x01\n\x14ListResourcesRequest\x12|\n\x07room_id\x18\x01 \x01(\tBc\xbaH`\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')\xd0\x01\x01R\x06roomId\"N\n\x15ListResourcesResponse\x12\x35\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x05\x65ntry\"\x85\x01\n\x0cResourceList\x12u\n\x02id\x18\x01 \x03(\tBe\xbaHb\x92\x01_\"]\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x02id\"\xd4\x01\n\x15WatchResourcesRequest\x12{\n\x07room_id\x18\x01 \x01(\tB`\xbaH]\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')H\x00R\x06roomId\x12\x32\n\x03ids\x18\x02 \x01(\x0b\x32\x1e.corvic.ingest.v2.ResourceListH\x00R\x03idsB\n\n\x08selector\"d\n\x16WatchResourcesResponse\x12J\n\x10updated_resource\x18\x01 \x01(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x0fupdatedResource\"\xb5\x01\n#ListResourcesPaginatedCursorPayload\x12T\n\x19\x63reate_time_of_last_entry\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x15\x63reateTimeOfLastEntry\x12\x17\n\x07room_id\x18\x02 \x01(\tR\x06roomId\x12\x1f\n\x0bpipeline_id\x18\x03 \x01(\tR\npipelineId\"\xe6\x02\n\x1dListResourcesPaginatedRequest\x12|\n\x07room_id\x18\x01 \x01(\tBc\xbaH`\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')\xd0\x01\x01R\x06roomId\x12\x84\x01\n\x0bpipeline_id\x18\x04 \x01(\tBc\xbaH`\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')\xd0\x01\x01R\npipelineId\x12(\n\x10\x65ntries_per_page\x18\x02 \x01(\rR\x0e\x65ntriesPerPage\x12\x16\n\x06\x63ursor\x18\x03 \x01(\tR\x06\x63ursor\"\x91\x01\n\x1eListResourcesPaginatedResponse\x12J\n\x10resource_entries\x18\x03 \x03(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x0fresourceEntries\x12\x16\n\x06\x63ursor\x18\x02 \x01(\tR\x06\x63ursorJ\x04\x08\x01\x10\x02R\x05\x65ntry\"\x94\x01\n CreateResourceDownloadURLRequest\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\"5\n!CreateResourceDownloadURLResponse\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url*\xab\x01\n\x0cResourceType\x12\x1d\n\x19RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x13RESOURCE_TYPE_TABLE\x10\x01\x1a\x02\x08\x01\x12!\n\x1dRESOURCE_TYPE_DIMENSION_TABLE\x10\x02\x12\x1c\n\x18RESOURCE_TYPE_FACT_TABLE\x10\x03\x12\x1e\n\x1aRESOURCE_TYPE_PDF_DOCUMENT\x10\x04\x32\x97\x07\n\x0fResourceService\x12h\n\x0f\x43reateUploadURL\x12(.corvic.ingest.v2.CreateUploadURLRequest\x1a).corvic.ingest.v2.CreateUploadURLResponse\"\x00\x12q\n\x11\x46inalizeUploadURL\x12*.corvic.ingest.v2.FinalizeUploadURLRequest\x1a+.corvic.ingest.v2.FinalizeUploadURLResponse\"\x03\x90\x02\x02\x12\x65\n\x0e\x44\x65leteResource\x12\'.corvic.ingest.v2.DeleteResourceRequest\x1a(.corvic.ingest.v2.DeleteResourceResponse\"\x00\x12_\n\x0bGetResource\x12$.corvic.ingest.v2.GetResourceRequest\x1a%.corvic.ingest.v2.GetResourceResponse\"\x03\x90\x02\x01\x12g\n\rListResources\x12&.corvic.ingest.v2.ListResourcesRequest\x1a\'.corvic.ingest.v2.ListResourcesResponse\"\x03\x90\x02\x01\x30\x01\x12\x80\x01\n\x16ListResourcesPaginated\x12/.corvic.ingest.v2.ListResourcesPaginatedRequest\x1a\x30.corvic.ingest.v2.ListResourcesPaginatedResponse\"\x03\x90\x02\x01\x12j\n\x0eWatchResources\x12\'.corvic.ingest.v2.WatchResourcesRequest\x1a(.corvic.ingest.v2.WatchResourcesResponse\"\x03\x90\x02\x01\x30\x01\x12\x86\x01\n\x19\x43reateResourceDownloadURL\x12\x32.corvic.ingest.v2.CreateResourceDownloadURLRequest\x1a\x33.corvic.ingest.v2.CreateResourceDownloadURLResponse\"\x00\x62\x06proto3')
|
22
22
|
|
23
23
|
_globals = globals()
|
24
24
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -47,6 +47,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
47
47
|
_globals['_WATCHRESOURCESREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H]\272\001Z\n\016string.pattern\022\026value must be a number\0320this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')'
|
48
48
|
_globals['_LISTRESOURCESPAGINATEDREQUEST'].fields_by_name['room_id']._options = None
|
49
49
|
_globals['_LISTRESOURCESPAGINATEDREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H`\272\001Z\n\016string.pattern\022\026value must be a number\0320this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')\320\001\001'
|
50
|
+
_globals['_LISTRESOURCESPAGINATEDREQUEST'].fields_by_name['pipeline_id']._options = None
|
51
|
+
_globals['_LISTRESOURCESPAGINATEDREQUEST'].fields_by_name['pipeline_id']._serialized_options = b'\272H`\272\001Z\n\016string.pattern\022\026value must be a number\0320this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')\320\001\001'
|
50
52
|
_globals['_CREATERESOURCEDOWNLOADURLREQUEST'].fields_by_name['id']._options = None
|
51
53
|
_globals['_CREATERESOURCEDOWNLOADURLREQUEST'].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\')'
|
52
54
|
_globals['_RESOURCESERVICE'].methods_by_name['FinalizeUploadURL']._options = None
|
@@ -59,8 +61,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
59
61
|
_globals['_RESOURCESERVICE'].methods_by_name['ListResourcesPaginated']._serialized_options = b'\220\002\001'
|
60
62
|
_globals['_RESOURCESERVICE'].methods_by_name['WatchResources']._options = None
|
61
63
|
_globals['_RESOURCESERVICE'].methods_by_name['WatchResources']._serialized_options = b'\220\002\001'
|
62
|
-
_globals['_RESOURCETYPE']._serialized_start=
|
63
|
-
_globals['_RESOURCETYPE']._serialized_end=
|
64
|
+
_globals['_RESOURCETYPE']._serialized_start=3350
|
65
|
+
_globals['_RESOURCETYPE']._serialized_end=3521
|
64
66
|
_globals['_RESOURCEMETADATA']._serialized_start=180
|
65
67
|
_globals['_RESOURCEMETADATA']._serialized_end=573
|
66
68
|
_globals['_RESOURCEENTRY']._serialized_start=576
|
@@ -94,15 +96,15 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
94
96
|
_globals['_WATCHRESOURCESRESPONSE']._serialized_start=2348
|
95
97
|
_globals['_WATCHRESOURCESRESPONSE']._serialized_end=2448
|
96
98
|
_globals['_LISTRESOURCESPAGINATEDCURSORPAYLOAD']._serialized_start=2451
|
97
|
-
_globals['_LISTRESOURCESPAGINATEDCURSORPAYLOAD']._serialized_end=
|
98
|
-
_globals['_LISTRESOURCESPAGINATEDREQUEST']._serialized_start=
|
99
|
-
_globals['_LISTRESOURCESPAGINATEDREQUEST']._serialized_end=
|
100
|
-
_globals['_LISTRESOURCESPAGINATEDRESPONSE']._serialized_start=
|
101
|
-
_globals['_LISTRESOURCESPAGINATEDRESPONSE']._serialized_end=
|
102
|
-
_globals['_CREATERESOURCEDOWNLOADURLREQUEST']._serialized_start=
|
103
|
-
_globals['_CREATERESOURCEDOWNLOADURLREQUEST']._serialized_end=
|
104
|
-
_globals['_CREATERESOURCEDOWNLOADURLRESPONSE']._serialized_start=
|
105
|
-
_globals['_CREATERESOURCEDOWNLOADURLRESPONSE']._serialized_end=
|
106
|
-
_globals['_RESOURCESERVICE']._serialized_start=
|
107
|
-
_globals['_RESOURCESERVICE']._serialized_end=
|
99
|
+
_globals['_LISTRESOURCESPAGINATEDCURSORPAYLOAD']._serialized_end=2632
|
100
|
+
_globals['_LISTRESOURCESPAGINATEDREQUEST']._serialized_start=2635
|
101
|
+
_globals['_LISTRESOURCESPAGINATEDREQUEST']._serialized_end=2993
|
102
|
+
_globals['_LISTRESOURCESPAGINATEDRESPONSE']._serialized_start=2996
|
103
|
+
_globals['_LISTRESOURCESPAGINATEDRESPONSE']._serialized_end=3141
|
104
|
+
_globals['_CREATERESOURCEDOWNLOADURLREQUEST']._serialized_start=3144
|
105
|
+
_globals['_CREATERESOURCEDOWNLOADURLREQUEST']._serialized_end=3292
|
106
|
+
_globals['_CREATERESOURCEDOWNLOADURLRESPONSE']._serialized_start=3294
|
107
|
+
_globals['_CREATERESOURCEDOWNLOADURLRESPONSE']._serialized_end=3347
|
108
|
+
_globals['_RESOURCESERVICE']._serialized_start=3524
|
109
|
+
_globals['_RESOURCESERVICE']._serialized_end=4443
|
108
110
|
# @@protoc_insertion_point(module_scope)
|
@@ -160,30 +160,34 @@ class WatchResourcesResponse(_message.Message):
|
|
160
160
|
def __init__(self, updated_resource: _Optional[_Union[ResourceEntry, _Mapping]] = ...) -> None: ...
|
161
161
|
|
162
162
|
class ListResourcesPaginatedCursorPayload(_message.Message):
|
163
|
-
__slots__ = ("create_time_of_last_entry", "room_id")
|
163
|
+
__slots__ = ("create_time_of_last_entry", "room_id", "pipeline_id")
|
164
164
|
CREATE_TIME_OF_LAST_ENTRY_FIELD_NUMBER: _ClassVar[int]
|
165
165
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
166
|
+
PIPELINE_ID_FIELD_NUMBER: _ClassVar[int]
|
166
167
|
create_time_of_last_entry: _timestamp_pb2.Timestamp
|
167
168
|
room_id: str
|
168
|
-
|
169
|
+
pipeline_id: str
|
170
|
+
def __init__(self, create_time_of_last_entry: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., room_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ...) -> None: ...
|
169
171
|
|
170
172
|
class ListResourcesPaginatedRequest(_message.Message):
|
171
|
-
__slots__ = ("room_id", "entries_per_page", "cursor")
|
173
|
+
__slots__ = ("room_id", "pipeline_id", "entries_per_page", "cursor")
|
172
174
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
175
|
+
PIPELINE_ID_FIELD_NUMBER: _ClassVar[int]
|
173
176
|
ENTRIES_PER_PAGE_FIELD_NUMBER: _ClassVar[int]
|
174
177
|
CURSOR_FIELD_NUMBER: _ClassVar[int]
|
175
178
|
room_id: str
|
179
|
+
pipeline_id: str
|
176
180
|
entries_per_page: int
|
177
181
|
cursor: str
|
178
|
-
def __init__(self, room_id: _Optional[str] = ..., entries_per_page: _Optional[int] = ..., cursor: _Optional[str] = ...) -> None: ...
|
182
|
+
def __init__(self, room_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., entries_per_page: _Optional[int] = ..., cursor: _Optional[str] = ...) -> None: ...
|
179
183
|
|
180
184
|
class ListResourcesPaginatedResponse(_message.Message):
|
181
|
-
__slots__ = ("
|
182
|
-
|
185
|
+
__slots__ = ("resource_entries", "cursor")
|
186
|
+
RESOURCE_ENTRIES_FIELD_NUMBER: _ClassVar[int]
|
183
187
|
CURSOR_FIELD_NUMBER: _ClassVar[int]
|
184
|
-
|
188
|
+
resource_entries: _containers.RepeatedCompositeFieldContainer[ResourceEntry]
|
185
189
|
cursor: str
|
186
|
-
def __init__(self,
|
190
|
+
def __init__(self, resource_entries: _Optional[_Iterable[_Union[ResourceEntry, _Mapping]]] = ..., cursor: _Optional[str] = ...) -> None: ...
|
187
191
|
|
188
192
|
class CreateResourceDownloadURLRequest(_message.Message):
|
189
193
|
__slots__ = ("id",)
|
@@ -22,37 +22,33 @@ from corvic_generated.status.v1 import event_pb2 as corvic_dot_status_dot_v1_dot
|
|
22
22
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
23
23
|
|
24
24
|
|
25
|
-
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$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\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\"\
|
25
|
+
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$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\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\"\xd8\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\x13pipeline_input_name\x18\x0f \x01(\tR\x11pipelineInputName\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\"\xe9\x03\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\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^\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\"\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_atb\x06proto3')
|
26
26
|
|
27
27
|
_globals = globals()
|
28
28
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
29
29
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'corvic.model.v1alpha.models_pb2', _globals)
|
30
30
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
31
31
|
DESCRIPTOR._options = None
|
32
|
-
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._options = None
|
33
|
-
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_options = b'8\001'
|
34
32
|
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._options = None
|
35
33
|
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_options = b'8\001'
|
36
34
|
_globals['_ROOM']._serialized_start=306
|
37
35
|
_globals['_ROOM']._serialized_end=450
|
38
36
|
_globals['_RESOURCE']._serialized_start=453
|
39
|
-
_globals['_RESOURCE']._serialized_end=
|
40
|
-
_globals['_SOURCE']._serialized_start=
|
41
|
-
_globals['_SOURCE']._serialized_end=
|
42
|
-
_globals['_PIPELINE']._serialized_start=
|
43
|
-
_globals['_PIPELINE']._serialized_end=
|
44
|
-
_globals['
|
45
|
-
_globals['
|
46
|
-
_globals['
|
47
|
-
_globals['
|
48
|
-
_globals['
|
49
|
-
_globals['
|
50
|
-
_globals['
|
51
|
-
_globals['
|
52
|
-
_globals['
|
53
|
-
_globals['
|
54
|
-
_globals['
|
55
|
-
_globals['
|
56
|
-
_globals['_COMPLETIONMODEL']._serialized_start=3233
|
57
|
-
_globals['_COMPLETIONMODEL']._serialized_end=3534
|
37
|
+
_globals['_RESOURCE']._serialized_end=925
|
38
|
+
_globals['_SOURCE']._serialized_start=928
|
39
|
+
_globals['_SOURCE']._serialized_end=1201
|
40
|
+
_globals['_PIPELINE']._serialized_start=1204
|
41
|
+
_globals['_PIPELINE']._serialized_end=1693
|
42
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_start=1584
|
43
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_end=1678
|
44
|
+
_globals['_FEATUREVIEWSOURCE']._serialized_start=1696
|
45
|
+
_globals['_FEATUREVIEWSOURCE']._serialized_end=2026
|
46
|
+
_globals['_FEATUREVIEW']._serialized_start=2029
|
47
|
+
_globals['_FEATUREVIEW']._serialized_end=2441
|
48
|
+
_globals['_SPACE']._serialized_start=2444
|
49
|
+
_globals['_SPACE']._serialized_end=2822
|
50
|
+
_globals['_AGENT']._serialized_start=2825
|
51
|
+
_globals['_AGENT']._serialized_end=3086
|
52
|
+
_globals['_COMPLETIONMODEL']._serialized_start=3089
|
53
|
+
_globals['_COMPLETIONMODEL']._serialized_end=3390
|
58
54
|
# @@protoc_insertion_point(module_scope)
|
@@ -26,7 +26,7 @@ class Room(_message.Message):
|
|
26
26
|
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
27
27
|
|
28
28
|
class Resource(_message.Message):
|
29
|
-
__slots__ = ("id", "name", "description", "mime_type", "url", "size", "md5", "original_path", "room_id", "org_id", "pipeline_id", "recent_events", "created_at")
|
29
|
+
__slots__ = ("id", "name", "description", "mime_type", "url", "size", "md5", "original_path", "room_id", "org_id", "pipeline_id", "pipeline_input_name", "recent_events", "created_at")
|
30
30
|
ID_FIELD_NUMBER: _ClassVar[int]
|
31
31
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
32
32
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
@@ -38,6 +38,7 @@ class Resource(_message.Message):
|
|
38
38
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
39
39
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
40
40
|
PIPELINE_ID_FIELD_NUMBER: _ClassVar[int]
|
41
|
+
PIPELINE_INPUT_NAME_FIELD_NUMBER: _ClassVar[int]
|
41
42
|
RECENT_EVENTS_FIELD_NUMBER: _ClassVar[int]
|
42
43
|
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
43
44
|
id: str
|
@@ -51,9 +52,10 @@ class Resource(_message.Message):
|
|
51
52
|
room_id: str
|
52
53
|
org_id: str
|
53
54
|
pipeline_id: str
|
55
|
+
pipeline_input_name: str
|
54
56
|
recent_events: _containers.RepeatedCompositeFieldContainer[_event_pb2.Event]
|
55
57
|
created_at: _timestamp_pb2.Timestamp
|
56
|
-
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: ...
|
58
|
+
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] = ..., pipeline_input_name: _Optional[str] = ..., recent_events: _Optional[_Iterable[_Union[_event_pb2.Event, _Mapping]]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
57
59
|
|
58
60
|
class Source(_message.Message):
|
59
61
|
__slots__ = ("id", "name", "table_op_graph", "room_id", "org_id", "pipeline_id", "created_at")
|
@@ -74,14 +76,7 @@ class Source(_message.Message):
|
|
74
76
|
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: ...
|
75
77
|
|
76
78
|
class Pipeline(_message.Message):
|
77
|
-
__slots__ = ("id", "name", "description", "room_id", "
|
78
|
-
class ResourceInputsEntry(_message.Message):
|
79
|
-
__slots__ = ("key", "value")
|
80
|
-
KEY_FIELD_NUMBER: _ClassVar[int]
|
81
|
-
VALUE_FIELD_NUMBER: _ClassVar[int]
|
82
|
-
key: str
|
83
|
-
value: Resource
|
84
|
-
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[Resource, _Mapping]] = ...) -> None: ...
|
79
|
+
__slots__ = ("id", "name", "description", "room_id", "source_outputs", "pipeline_transformation", "org_id", "created_at")
|
85
80
|
class SourceOutputsEntry(_message.Message):
|
86
81
|
__slots__ = ("key", "value")
|
87
82
|
KEY_FIELD_NUMBER: _ClassVar[int]
|
@@ -93,7 +88,6 @@ class Pipeline(_message.Message):
|
|
93
88
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
94
89
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
95
90
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
96
|
-
RESOURCE_INPUTS_FIELD_NUMBER: _ClassVar[int]
|
97
91
|
SOURCE_OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
98
92
|
PIPELINE_TRANSFORMATION_FIELD_NUMBER: _ClassVar[int]
|
99
93
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
@@ -102,12 +96,11 @@ class Pipeline(_message.Message):
|
|
102
96
|
name: str
|
103
97
|
description: str
|
104
98
|
room_id: str
|
105
|
-
resource_inputs: _containers.MessageMap[str, Resource]
|
106
99
|
source_outputs: _containers.MessageMap[str, Source]
|
107
100
|
pipeline_transformation: _pipeline_pb2.PipelineTransformation
|
108
101
|
org_id: str
|
109
102
|
created_at: _timestamp_pb2.Timestamp
|
110
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ...,
|
103
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ..., 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: ...
|
111
104
|
|
112
105
|
class FeatureViewSource(_message.Message):
|
113
106
|
__slots__ = ("id", "source", "table_op_graph", "drop_disconnected", "org_id", "created_at", "room_id")
|
File without changes
|
File without changes
|