corvic-engine 0.3.0rc55__cp38-abi3-win_amd64.whl → 0.3.0rc57__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/embed/node2vec.py +2 -2
- corvic/engine/_native.pyd +0 -0
- corvic/model/__init__.py +25 -1
- corvic/model/_agent.py +2 -6
- corvic/model/_base_model.py +43 -21
- corvic/model/_completion_model.py +4 -6
- corvic/model/_feature_view.py +4 -6
- corvic/model/_pipeline.py +2 -6
- corvic/model/_proto_orm_convert.py +123 -164
- corvic/model/_resource.py +2 -6
- corvic/model/_room.py +2 -2
- corvic/model/_source.py +10 -6
- corvic/model/_space.py +13 -10
- corvic/op_graph/_schema.py +2 -4
- corvic/op_graph/ops.py +30 -12
- corvic/orm/__init__.py +22 -16
- corvic/orm/base.py +1 -1
- corvic/system/in_memory_executor.py +42 -12
- corvic/table/table.py +9 -3
- {corvic_engine-0.3.0rc55.dist-info → corvic_engine-0.3.0rc57.dist-info}/METADATA +1 -1
- {corvic_engine-0.3.0rc55.dist-info → corvic_engine-0.3.0rc57.dist-info}/RECORD +25 -25
- {corvic_engine-0.3.0rc55.dist-info → corvic_engine-0.3.0rc57.dist-info}/WHEEL +1 -1
- corvic_generated/model/v1alpha/models_pb2.py +16 -16
- corvic_generated/model/v1alpha/models_pb2.pyi +4 -2
- {corvic_engine-0.3.0rc55.dist-info → corvic_engine-0.3.0rc57.dist-info}/licenses/LICENSE +0 -0
corvic/op_graph/ops.py
CHANGED
@@ -59,7 +59,7 @@ from corvic.op_graph.row_filters import RowFilter
|
|
59
59
|
from corvic.op_graph.row_filters import from_proto as row_filters_from_proto
|
60
60
|
from corvic.op_graph.sample_strategy import SampleStrategy
|
61
61
|
from corvic.op_graph.sample_strategy import from_proto as sample_strategy_from_proto
|
62
|
-
from corvic.pa_scalar import PyValue, from_value, to_value
|
62
|
+
from corvic.pa_scalar import PyValue, Scalar, from_value, to_value
|
63
63
|
from corvic.proto_wrapper import OneofProtoWrapper
|
64
64
|
from corvic.result import InternalError, InvalidArgumentError, Ok
|
65
65
|
from corvic_generated.algorithm.graph.v1 import graph_pb2
|
@@ -1275,7 +1275,7 @@ class _Base(OneofProtoWrapper[table_pb2.TableComputeOp], ABC):
|
|
1275
1275
|
def add_literal_column(
|
1276
1276
|
self,
|
1277
1277
|
column_name: str,
|
1278
|
-
literal: struct_pb2.Value |
|
1278
|
+
literal: struct_pb2.Value | Scalar | PyValue,
|
1279
1279
|
dtype: pa.DataType,
|
1280
1280
|
ftype: FeatureType | None = None,
|
1281
1281
|
) -> Ok[AddLiteralColumn] | InvalidArgumentError:
|
@@ -1313,8 +1313,13 @@ class _Base(OneofProtoWrapper[table_pb2.TableComputeOp], ABC):
|
|
1313
1313
|
separator: str,
|
1314
1314
|
) -> Ok[CombineColumns] | InvalidArgumentError:
|
1315
1315
|
for col in column_names:
|
1316
|
-
|
1316
|
+
field = self.schema.get(col)
|
1317
|
+
if not field:
|
1317
1318
|
return InvalidArgumentError("no column with given name", given_name=col)
|
1319
|
+
if pa.types.is_binary(field.dtype) | pa.types.is_large_binary(field.dtype):
|
1320
|
+
return InvalidArgumentError(
|
1321
|
+
"cannot concat binary columns", given_name=col
|
1322
|
+
)
|
1318
1323
|
|
1319
1324
|
if self.schema.has_column(combined_column_name):
|
1320
1325
|
return InvalidArgumentError("name given for combined column already exists")
|
@@ -1698,6 +1703,9 @@ class _Base(OneofProtoWrapper[table_pb2.TableComputeOp], ABC):
|
|
1698
1703
|
Returns:
|
1699
1704
|
An AddDecisionTreeSummaryOp.
|
1700
1705
|
"""
|
1706
|
+
if max_depth < 0:
|
1707
|
+
return InvalidArgumentError("max_depth must be strictly positive")
|
1708
|
+
|
1701
1709
|
return Ok(
|
1702
1710
|
from_proto(
|
1703
1711
|
table_pb2.AddDecisionTreeSummaryOp(
|
@@ -2938,16 +2946,26 @@ def _make_schema_for_combine_columns(op: CombineColumns):
|
|
2938
2946
|
if column.ftype != ftype:
|
2939
2947
|
ftype = feature_type.unknown()
|
2940
2948
|
|
2941
|
-
|
2942
|
-
|
2943
|
-
|
2944
|
-
|
2949
|
+
if op.column_names:
|
2950
|
+
dtype = (
|
2951
|
+
pl.DataFrame(schema=schema.to_polars())
|
2952
|
+
.with_columns(
|
2953
|
+
pl.concat_list(*op.column_names).alias(op.combined_column_name)
|
2954
|
+
)
|
2955
|
+
.to_arrow()
|
2956
|
+
.schema.field(op.combined_column_name)
|
2957
|
+
.type
|
2958
|
+
)
|
2959
|
+
else:
|
2960
|
+
dtype = (
|
2961
|
+
pl.DataFrame(schema=schema.to_polars())
|
2962
|
+
.with_columns(
|
2963
|
+
pl.Series(op.combined_column_name, [], pl.List(pl.Float32))
|
2964
|
+
)
|
2965
|
+
.to_arrow()
|
2966
|
+
.schema.field(op.combined_column_name)
|
2967
|
+
.type
|
2945
2968
|
)
|
2946
|
-
.to_arrow()
|
2947
|
-
.schema.field(op.combined_column_name)
|
2948
|
-
.type
|
2949
|
-
)
|
2950
|
-
|
2951
2969
|
return Schema(
|
2952
2970
|
[
|
2953
2971
|
*op.source.schema,
|
corvic/orm/__init__.py
CHANGED
@@ -39,6 +39,7 @@ from corvic.orm.keys import (
|
|
39
39
|
ForeignKey,
|
40
40
|
primary_key_foreign_column,
|
41
41
|
primary_key_identity_column,
|
42
|
+
primary_key_uuid_column,
|
42
43
|
)
|
43
44
|
from corvic.orm.mixins import (
|
44
45
|
BelongsToOrgMixin,
|
@@ -66,11 +67,11 @@ from corvic_generated.status.v1 import event_pb2
|
|
66
67
|
# and if sub-orm-model updates are required they are explicit.
|
67
68
|
|
68
69
|
|
69
|
-
class Org(SoftDeleteMixin, OrgBase):
|
70
|
+
class Org(SoftDeleteMixin, OrgBase, kw_only=True):
|
70
71
|
"""An organization it a top level grouping of resources."""
|
71
72
|
|
72
73
|
|
73
|
-
class Room(BelongsToOrgMixin, SoftDeleteMixin, Base):
|
74
|
+
class Room(BelongsToOrgMixin, SoftDeleteMixin, Base, kw_only=True):
|
74
75
|
"""A Room is a logical collection of Documents."""
|
75
76
|
|
76
77
|
__tablename__ = "room"
|
@@ -88,15 +89,17 @@ class BelongsToRoomMixin(sa_orm.MappedAsDataclass):
|
|
88
89
|
room_id: sa_orm.Mapped[RoomID | None] = sa_orm.mapped_column(
|
89
90
|
ForeignKey(Room).make(ondelete="CASCADE"),
|
90
91
|
nullable=True,
|
92
|
+
default=None,
|
91
93
|
)
|
92
94
|
|
93
95
|
|
94
|
-
class DefaultObjects(Base):
|
96
|
+
class DefaultObjects(Base, kw_only=True):
|
95
97
|
"""Holds the identifiers for default objects."""
|
96
98
|
|
97
99
|
__tablename__ = "default_objects"
|
98
|
-
default_org: sa_orm.Mapped[OrgID] = sa_orm.mapped_column(
|
99
|
-
ForeignKey(Org).make(ondelete="CASCADE")
|
100
|
+
default_org: sa_orm.Mapped[OrgID | None] = sa_orm.mapped_column(
|
101
|
+
ForeignKey(Org).make(ondelete="CASCADE"),
|
102
|
+
nullable=False,
|
100
103
|
)
|
101
104
|
default_room: sa_orm.Mapped[RoomID | None] = sa_orm.mapped_column(
|
102
105
|
ForeignKey(Room).make(ondelete="CASCADE"), nullable=True, default=None
|
@@ -104,7 +107,7 @@ class DefaultObjects(Base):
|
|
104
107
|
version: sa_orm.Mapped[int | None] = primary_key_identity_column(type_=INT_PK_TYPE)
|
105
108
|
|
106
109
|
|
107
|
-
class Resource(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
110
|
+
class Resource(BelongsToOrgMixin, BelongsToRoomMixin, Base, kw_only=True):
|
108
111
|
"""A Resource is a reference to some durably stored file.
|
109
112
|
|
110
113
|
E.g., a document could be a PDF file, an image, or a text transcript of a
|
@@ -129,7 +132,7 @@ class Resource(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
129
132
|
)
|
130
133
|
|
131
134
|
|
132
|
-
class Source(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
135
|
+
class Source(BelongsToOrgMixin, BelongsToRoomMixin, Base, kw_only=True):
|
133
136
|
"""A source."""
|
134
137
|
|
135
138
|
__tablename__ = "source"
|
@@ -152,7 +155,7 @@ class Source(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
152
155
|
return self.name
|
153
156
|
|
154
157
|
|
155
|
-
class Pipeline(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
158
|
+
class Pipeline(BelongsToOrgMixin, BelongsToRoomMixin, Base, kw_only=True):
|
156
159
|
"""A resource to source pipeline."""
|
157
160
|
|
158
161
|
__tablename__ = "pipeline"
|
@@ -172,7 +175,7 @@ class Pipeline(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
172
175
|
)
|
173
176
|
|
174
177
|
|
175
|
-
class PipelineInput(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
178
|
+
class PipelineInput(BelongsToOrgMixin, BelongsToRoomMixin, Base, kw_only=True):
|
176
179
|
"""Pipeline input resources."""
|
177
180
|
|
178
181
|
__tablename__ = "pipeline_input"
|
@@ -190,7 +193,7 @@ class PipelineInput(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
190
193
|
)
|
191
194
|
|
192
195
|
|
193
|
-
class PipelineOutput(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
196
|
+
class PipelineOutput(BelongsToOrgMixin, BelongsToRoomMixin, Base, kw_only=True):
|
194
197
|
"""Objects for tracking pipeline output sources."""
|
195
198
|
|
196
199
|
__tablename__ = "pipeline_output"
|
@@ -208,7 +211,9 @@ class PipelineOutput(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
208
211
|
)
|
209
212
|
|
210
213
|
|
211
|
-
class FeatureView(
|
214
|
+
class FeatureView(
|
215
|
+
SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base, kw_only=True
|
216
|
+
):
|
212
217
|
"""A FeatureView is a logical collection of sources used by various spaces."""
|
213
218
|
|
214
219
|
__tablename__ = "feature_view"
|
@@ -233,7 +238,7 @@ class FeatureView(SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
233
238
|
)
|
234
239
|
|
235
240
|
|
236
|
-
class FeatureViewSource(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
241
|
+
class FeatureViewSource(BelongsToOrgMixin, BelongsToRoomMixin, Base, kw_only=True):
|
237
242
|
"""A source inside of a feature view."""
|
238
243
|
|
239
244
|
__tablename__ = "feature_view_source"
|
@@ -257,7 +262,7 @@ class FeatureViewSource(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
257
262
|
)
|
258
263
|
|
259
264
|
|
260
|
-
class Space(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
265
|
+
class Space(BelongsToOrgMixin, BelongsToRoomMixin, Base, kw_only=True):
|
261
266
|
"""A space is a named evaluation of space parameters."""
|
262
267
|
|
263
268
|
__tablename__ = "space"
|
@@ -322,7 +327,7 @@ class SpaceRun(BelongsToOrgMixin, BelongsToRoomMixin, Base, kw_only=True):
|
|
322
327
|
)
|
323
328
|
|
324
329
|
|
325
|
-
class Agent(SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
330
|
+
class Agent(SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base, kw_only=True):
|
326
331
|
"""An Agent."""
|
327
332
|
|
328
333
|
__tablename__ = "agent"
|
@@ -344,7 +349,7 @@ class Agent(SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
344
349
|
)
|
345
350
|
|
346
351
|
|
347
|
-
class AgentSpaceAssociation(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
352
|
+
class AgentSpaceAssociation(BelongsToOrgMixin, BelongsToRoomMixin, Base, kw_only=True):
|
348
353
|
__tablename__ = "agent_space_association"
|
349
354
|
|
350
355
|
space_run_id: sa_orm.Mapped[SpaceRunID | None] = sa_orm.mapped_column(
|
@@ -358,7 +363,7 @@ class AgentSpaceAssociation(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
358
363
|
)
|
359
364
|
|
360
365
|
|
361
|
-
class CompletionModel(SoftDeleteMixin, BelongsToOrgMixin, Base):
|
366
|
+
class CompletionModel(SoftDeleteMixin, BelongsToOrgMixin, Base, kw_only=True):
|
362
367
|
"""A customer's custom completion model definition."""
|
363
368
|
|
364
369
|
__tablename__ = "completion_model"
|
@@ -441,6 +446,7 @@ __all__ = [
|
|
441
446
|
"UserMessageID",
|
442
447
|
"primary_key_foreign_column",
|
443
448
|
"primary_key_identity_column",
|
449
|
+
"primary_key_uuid_column",
|
444
450
|
"ProtoMessageDecorator",
|
445
451
|
"IntIDDecorator",
|
446
452
|
]
|
corvic/orm/base.py
CHANGED
@@ -178,7 +178,7 @@ class OrgBase(Base):
|
|
178
178
|
# overriding table_args is the recommending way of defining these base model types
|
179
179
|
__table_args__: ClassVar[Any] = ({"extend_existing": True},)
|
180
180
|
|
181
|
-
id: sa_orm.Mapped[OrgID] = primary_key_uuid_column()
|
181
|
+
id: sa_orm.Mapped[OrgID | None] = primary_key_uuid_column()
|
182
182
|
|
183
183
|
@property
|
184
184
|
def name(self) -> str:
|
@@ -12,6 +12,7 @@ from typing import Any, Final, cast
|
|
12
12
|
|
13
13
|
import numpy as np
|
14
14
|
import polars as pl
|
15
|
+
import polars.selectors as cs
|
15
16
|
import pyarrow as pa
|
16
17
|
import pyarrow.parquet as pq
|
17
18
|
import structlog
|
@@ -778,9 +779,14 @@ class InMemoryExecutor(OpGraphExecutor):
|
|
778
779
|
)
|
779
780
|
|
780
781
|
case op_graph.ConcatList():
|
781
|
-
|
782
|
-
|
783
|
-
|
782
|
+
if op.column_names:
|
783
|
+
result_df = source_df.with_columns(
|
784
|
+
pl.concat_list(*op.column_names).alias(op.combined_column_name)
|
785
|
+
)
|
786
|
+
else:
|
787
|
+
result_df = source_df.with_columns(
|
788
|
+
pl.Series(op.combined_column_name, [])
|
789
|
+
)
|
784
790
|
|
785
791
|
return Ok(_SchemaAndBatches.from_dataframe(result_df, source_batches.metrics))
|
786
792
|
|
@@ -1394,17 +1400,41 @@ class InMemoryExecutor(OpGraphExecutor):
|
|
1394
1400
|
pass
|
1395
1401
|
case err:
|
1396
1402
|
return err
|
1403
|
+
|
1397
1404
|
df_input = _as_df(source_batches)
|
1405
|
+
dataframe = df_input[list({*op.feature_column_names, op.label_column_name})]
|
1406
|
+
boolean_columns = [
|
1407
|
+
name
|
1408
|
+
for name, dtype in dataframe.schema.items()
|
1409
|
+
if dtype == pl.Boolean() and name in op.feature_column_names
|
1410
|
+
]
|
1398
1411
|
|
1399
|
-
|
1400
|
-
|
1412
|
+
# Drop Nan and Null and infinite rows as not supported by decision tree
|
1413
|
+
dataframe = dataframe.with_columns(
|
1414
|
+
*[pl.col(col).cast(pl.Float32) for col in op.feature_column_names]
|
1415
|
+
)
|
1416
|
+
dataframe = dataframe.drop_nans().drop_nulls()
|
1417
|
+
try:
|
1418
|
+
# is_infinite is not implemented for all datatypes
|
1419
|
+
dataframe = dataframe.filter(~pl.any_horizontal(cs.numeric().is_infinite()))
|
1420
|
+
except pl.exceptions.InvalidOperationError as err:
|
1421
|
+
return InvalidArgumentError.from_(err)
|
1422
|
+
|
1423
|
+
if not len(dataframe):
|
1424
|
+
return InvalidArgumentError(
|
1425
|
+
"a minimum of 1 sample is required by DecisionTreeClassifier"
|
1426
|
+
)
|
1427
|
+
features = dataframe[op.feature_column_names]
|
1428
|
+
classes = dataframe[op.label_column_name]
|
1401
1429
|
max_depth = op.max_depth
|
1402
1430
|
|
1403
|
-
binary_columns = [
|
1404
|
-
name for name, dtype in features.schema.items() if dtype == pl.Boolean()
|
1405
|
-
]
|
1406
|
-
|
1407
1431
|
from sklearn.tree import DecisionTreeClassifier, export_graphviz, export_text
|
1432
|
+
from sklearn.utils.multiclass import check_classification_targets
|
1433
|
+
|
1434
|
+
try:
|
1435
|
+
check_classification_targets(classes)
|
1436
|
+
except ValueError as err:
|
1437
|
+
return InvalidArgumentError.from_(err)
|
1408
1438
|
|
1409
1439
|
decision_tree = DecisionTreeClassifier(random_state=0, max_depth=max_depth)
|
1410
1440
|
try:
|
@@ -1426,11 +1456,11 @@ class InMemoryExecutor(OpGraphExecutor):
|
|
1426
1456
|
max_depth=max_depth,
|
1427
1457
|
)
|
1428
1458
|
|
1429
|
-
for
|
1459
|
+
for boolean_column in boolean_columns:
|
1430
1460
|
tree_str = tree_str.replace(
|
1431
|
-
f"{
|
1461
|
+
f"{boolean_column} <= 0.50", f"NOT {boolean_column}"
|
1432
1462
|
)
|
1433
|
-
tree_str = tree_str.replace(f"{
|
1463
|
+
tree_str = tree_str.replace(f"{boolean_column} > 0.50", boolean_column)
|
1434
1464
|
|
1435
1465
|
metrics = source_batches.metrics.copy()
|
1436
1466
|
metrics[op.output_metric_key] = table_pb2.DecisionTreeSummary(
|
corvic/table/table.py
CHANGED
@@ -412,12 +412,18 @@ class Table:
|
|
412
412
|
case _:
|
413
413
|
return more_itertools.flatten(map(cls._get_staging_ops, op.sources()))
|
414
414
|
|
415
|
-
def head(self) -> InvalidArgumentError | Ok[Table]:
|
416
|
-
"""Get
|
417
|
-
return self.op_graph.limit_rows(num_rows=
|
415
|
+
def head(self, num_rows: int = 10) -> InvalidArgumentError | Ok[Table]:
|
416
|
+
"""Get the first `num_rows` rows of the table."""
|
417
|
+
return self.op_graph.limit_rows(num_rows=num_rows).map(
|
418
418
|
lambda op: Table(self.client, op)
|
419
419
|
)
|
420
420
|
|
421
|
+
def sample_rows(self, num_rows: int = 10) -> InvalidArgumentError | Ok[Table]:
|
422
|
+
"""Get a sample of `num_rows` rows of the table."""
|
423
|
+
return self.op_graph.sample_rows(
|
424
|
+
sample_strategy=op_graph.sample_strategy.uniform_random(), num_rows=num_rows
|
425
|
+
).map(lambda op: Table(self.client, op))
|
426
|
+
|
421
427
|
def distinct_rows(self) -> Table:
|
422
428
|
return Table(
|
423
429
|
self.client,
|
@@ -1,9 +1,9 @@
|
|
1
|
-
corvic_engine-0.3.
|
2
|
-
corvic_engine-0.3.
|
3
|
-
corvic_engine-0.3.
|
1
|
+
corvic_engine-0.3.0rc57.dist-info/METADATA,sha256=T40bDZQGa5aI1lYDYYWrtEwMrowLcANHpje9gUdPpsM,1876
|
2
|
+
corvic_engine-0.3.0rc57.dist-info/WHEEL,sha256=hKPP3BCTWtTwj6SFaSI--T5aOGqh_llYfbZ_BsqivwA,94
|
3
|
+
corvic_engine-0.3.0rc57.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
|
-
corvic/embed/node2vec.py,sha256=
|
6
|
+
corvic/embed/node2vec.py,sha256=XIJjFDdT-JnmZ43lgP-K-dLgnR17L_uaJqBPAYlsPsk,11148
|
7
7
|
corvic/embed/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
corvic/embed/__init__.py,sha256=cZZSrRXmezJuTafcQgrB1rbitqXZTVY1B5ryRzAlvgs,144
|
9
9
|
corvic/embedding_metric/embeddings.py,sha256=5jvSY0cg5P-Wg_KN7DsrcPo5AfJ_1-XKdErx_dNN5B8,14082
|
@@ -13,34 +13,34 @@ corvic/engine/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
corvic/engine/_native.pyi,sha256=KYMPtvXqHZ-jMgZohLf4se3rr-rBpCihmjANcr6s8ag,1390
|
14
14
|
corvic/engine/__init__.py,sha256=XL4Vg7rNcBi29ccVelpeFizR9oJtGYXDn84W9zok9d4,975
|
15
15
|
corvic/model/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
|
-
corvic/model/_agent.py,sha256=
|
17
|
-
corvic/model/_base_model.py,sha256=
|
18
|
-
corvic/model/_completion_model.py,sha256=
|
16
|
+
corvic/model/_agent.py,sha256=8tle_IGhy0LTPd1nNXDfBypnzF3CI7S9fhZbDsVxnZc,4737
|
17
|
+
corvic/model/_base_model.py,sha256=WYBBPa1TeU9wchh-UBFlMwuQMDY5cKHBlDznhLbnSHA,8989
|
18
|
+
corvic/model/_completion_model.py,sha256=f_ud3xW1iFXSijGMo0WYDmLfmM6mQayAcjTW37AM3q8,7337
|
19
19
|
corvic/model/_defaults.py,sha256=yoKPPSmYJCE5YAD5jLTEmT4XNf_zXoggNK-uyG8MfVs,1524
|
20
20
|
corvic/model/_errors.py,sha256=Ctlq04SDwHzJPvLaL1rzqzwVqf2b50EILfW3cH4vnh8,261
|
21
21
|
corvic/model/_feature_type.py,sha256=Y-_-wa9fv7XaCAkxfjjoCLxxK2Ftfba-PMefD7bNXzs,917
|
22
|
-
corvic/model/_feature_view.py,sha256=
|
23
|
-
corvic/model/_pipeline.py,sha256=
|
24
|
-
corvic/model/_proto_orm_convert.py,sha256=
|
25
|
-
corvic/model/_resource.py,sha256=
|
26
|
-
corvic/model/_room.py,sha256=
|
27
|
-
corvic/model/_source.py,sha256=
|
28
|
-
corvic/model/_space.py,sha256=
|
29
|
-
corvic/model/__init__.py,sha256=
|
22
|
+
corvic/model/_feature_view.py,sha256=gdcXzsMuxpJ7vwbIGYgZlLYNxi2zvdZXvFsb36x6lKg,49694
|
23
|
+
corvic/model/_pipeline.py,sha256=c16ap3yHQXqBmjG_2bMzz8hBYJCr14V2WxwlAYOw5Zw,16279
|
24
|
+
corvic/model/_proto_orm_convert.py,sha256=jmzmaaUkSxeHB5OMef92AyGw7sorJ6pP4ylbeKXoHvA,26120
|
25
|
+
corvic/model/_resource.py,sha256=w5m6mmD8KrHJ8efPTfRV0JKaCmkDRaxlGeuRMmVbw10,7773
|
26
|
+
corvic/model/_room.py,sha256=36mXngZ38L4mr6_LgUm-QgsUUaoGMiYQRfvXLV_jd-4,2914
|
27
|
+
corvic/model/_source.py,sha256=A1Jk4r5mB0f-Y3L8esaQFCUAu7CCTlwAm7f4qSnvjsM,9603
|
28
|
+
corvic/model/_space.py,sha256=ZljalsBDrcnsx2sUOpJd6qQO2nFYDFttNoJMiLdGTBM,35922
|
29
|
+
corvic/model/__init__.py,sha256=Lb-yC04t17Hr2TlnGfn5Ewzd2h1nH4hb9tKdMNAak9s,3075
|
30
30
|
corvic/op_graph/aggregation.py,sha256=8X6vqXD7dLHrhYJU0BqmhUsWGbzD1zSP5Db5VHdIru4,6187
|
31
31
|
corvic/op_graph/encoders.py,sha256=93wYoBCn_us5lRCkqvjaP0LTg3LBB3yEfhzICv06bB0,10460
|
32
32
|
corvic/op_graph/errors.py,sha256=I4NE5053d0deGm5xx5EmyP4f98qx42xnIsW1IA-2hy4,163
|
33
33
|
corvic/op_graph/feature_types.py,sha256=ZE6onUGW4Xa7tPL4XgRVQ1Tvj5FVJJ66di3ShDTR0Ak,9623
|
34
|
-
corvic/op_graph/ops.py,sha256=
|
34
|
+
corvic/op_graph/ops.py,sha256=1YOFnnN6WgzBajkXRM9UgdMLd-NEfa4tRmIQVj5cyeo,110637
|
35
35
|
corvic/op_graph/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
36
36
|
corvic/op_graph/row_filters/_jsonlogic.py,sha256=tBd-wOwE6AIx9XEkuSVdBx9iB08nsdHJdvNzEmWzrB0,6432
|
37
37
|
corvic/op_graph/row_filters/_row_filters.py,sha256=d7oUbB-vThi-Kn5GupGnEwr5UNlsGFgCgR3Q7NR_tkI,9554
|
38
38
|
corvic/op_graph/row_filters/__init__.py,sha256=1sibH_kLw7t_9bpRccnEGWqdCiN0VaUh9LMMIMCRyL8,575
|
39
39
|
corvic/op_graph/sample_strategy.py,sha256=DrbtJ3ORkIRfyIE_FdlOh_UMnCW_K9jL1LeonVYb3bU,3007
|
40
|
-
corvic/op_graph/_schema.py,sha256=
|
40
|
+
corvic/op_graph/_schema.py,sha256=7Uuun9e6PRrtOeJLsFD8VzkwWeUpbnBcD37NpMKOcmQ,5685
|
41
41
|
corvic/op_graph/_transformations.py,sha256=L9Au_GcciPynww4ZXojMtNdPJ36Qboc9gn0bVzXLifU,9445
|
42
42
|
corvic/op_graph/__init__.py,sha256=1DMrQfuuS3FkLa9DXYDjSDLurdxxpG5H1jB2ctaa9xo,1444
|
43
|
-
corvic/orm/base.py,sha256=
|
43
|
+
corvic/orm/base.py,sha256=95nkqycCZ1FaWAhTsa7zbZ0YuwNFkMUW7Wk8yhtYau8,8824
|
44
44
|
corvic/orm/errors.py,sha256=uFhFXpVG6pby1lndJZHGHxv3Y0Fbt0RiaZ-CqDfuY1o,545
|
45
45
|
corvic/orm/func/utc_func.py,sha256=-FC6w9wBWXejMv1AICT2Gg7tdkSo7gqL2dFT-YKPGQ4,4518
|
46
46
|
corvic/orm/func/uuid_func.py,sha256=oXPjDGAl3mvlNtvcvBrLmRRHPJgtKffShIPbHm-EswA,1152
|
@@ -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=Yzfn_GyCGHzf-wt-CmtamW15PyuZ7tHI7IqQw-3aPmQ,14827
|
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
|
@@ -68,7 +68,7 @@ corvic/sql/parse_ops.py,sha256=1ZXVlDzIzqwW_KP0mwMxaY91tLSXqpeaUHyrGJkh56o,29444
|
|
68
68
|
corvic/sql/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
69
69
|
corvic/sql/__init__.py,sha256=kZ1a39KVZ08P8Bg6XuXDLD_dTQX0k620u4nwxZF4SnY,303
|
70
70
|
corvic/system/client.py,sha256=hGhZX8RtHrFEOlOmJNlUHktOZrutOwNYUY_a1htQSrg,821
|
71
|
-
corvic/system/in_memory_executor.py,sha256=
|
71
|
+
corvic/system/in_memory_executor.py,sha256=tRYzoVCNHemlpPfYRaVM_Nc3uFsLYaOFof1nVR-6hGc,68943
|
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
|
@@ -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=v3MTV_nHaSAXFjPurn0Gp9Pe4UVL8RhYUHhxR6MVfmE,25396
|
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
|
@@ -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=Jvw4rYuekrbjI7sx0QPcLnTDL5aXI3l0drMiM7dy4ac,8703
|
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
|
@@ -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=K8clNf_M36tu0DEOb4Lo4l_fh4DA2IOD3c1uTI07Wgo,11513
|
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=-QxbxEBeQo7SFPLJlh84nSQEIcAM-zOfcmElul0VQ1U,438272
|
248
|
+
corvic_engine-0.3.0rc57.dist-info/RECORD,,
|
@@ -22,7 +22,7 @@ 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\"\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\"\
|
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\"\xfc\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\x12Q\n\x13prop_table_op_graph\x18\t \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpH\x01R\x10propTableOpGraph\x88\x01\x01\x42\r\n\x0b_created_atB\x16\n\x14_prop_table_op_graph\"\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\"\x99\x03\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\x12Q\n\x14last_validation_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x12lastValidationTime\x88\x01\x01\x42\r\n\x0b_created_atB\x17\n\x15_last_validation_timeb\x06proto3')
|
26
26
|
|
27
27
|
_globals = globals()
|
28
28
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -36,19 +36,19 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
36
36
|
_globals['_RESOURCE']._serialized_start=453
|
37
37
|
_globals['_RESOURCE']._serialized_end=925
|
38
38
|
_globals['_SOURCE']._serialized_start=928
|
39
|
-
_globals['_SOURCE']._serialized_end=
|
40
|
-
_globals['_PIPELINE']._serialized_start=
|
41
|
-
_globals['_PIPELINE']._serialized_end=
|
42
|
-
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_start=
|
43
|
-
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_end=
|
44
|
-
_globals['_FEATUREVIEWSOURCE']._serialized_start=
|
45
|
-
_globals['_FEATUREVIEWSOURCE']._serialized_end=
|
46
|
-
_globals['_FEATUREVIEW']._serialized_start=
|
47
|
-
_globals['_FEATUREVIEW']._serialized_end=
|
48
|
-
_globals['_SPACE']._serialized_start=
|
49
|
-
_globals['_SPACE']._serialized_end=
|
50
|
-
_globals['_AGENT']._serialized_start=
|
51
|
-
_globals['_AGENT']._serialized_end=
|
52
|
-
_globals['_COMPLETIONMODEL']._serialized_start=
|
53
|
-
_globals['_COMPLETIONMODEL']._serialized_end=
|
39
|
+
_globals['_SOURCE']._serialized_end=1308
|
40
|
+
_globals['_PIPELINE']._serialized_start=1311
|
41
|
+
_globals['_PIPELINE']._serialized_end=1800
|
42
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_start=1691
|
43
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_end=1785
|
44
|
+
_globals['_FEATUREVIEWSOURCE']._serialized_start=1803
|
45
|
+
_globals['_FEATUREVIEWSOURCE']._serialized_end=2133
|
46
|
+
_globals['_FEATUREVIEW']._serialized_start=2136
|
47
|
+
_globals['_FEATUREVIEW']._serialized_end=2548
|
48
|
+
_globals['_SPACE']._serialized_start=2551
|
49
|
+
_globals['_SPACE']._serialized_end=2929
|
50
|
+
_globals['_AGENT']._serialized_start=2932
|
51
|
+
_globals['_AGENT']._serialized_end=3193
|
52
|
+
_globals['_COMPLETIONMODEL']._serialized_start=3196
|
53
|
+
_globals['_COMPLETIONMODEL']._serialized_end=3605
|
54
54
|
# @@protoc_insertion_point(module_scope)
|
@@ -58,7 +58,7 @@ class Resource(_message.Message):
|
|
58
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: ...
|
59
59
|
|
60
60
|
class Source(_message.Message):
|
61
|
-
__slots__ = ("id", "name", "table_op_graph", "room_id", "org_id", "pipeline_id", "created_at")
|
61
|
+
__slots__ = ("id", "name", "table_op_graph", "room_id", "org_id", "pipeline_id", "created_at", "prop_table_op_graph")
|
62
62
|
ID_FIELD_NUMBER: _ClassVar[int]
|
63
63
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
64
64
|
TABLE_OP_GRAPH_FIELD_NUMBER: _ClassVar[int]
|
@@ -66,6 +66,7 @@ class Source(_message.Message):
|
|
66
66
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
67
67
|
PIPELINE_ID_FIELD_NUMBER: _ClassVar[int]
|
68
68
|
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
69
|
+
PROP_TABLE_OP_GRAPH_FIELD_NUMBER: _ClassVar[int]
|
69
70
|
id: str
|
70
71
|
name: str
|
71
72
|
table_op_graph: _table_pb2.TableComputeOp
|
@@ -73,7 +74,8 @@ class Source(_message.Message):
|
|
73
74
|
org_id: str
|
74
75
|
pipeline_id: str
|
75
76
|
created_at: _timestamp_pb2.Timestamp
|
76
|
-
|
77
|
+
prop_table_op_graph: _table_pb2.TableComputeOp
|
78
|
+
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]] = ..., prop_table_op_graph: _Optional[_Union[_table_pb2.TableComputeOp, _Mapping]] = ...) -> None: ...
|
77
79
|
|
78
80
|
class Pipeline(_message.Message):
|
79
81
|
__slots__ = ("id", "name", "description", "room_id", "source_outputs", "pipeline_transformation", "org_id", "created_at")
|
File without changes
|