corvic-engine 0.3.0rc44__cp38-abi3-win_amd64.whl → 0.3.0rc45__cp38-abi3-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
corvic/orm/__init__.py CHANGED
@@ -56,20 +56,18 @@ from corvic_generated.orm.v1 import (
56
56
  )
57
57
  from corvic_generated.status.v1 import event_pb2
58
58
 
59
+ # NOTE: The only safe use of "sa_orm.relationship" uses the args:
60
+ # `viewonly=True` and `init=False`. Writes quickly become
61
+ # a complex mess when implementers of commit need to reason about
62
+ # which sub-object should be updated.
63
+ #
64
+ # Rather, classes in corvic.model define their own commit protocols,
65
+ # and if sub-orm-model updates are required they are explicit.
66
+
59
67
 
60
68
  class Org(SoftDeleteMixin, OrgBase):
61
69
  """An organization it a top level grouping of resources."""
62
70
 
63
- rooms: sa_orm.Mapped[dict[str, Room]] = sa_orm.relationship(
64
- collection_class=attribute_mapped_collection("room_key"),
65
- cascade="all",
66
- init=False,
67
- default_factory=dict,
68
- )
69
- sources: sa_orm.Mapped[list[Source]] = sa_orm.relationship(
70
- collection_class=list, cascade="all", init=True, default_factory=list
71
- )
72
-
73
71
 
74
72
  class Room(BelongsToOrgMixin, SoftDeleteMixin, Base):
75
73
  """A Room is a logical collection of Documents."""
@@ -79,26 +77,6 @@ class Room(BelongsToOrgMixin, SoftDeleteMixin, Base):
79
77
 
80
78
  name: sa_orm.Mapped[str] = sa_orm.mapped_column(sa.Text, default=None)
81
79
  id: sa_orm.Mapped[RoomID | None] = primary_key_identity_column()
82
- org: sa_orm.Mapped[Org] = sa_orm.relationship(back_populates="rooms", init=False)
83
-
84
- feature_views: sa_orm.Mapped[dict[str, FeatureView]] = sa_orm.relationship(
85
- collection_class=attribute_mapped_collection("feature_view_key"),
86
- cascade="all",
87
- init=False,
88
- default_factory=dict,
89
- )
90
- sources: sa_orm.Mapped[dict[str, Source]] = sa_orm.relationship(
91
- collection_class=attribute_mapped_collection("source_key"),
92
- cascade="all",
93
- init=False,
94
- default_factory=dict,
95
- )
96
- spaces: sa_orm.Mapped[dict[str, Space]] = sa_orm.relationship(
97
- collection_class=attribute_mapped_collection("space_key"),
98
- cascade="all",
99
- init=False,
100
- default_factory=dict,
101
- )
102
80
 
103
81
  @property
104
82
  def room_key(self):
@@ -145,19 +123,8 @@ class Resource(BelongsToOrgMixin, BelongsToRoomMixin, Base):
145
123
  latest_event: sa_orm.Mapped[event_pb2.Event | None] = sa_orm.mapped_column(
146
124
  default=None, nullable=True
147
125
  )
148
-
149
- source_associations: sa_orm.Mapped[list[SourceResourceAssociation]] = (
150
- sa_orm.relationship(
151
- back_populates="resource",
152
- cascade="save-update, merge, delete, delete-orphan",
153
- default_factory=list,
154
- )
155
- )
156
- pipeline_input_refs: sa_orm.Mapped[list[PipelineInput]] = sa_orm.relationship(
157
- viewonly=True,
158
- back_populates="resource",
159
- default_factory=list,
160
- cascade="save-update, merge, delete, delete-orphan",
126
+ pipeline_ref: sa_orm.Mapped[PipelineInput | None] = sa_orm.relationship(
127
+ init=False, viewonly=True
161
128
  )
162
129
 
163
130
 
@@ -172,25 +139,11 @@ class Source(BelongsToOrgMixin, BelongsToRoomMixin, Base):
172
139
  table_op_graph: sa_orm.Mapped[table_pb2.TableComputeOp] = sa_orm.mapped_column()
173
140
  id: sa_orm.Mapped[SourceID | None] = primary_key_identity_column()
174
141
 
175
- resource_associations: sa_orm.Mapped[list[SourceResourceAssociation]] = (
176
- sa_orm.relationship(
177
- back_populates="source",
178
- cascade="save-update, merge, delete, delete-orphan",
179
- default_factory=list,
180
- )
181
- )
182
- org: sa_orm.Mapped[Org] = sa_orm.relationship(back_populates="sources", init=False)
183
- room: sa_orm.Mapped[Room] = sa_orm.relationship(
184
- back_populates="sources", init=False
185
- )
186
142
  source_files: sa_orm.Mapped[common_pb2.BlobUrlList | None] = sa_orm.mapped_column(
187
143
  default=None
188
144
  )
189
- pipeline_output_refs: sa_orm.Mapped[list[PipelineOutput]] = sa_orm.relationship(
190
- viewonly=True,
191
- back_populates="source",
192
- default_factory=list,
193
- cascade="save-update, merge, delete, delete-orphan",
145
+ pipeline_ref: sa_orm.Mapped[PipelineOutput | None] = sa_orm.relationship(
146
+ init=False, viewonly=True
194
147
  )
195
148
 
196
149
  @property
@@ -212,16 +165,14 @@ class Pipeline(BelongsToOrgMixin, BelongsToRoomMixin, Base):
212
165
  id: sa_orm.Mapped[PipelineID | None] = primary_key_identity_column()
213
166
 
214
167
  inputs: sa_orm.Mapped[list[PipelineInput]] = sa_orm.relationship(
215
- back_populates="pipeline",
216
168
  viewonly=True,
217
- cascade="",
169
+ init=False,
218
170
  default_factory=list,
219
171
  )
220
172
 
221
173
  outputs: sa_orm.Mapped[list[PipelineOutput]] = sa_orm.relationship(
222
- back_populates="pipeline",
223
174
  viewonly=True,
224
- cascade="",
175
+ init=False,
225
176
  default_factory=list,
226
177
  )
227
178
 
@@ -232,20 +183,15 @@ class PipelineInput(BelongsToOrgMixin, BelongsToRoomMixin, Base):
232
183
  __tablename__ = "pipeline_input"
233
184
  __table_args__ = (sa.UniqueConstraint("name", "pipeline_id"),)
234
185
 
235
- pipeline: sa_orm.Mapped[Pipeline] = sa_orm.relationship(
236
- back_populates="inputs",
237
- )
238
- resource: sa_orm.Mapped[Resource] = sa_orm.relationship(
239
- back_populates="pipeline_input_refs",
240
- )
186
+ resource: sa_orm.Mapped[Resource] = sa_orm.relationship(viewonly=True, init=False)
241
187
  name: sa_orm.Mapped[str]
242
188
  """A name the pipeline uses to refer to this input."""
243
189
 
244
190
  pipeline_id: sa_orm.Mapped[PipelineID] = primary_key_foreign_column(
245
- ForeignKey(Pipeline).make(ondelete="CASCADE"), init=False
191
+ ForeignKey(Pipeline).make(ondelete="CASCADE")
246
192
  )
247
193
  resource_id: sa_orm.Mapped[ResourceID] = primary_key_foreign_column(
248
- ForeignKey(Resource).make(ondelete="CASCADE"), init=False
194
+ ForeignKey(Resource).make(ondelete="CASCADE")
249
195
  )
250
196
 
251
197
 
@@ -255,41 +201,15 @@ class PipelineOutput(BelongsToOrgMixin, BelongsToRoomMixin, Base):
255
201
  __tablename__ = "pipeline_output"
256
202
  __table_args__ = (sa.UniqueConstraint("name", "pipeline_id"),)
257
203
 
258
- pipeline: sa_orm.Mapped[Pipeline] = sa_orm.relationship(
259
- back_populates="outputs",
260
- )
261
- source: sa_orm.Mapped[Source] = sa_orm.relationship(
262
- back_populates="pipeline_output_refs",
263
- )
204
+ source: sa_orm.Mapped[Source] = sa_orm.relationship(viewonly=True, init=False)
264
205
  name: sa_orm.Mapped[str]
265
206
  """A name the pipeline uses to refer to this output."""
266
207
 
267
208
  pipeline_id: sa_orm.Mapped[PipelineID] = primary_key_foreign_column(
268
- ForeignKey(Pipeline).make(ondelete="CASCADE"), init=False
209
+ ForeignKey(Pipeline).make(ondelete="CASCADE")
269
210
  )
270
211
  source_id: sa_orm.Mapped[SourceID] = primary_key_foreign_column(
271
- ForeignKey(Source).make(ondelete="CASCADE"), init=False
272
- )
273
-
274
-
275
- class SourceResourceAssociation(BelongsToOrgMixin, BelongsToRoomMixin, Base):
276
- __tablename__ = "source_resource_association"
277
-
278
- source_id: sa_orm.Mapped[SourceID | None] = (
279
- # this should be legal but pyright complains that it makes Source depend
280
- # on itself
281
- primary_key_foreign_column(ForeignKey(Source).make())
282
- )
283
- resource_id: sa_orm.Mapped[ResourceID | None] = (
284
- # this should be legal but pyright complains that it makes Resource depend
285
- # on itself
286
- primary_key_foreign_column(ForeignKey(Resource).make())
287
- )
288
- source: sa_orm.Mapped[Source] = sa_orm.relationship(
289
- back_populates="resource_associations", init=False
290
- )
291
- resource: sa_orm.Mapped[Resource] = sa_orm.relationship(
292
- back_populates="source_associations", init=False
212
+ ForeignKey(Source).make(ondelete="CASCADE")
293
213
  )
294
214
 
295
215
 
@@ -303,10 +223,6 @@ class FeatureView(SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base):
303
223
  name: sa_orm.Mapped[str] = sa_orm.mapped_column(sa.Text, default=None)
304
224
  description: sa_orm.Mapped[str] = sa_orm.mapped_column(sa.Text, default="")
305
225
 
306
- room: sa_orm.Mapped[Room] = sa_orm.relationship(
307
- back_populates="feature_views", init=False
308
- )
309
-
310
226
  feature_view_output: sa_orm.Mapped[feature_view_pb2.FeatureViewOutput | None] = (
311
227
  sa_orm.mapped_column(default_factory=feature_view_pb2.FeatureViewOutput)
312
228
  )
@@ -316,13 +232,9 @@ class FeatureView(SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base):
316
232
  return self.name
317
233
 
318
234
  feature_view_sources: sa_orm.Mapped[list[FeatureViewSource]] = sa_orm.relationship(
319
- init=True,
235
+ viewonly=True,
236
+ init=False,
320
237
  default_factory=list,
321
- back_populates="feature_view",
322
- )
323
-
324
- spaces: sa_orm.Mapped[list[Space]] = sa_orm.relationship(
325
- init=False, default_factory=list
326
238
  )
327
239
 
328
240
 
@@ -332,11 +244,12 @@ class FeatureViewSource(BelongsToOrgMixin, BelongsToRoomMixin, Base):
332
244
  __tablename__ = "feature_view_source"
333
245
 
334
246
  table_op_graph: sa_orm.Mapped[table_pb2.TableComputeOp] = sa_orm.mapped_column()
335
- id: sa_orm.Mapped[FeatureViewSourceID | None] = primary_key_identity_column()
336
- drop_disconnected: sa_orm.Mapped[bool] = sa_orm.mapped_column(default=False)
337
247
  feature_view_id: sa_orm.Mapped[FeatureViewID] = sa_orm.mapped_column(
338
- ForeignKey(FeatureView).make(ondelete="CASCADE"), nullable=False, default=None
248
+ ForeignKey(FeatureView).make(ondelete="CASCADE"),
249
+ nullable=False,
339
250
  )
251
+ id: sa_orm.Mapped[FeatureViewSourceID | None] = primary_key_identity_column()
252
+ drop_disconnected: sa_orm.Mapped[bool] = sa_orm.mapped_column(default=False)
340
253
  # this should be legal but pyright complains that it makes Source depend
341
254
  # on itself
342
255
  source_id: sa_orm.Mapped[SourceID] = sa_orm.mapped_column(
@@ -344,9 +257,8 @@ class FeatureViewSource(BelongsToOrgMixin, BelongsToRoomMixin, Base):
344
257
  nullable=False,
345
258
  default=None,
346
259
  )
347
- source: sa_orm.Mapped[Source] = sa_orm.relationship(init=True, default=None)
348
- feature_view: sa_orm.Mapped[FeatureView] = sa_orm.relationship(
349
- init=True, default=None
260
+ source: sa_orm.Mapped[Source] = sa_orm.relationship(
261
+ init=True, viewonly=True, default=None
350
262
  )
351
263
 
352
264
 
@@ -356,10 +268,6 @@ class Space(BelongsToOrgMixin, BelongsToRoomMixin, Base):
356
268
  __tablename__ = "space"
357
269
  __table_args__ = (sa.UniqueConstraint("name", "room_id"),)
358
270
 
359
- room: sa_orm.Mapped[Room] = sa_orm.relationship(
360
- back_populates="spaces", init=True, default=None
361
- )
362
-
363
271
  id: sa_orm.Mapped[SpaceID | None] = primary_key_identity_column()
364
272
  name: sa_orm.Mapped[str] = sa_orm.mapped_column(sa.Text, default=None)
365
273
  description: sa_orm.Mapped[str] = sa_orm.mapped_column(sa.Text, default="")
@@ -374,15 +282,15 @@ class Space(BelongsToOrgMixin, BelongsToRoomMixin, Base):
374
282
  )
375
283
  auto_sync: sa_orm.Mapped[bool | None] = sa_orm.mapped_column(default=None)
376
284
  feature_view: sa_orm.Mapped[FeatureView] = sa_orm.relationship(
377
- init=True,
285
+ init=False,
378
286
  default=None,
379
- back_populates="spaces",
287
+ viewonly=True,
380
288
  )
381
289
 
382
290
  agent_associations: sa_orm.Mapped[list[AgentSpaceAssociation]] = (
383
291
  sa_orm.relationship(
384
- back_populates="space",
385
- cascade="save-update, merge, delete, delete-orphan",
292
+ init=False,
293
+ viewonly=True,
386
294
  default_factory=list,
387
295
  )
388
296
  )
@@ -392,7 +300,7 @@ class Space(BelongsToOrgMixin, BelongsToRoomMixin, Base):
392
300
  return self.name
393
301
 
394
302
 
395
- class SpaceRun(BelongsToOrgMixin, BelongsToRoomMixin, Base):
303
+ class SpaceRun(BelongsToOrgMixin, BelongsToRoomMixin, Base, kw_only=True):
396
304
  """A Space run."""
397
305
 
398
306
  __tablename__ = "space_run"
@@ -402,9 +310,9 @@ class SpaceRun(BelongsToOrgMixin, BelongsToRoomMixin, Base):
402
310
  default_factory=table_pb2.TableComputeOp
403
311
  )
404
312
  space_id: sa_orm.Mapped[SpaceID] = sa_orm.mapped_column(
405
- ForeignKey(Space).make(ondelete="CASCADE"), nullable=False, default=None
313
+ ForeignKey(Space).make(ondelete="CASCADE"), nullable=False
406
314
  )
407
- space: sa_orm.Mapped[Space] = sa_orm.relationship(init=True, default=None)
315
+ space: sa_orm.Mapped[Space] = sa_orm.relationship(init=False, viewonly=True)
408
316
  result_url: sa_orm.Mapped[str | None] = sa_orm.mapped_column(sa.Text, default=None)
409
317
  coordinates_urls: sa_orm.Mapped[common_pb2.BlobUrlList | None] = (
410
318
  sa_orm.mapped_column(default=None)
@@ -445,18 +353,13 @@ class Agent(SoftDeleteMixin, BelongsToOrgMixin, BelongsToRoomMixin, Base):
445
353
  )
446
354
  messages: sa_orm.Mapped[dict[str, MessageEntry]] = sa_orm.relationship(
447
355
  collection_class=attribute_mapped_collection("entry_id"),
448
- cascade="all",
449
- init=False,
450
356
  default_factory=dict,
357
+ init=False,
451
358
  viewonly=True,
452
359
  )
453
360
 
454
361
  space_associations: sa_orm.Mapped[list[AgentSpaceAssociation]] = (
455
- sa_orm.relationship(
456
- back_populates="agent",
457
- cascade="save-update, merge, delete, delete-orphan",
458
- default_factory=list,
459
- )
362
+ sa_orm.relationship(default_factory=list, init=False, viewonly=True)
460
363
  )
461
364
 
462
365
 
@@ -469,11 +372,8 @@ class AgentSpaceAssociation(BelongsToOrgMixin, BelongsToRoomMixin, Base):
469
372
  space_id: sa_orm.Mapped[SpaceID] = primary_key_foreign_column(
470
373
  ForeignKey(Space).make()
471
374
  )
472
- agent: sa_orm.Mapped[Agent] = sa_orm.relationship(
473
- back_populates="space_associations", init=False
474
- )
475
375
  space: sa_orm.Mapped[Space] = sa_orm.relationship(
476
- back_populates="agent_associations", init=False
376
+ back_populates="agent_associations", init=False, viewonly=True
477
377
  )
478
378
 
479
379
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: corvic-engine
3
- Version: 0.3.0rc44
3
+ Version: 0.3.0rc45
4
4
  Classifier: Environment :: Console
5
5
  Classifier: License :: Other/Proprietary License
6
6
  Classifier: Programming Language :: Python :: Implementation :: CPython
@@ -1,6 +1,6 @@
1
- corvic_engine-0.3.0rc44.dist-info/METADATA,sha256=HPsaBURKtnipM5xOeacGAdHHNWtIlTqrHcmcWG7aPYo,1876
2
- corvic_engine-0.3.0rc44.dist-info/WHEEL,sha256=_g1M2QM3kt1Ssm_sHOg_3TUY7GxNE2Ueyslb9ZDtPwk,94
3
- corvic_engine-0.3.0rc44.dist-info/licenses/LICENSE,sha256=DSS1OD0oIgssKOmAzkMRBv5jvvVuZQbrIv8lpl9DXY8,1035
1
+ corvic_engine-0.3.0rc45.dist-info/METADATA,sha256=yHt7aIKRrl0-UfwUTk3w-pG13PTQCdo2mz02nSPtcCA,1876
2
+ corvic_engine-0.3.0rc45.dist-info/WHEEL,sha256=_g1M2QM3kt1Ssm_sHOg_3TUY7GxNE2Ueyslb9ZDtPwk,94
3
+ corvic_engine-0.3.0rc45.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
@@ -14,19 +14,19 @@ corvic/engine/_native.pyi,sha256=KYMPtvXqHZ-jMgZohLf4se3rr-rBpCihmjANcr6s8ag,139
14
14
  corvic/engine/__init__.py,sha256=XL4Vg7rNcBi29ccVelpeFizR9oJtGYXDn84W9zok9d4,975
15
15
  corvic/model/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  corvic/model/_agent.py,sha256=WGdxu0oLHU7EEgBOMQ0UOnH2AIIUGfeH6VSQZgC0kEk,3621
17
- corvic/model/_base_model.py,sha256=r6NKFAlTkxQPDF-RcuWoZkoOdrRSZc8iL3B6W8JvmK0,8341
17
+ corvic/model/_base_model.py,sha256=m4JkZu8QAoQEeHqzpMUlH08PGOjVZbqld4Rm0uW73QQ,8225
18
18
  corvic/model/_completion_model.py,sha256=uoqF7hwxzGXXqSPZT_CIcNBSDmYhcxMotpGPucWH6Q0,6656
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=yEYRCudoNEQVCVh00Ax3LuCUd-dAOlclpPKpzXGJv5o,49936
23
- corvic/model/_pipeline.py,sha256=IEUaMX8XYDH-qx5336X5MM10F-h0nHoNNnM86b8sBqA,18193
24
- corvic/model/_proto_orm_convert.py,sha256=2sqohdO1Y-e7yfVvIK852h7OqnTNjk9bV3G9sHLp548,24161
25
- corvic/model/_resource.py,sha256=UFff-ZGjSnIo810kELRZ9NiA4yXETIrsxjyMId9sEmc,7304
22
+ corvic/model/_feature_view.py,sha256=kM8kMzb1oxAgIOMVmv6twZ-JLeP2NopdsKHCiKjuNIE,49700
23
+ corvic/model/_pipeline.py,sha256=A_q_nWm6UBN-AKlbQkhWNMG2r-uW0IR6vGJbhYv7z3k,17578
24
+ corvic/model/_proto_orm_convert.py,sha256=6CWe_b-L7JBS4Pb_SjUeuiuczWh-nPw0jElQIMOl_UA,25029
25
+ corvic/model/_resource.py,sha256=O93gy2r4HjsZzVUahrGbLGmxI7sfSVQCvwvCLN3nSXQ,7097
26
26
  corvic/model/_room.py,sha256=57MiBfj8hZcmUfq2PeECrOWDpBZAOSjnVqNUIGXOy2Q,2898
27
- corvic/model/_source.py,sha256=pv2vsjZNuc4KAqy39pCN0tK6kvtowODQhIeUfvS0ek0,9526
28
- corvic/model/_space.py,sha256=1tyCFz_AvBgYffA00v17ubJxXMwe8tU-sKTasCSg9eQ,36632
29
- corvic/model/__init__.py,sha256=_Hjo5INX0urDsUZPlUtnwvODNkZ7H0azMS0RXCS3MZI,2360
27
+ corvic/model/_source.py,sha256=JBCk1I6u_rUKPiB4Fvtl7uVm0Jx0LF1oWNd1-Wn_sbI,9412
28
+ corvic/model/_space.py,sha256=_qXYefPwwL6jGY3zUBYWW9X3ZE4FEuiOksPoCuG_O1Q,33928
29
+ corvic/model/__init__.py,sha256=IzYwjTcZE8MgmCESoj7W518N2CmZgcUFbzBhnpvNers,2526
30
30
  corvic/op_graph/aggregation.py,sha256=8X6vqXD7dLHrhYJU0BqmhUsWGbzD1zSP5Db5VHdIru4,6187
31
31
  corvic/op_graph/encoders.py,sha256=EhEmAiwgnXNiJ8NU0xm4deC7EZm80UzuzBL5MV140LQ,9217
32
32
  corvic/op_graph/errors.py,sha256=I4NE5053d0deGm5xx5EmyP4f98qx42xnIsW1IA-2hy4,163
@@ -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=k8g7W5g0QoTusYBwVg3zqmmoqdVPV4b45ff3SWWF7nY,21533
53
+ corvic/orm/__init__.py,sha256=iDEAq3VGvJeR5rrQOeia728cM8pHogaKwyNGc5mmav0,17827
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
@@ -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=_WkLvkNip8iE5Elo7ziHbh-rcjCvM_xjnIEuSj48E1k,10952
159
+ corvic_generated/model/v1alpha/models_pb2.py,sha256=PZhKYVfK1bgoYgKKoYwQ4KUbMTtmVlE1zhcQ8X8rR9w,10899
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=4JXVvtxGNee1mgjd3ktwyX8boEngKYy_15KLeJTLX_0,14649
223
+ corvic_generated/model/v1alpha/models_pb2.pyi,sha256=-HUawjooxKuzlkQTkIKzRIZN7F0qBNAl7azdqKlw60M,14386
224
224
  corvic_generated/model/v1alpha/models_pb2_grpc.pyi,sha256=H9-ADaiKR9iyVZvmnXutZqWwRRCDxjUIktkfJrJFIHg,417
225
225
  corvic_generated/orm/v1/agent_pb2.pyi,sha256=9AExLKFRvOJ1fSaOdZc3Src015uvNl-le2lSPatZjSQ,4575
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=1e3JunS4dV33W_zozmeSUQmYx4X9CyLHgoi-A7BmCH8,438272
248
- corvic_engine-0.3.0rc44.dist-info/RECORD,,
247
+ corvic/engine/_native.pyd,sha256=tqs1zEZzUSxpYJMFNawLRjHfuc7Mnb2BzcaW7bIgujg,438272
248
+ corvic_engine-0.3.0rc45.dist-info/RECORD,,
@@ -24,7 +24,7 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
24
24
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
25
25
 
26
26
 
27
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!corvic/model/v1alpha/models.proto\x12\x14\x63orvic.model.v1alpha\x1a\x19\x63orvic/orm/v1/agent.proto\x1a\x1a\x63orvic/orm/v1/common.proto\x1a$corvic/orm/v1/completion_model.proto\x1a corvic/orm/v1/feature_view.proto\x1a\x1c\x63orvic/orm/v1/pipeline.proto\x1a\x19\x63orvic/orm/v1/space.proto\x1a\x19\x63orvic/orm/v1/table.proto\x1a\x1c\x63orvic/status/v1/event.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x15\n\x06org_id\x18\x03 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xc7\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\x1d\n\nsource_ids\x18\n \x03(\tR\tsourceIds\x12\x15\n\x06org_id\x18\x0b \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\r \x01(\tR\npipelineId\x12<\n\rrecent_events\x18\x0e \x03(\x0b\x32\x17.corvic.status.v1.EventR\x0crecentEvents\x12>\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xb2\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\x1f\n\x0bresource_id\x18\x05 \x01(\tR\nresourceId\x12\x15\n\x06org_id\x18\x06 \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\x08 \x01(\tR\npipelineId\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xa9\x05\n\x08Pipeline\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\t \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12[\n\x0fresource_inputs\x18\x04 \x03(\x0b\x32\x32.corvic.model.v1alpha.Pipeline.ResourceInputsEntryR\x0eresourceInputs\x12X\n\x0esource_outputs\x18\x05 \x03(\x0b\x32\x31.corvic.model.v1alpha.Pipeline.SourceOutputsEntryR\rsourceOutputs\x12^\n\x17pipeline_transformation\x18\x06 \x01(\x0b\x32%.corvic.orm.v1.PipelineTransformationR\x16pipelineTransformation\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x1a\x61\n\x13ResourceInputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.corvic.model.v1alpha.ResourceR\x05value:\x02\x38\x01\x1a^\n\x12SourceOutputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x05value:\x02\x38\x01\x42\r\n\x0b_created_at\"\xca\x02\n\x11\x46\x65\x61tureViewSource\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x34\n\x06source\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x06source\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12+\n\x11\x64rop_disconnected\x18\x04 \x01(\x08R\x10\x64ropDisconnected\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x12\x17\n\x07room_id\x18\x07 \x01(\tR\x06roomIdB\r\n\x0b_created_at\"\x9c\x03\n\x0b\x46\x65\x61tureView\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12P\n\x13\x66\x65\x61ture_view_output\x18\x05 \x01(\x0b\x32 .corvic.orm.v1.FeatureViewOutputR\x11\x66\x65\x61tureViewOutput\x12Y\n\x14\x66\x65\x61ture_view_sources\x18\x06 \x03(\x0b\x32\'.corvic.model.v1alpha.FeatureViewSourceR\x12\x66\x65\x61tureViewSources\x12\x1b\n\tspace_ids\x18\x07 \x03(\tR\x08spaceIds\x12\x15\n\x06org_id\x18\x08 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xdc\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&\n\x0f\x66\x65\x61ture_view_id\x18\x06 \x01(\tR\rfeatureViewId\x12\x1b\n\tauto_sync\x18\t \x01(\x08R\x08\x61utoSync\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"P\n\x0bUserMessage\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\"\xe7\x02\n\x0c\x41gentMessage\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12/\n\x06policy\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x06policy\x12\x18\n\x07\x63ontext\x18\x04 \x01(\tR\x07\x63ontext\x12P\n\x10message_reaction\x18\x05 \x01(\x0e\x32%.corvic.model.v1alpha.MessageReactionR\x0fmessageReaction\x12&\n\x0fuser_message_id\x18\x06 \x01(\tR\ruserMessageId\x12O\n\x12retrieved_entities\x18\x07 \x01(\x0b\x32 .corvic.orm.v1.RetrievedEntitiesR\x11retrievedEntities\x12\x17\n\x07room_id\x18\x08 \x01(\tR\x06roomId\"\xa4\x02\n\x0cMessageEntry\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x46\n\x0cuser_message\x18\x02 \x01(\x0b\x32!.corvic.model.v1alpha.UserMessageH\x00R\x0buserMessage\x12I\n\ragent_message\x18\x03 \x01(\x0b\x32\".corvic.model.v1alpha.AgentMessageH\x00R\x0c\x61gentMessage\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\tcreatedAt\x88\x01\x01\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomIdB\t\n\x07\x63ontentB\r\n\x0b_created_at\"\x85\x02\n\x05\x41gent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12I\n\x10\x61gent_parameters\x18\x04 \x01(\x0b\x32\x1e.corvic.orm.v1.AgentParametersR\x0f\x61gentParameters\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_atJ\x04\x08\x06\x10\x07R\x08messages\"\xad\x02\n\x0f\x43ompletionModel\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x15\n\x06org_id\x18\x04 \x01(\tR\x05orgId\x12H\n\nparameters\x18\x05 \x01(\x0b\x32(.corvic.orm.v1.CompletionModelParametersR\nparameters\x12$\n\x0esecret_api_key\x18\x06 \x01(\tR\x0csecretApiKey\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at*u\n\x0fMessageReaction\x12 \n\x1cMESSAGE_REACTION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aMESSAGE_REACTION_THUMBS_UP\x10\x01\x12 \n\x1cMESSAGE_REACTION_THUMBS_DOWN\x10\x02\x62\x06proto3')
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!corvic/model/v1alpha/models.proto\x12\x14\x63orvic.model.v1alpha\x1a\x19\x63orvic/orm/v1/agent.proto\x1a\x1a\x63orvic/orm/v1/common.proto\x1a$corvic/orm/v1/completion_model.proto\x1a corvic/orm/v1/feature_view.proto\x1a\x1c\x63orvic/orm/v1/pipeline.proto\x1a\x19\x63orvic/orm/v1/space.proto\x1a\x19\x63orvic/orm/v1/table.proto\x1a\x1c\x63orvic/status/v1/event.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x15\n\x06org_id\x18\x03 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xa8\x03\n\x08Resource\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmime_type\x18\x04 \x01(\tR\x08mimeType\x12\x10\n\x03url\x18\x05 \x01(\tR\x03url\x12\x12\n\x04size\x18\x06 \x01(\x04R\x04size\x12\x10\n\x03md5\x18\x07 \x01(\tR\x03md5\x12#\n\roriginal_path\x18\x08 \x01(\tR\x0coriginalPath\x12\x17\n\x07room_id\x18\t \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x0b \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\r \x01(\tR\npipelineId\x12<\n\rrecent_events\x18\x0e \x03(\x0b\x32\x17.corvic.status.v1.EventR\x0crecentEvents\x12>\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\x91\x02\n\x06Source\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x06 \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\x08 \x01(\tR\npipelineId\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xa9\x05\n\x08Pipeline\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\t \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12[\n\x0fresource_inputs\x18\x04 \x03(\x0b\x32\x32.corvic.model.v1alpha.Pipeline.ResourceInputsEntryR\x0eresourceInputs\x12X\n\x0esource_outputs\x18\x05 \x03(\x0b\x32\x31.corvic.model.v1alpha.Pipeline.SourceOutputsEntryR\rsourceOutputs\x12^\n\x17pipeline_transformation\x18\x06 \x01(\x0b\x32%.corvic.orm.v1.PipelineTransformationR\x16pipelineTransformation\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x1a\x61\n\x13ResourceInputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.corvic.model.v1alpha.ResourceR\x05value:\x02\x38\x01\x1a^\n\x12SourceOutputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x05value:\x02\x38\x01\x42\r\n\x0b_created_at\"\xca\x02\n\x11\x46\x65\x61tureViewSource\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x34\n\x06source\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x06source\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12+\n\x11\x64rop_disconnected\x18\x04 \x01(\x08R\x10\x64ropDisconnected\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x12\x17\n\x07room_id\x18\x07 \x01(\tR\x06roomIdB\r\n\x0b_created_at\"\x9c\x03\n\x0b\x46\x65\x61tureView\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12P\n\x13\x66\x65\x61ture_view_output\x18\x05 \x01(\x0b\x32 .corvic.orm.v1.FeatureViewOutputR\x11\x66\x65\x61tureViewOutput\x12Y\n\x14\x66\x65\x61ture_view_sources\x18\x06 \x03(\x0b\x32\'.corvic.model.v1alpha.FeatureViewSourceR\x12\x66\x65\x61tureViewSources\x12\x1b\n\tspace_ids\x18\x07 \x03(\tR\x08spaceIds\x12\x15\n\x06org_id\x18\x08 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xfa\x02\n\x05Space\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12I\n\x10space_parameters\x18\x05 \x01(\x0b\x32\x1e.corvic.orm.v1.SpaceParametersR\x0fspaceParameters\x12\x44\n\x0c\x66\x65\x61ture_view\x18\x06 \x01(\x0b\x32!.corvic.model.v1alpha.FeatureViewR\x0b\x66\x65\x61tureView\x12\x1b\n\tauto_sync\x18\t \x01(\x08R\x08\x61utoSync\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"P\n\x0bUserMessage\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\"\xe7\x02\n\x0c\x41gentMessage\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12/\n\x06policy\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x06policy\x12\x18\n\x07\x63ontext\x18\x04 \x01(\tR\x07\x63ontext\x12P\n\x10message_reaction\x18\x05 \x01(\x0e\x32%.corvic.model.v1alpha.MessageReactionR\x0fmessageReaction\x12&\n\x0fuser_message_id\x18\x06 \x01(\tR\ruserMessageId\x12O\n\x12retrieved_entities\x18\x07 \x01(\x0b\x32 .corvic.orm.v1.RetrievedEntitiesR\x11retrievedEntities\x12\x17\n\x07room_id\x18\x08 \x01(\tR\x06roomId\"\xa4\x02\n\x0cMessageEntry\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x46\n\x0cuser_message\x18\x02 \x01(\x0b\x32!.corvic.model.v1alpha.UserMessageH\x00R\x0buserMessage\x12I\n\ragent_message\x18\x03 \x01(\x0b\x32\".corvic.model.v1alpha.AgentMessageH\x00R\x0c\x61gentMessage\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\tcreatedAt\x88\x01\x01\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomIdB\t\n\x07\x63ontentB\r\n\x0b_created_at\"\x85\x02\n\x05\x41gent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12I\n\x10\x61gent_parameters\x18\x04 \x01(\x0b\x32\x1e.corvic.orm.v1.AgentParametersR\x0f\x61gentParameters\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_atJ\x04\x08\x06\x10\x07R\x08messages\"\xad\x02\n\x0f\x43ompletionModel\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x15\n\x06org_id\x18\x04 \x01(\tR\x05orgId\x12H\n\nparameters\x18\x05 \x01(\x0b\x32(.corvic.orm.v1.CompletionModelParametersR\nparameters\x12$\n\x0esecret_api_key\x18\x06 \x01(\tR\x0csecretApiKey\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at*u\n\x0fMessageReaction\x12 \n\x1cMESSAGE_REACTION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aMESSAGE_REACTION_THUMBS_UP\x10\x01\x12 \n\x1cMESSAGE_REACTION_THUMBS_DOWN\x10\x02\x62\x06proto3')
28
28
 
29
29
  _globals = globals()
30
30
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -35,34 +35,34 @@ if _descriptor._USE_C_DESCRIPTORS == False:
35
35
  _globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_options = b'8\001'
36
36
  _globals['_PIPELINE_SOURCEOUTPUTSENTRY']._options = None
37
37
  _globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_options = b'8\001'
38
- _globals['_MESSAGEREACTION']._serialized_start=4367
39
- _globals['_MESSAGEREACTION']._serialized_end=4484
38
+ _globals['_MESSAGEREACTION']._serialized_start=4333
39
+ _globals['_MESSAGEREACTION']._serialized_end=4450
40
40
  _globals['_ROOM']._serialized_start=364
41
41
  _globals['_ROOM']._serialized_end=508
42
42
  _globals['_RESOURCE']._serialized_start=511
43
- _globals['_RESOURCE']._serialized_end=966
44
- _globals['_SOURCE']._serialized_start=969
45
- _globals['_SOURCE']._serialized_end=1275
46
- _globals['_PIPELINE']._serialized_start=1278
47
- _globals['_PIPELINE']._serialized_end=1959
48
- _globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_start=1751
49
- _globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_end=1848
50
- _globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_start=1850
51
- _globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_end=1944
52
- _globals['_FEATUREVIEWSOURCE']._serialized_start=1962
53
- _globals['_FEATUREVIEWSOURCE']._serialized_end=2292
54
- _globals['_FEATUREVIEW']._serialized_start=2295
55
- _globals['_FEATUREVIEW']._serialized_end=2707
56
- _globals['_SPACE']._serialized_start=2710
57
- _globals['_SPACE']._serialized_end=3058
58
- _globals['_USERMESSAGE']._serialized_start=3060
59
- _globals['_USERMESSAGE']._serialized_end=3140
60
- _globals['_AGENTMESSAGE']._serialized_start=3143
61
- _globals['_AGENTMESSAGE']._serialized_end=3502
62
- _globals['_MESSAGEENTRY']._serialized_start=3505
63
- _globals['_MESSAGEENTRY']._serialized_end=3797
64
- _globals['_AGENT']._serialized_start=3800
65
- _globals['_AGENT']._serialized_end=4061
66
- _globals['_COMPLETIONMODEL']._serialized_start=4064
67
- _globals['_COMPLETIONMODEL']._serialized_end=4365
43
+ _globals['_RESOURCE']._serialized_end=935
44
+ _globals['_SOURCE']._serialized_start=938
45
+ _globals['_SOURCE']._serialized_end=1211
46
+ _globals['_PIPELINE']._serialized_start=1214
47
+ _globals['_PIPELINE']._serialized_end=1895
48
+ _globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_start=1687
49
+ _globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_end=1784
50
+ _globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_start=1786
51
+ _globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_end=1880
52
+ _globals['_FEATUREVIEWSOURCE']._serialized_start=1898
53
+ _globals['_FEATUREVIEWSOURCE']._serialized_end=2228
54
+ _globals['_FEATUREVIEW']._serialized_start=2231
55
+ _globals['_FEATUREVIEW']._serialized_end=2643
56
+ _globals['_SPACE']._serialized_start=2646
57
+ _globals['_SPACE']._serialized_end=3024
58
+ _globals['_USERMESSAGE']._serialized_start=3026
59
+ _globals['_USERMESSAGE']._serialized_end=3106
60
+ _globals['_AGENTMESSAGE']._serialized_start=3109
61
+ _globals['_AGENTMESSAGE']._serialized_end=3468
62
+ _globals['_MESSAGEENTRY']._serialized_start=3471
63
+ _globals['_MESSAGEENTRY']._serialized_end=3763
64
+ _globals['_AGENT']._serialized_start=3766
65
+ _globals['_AGENT']._serialized_end=4027
66
+ _globals['_COMPLETIONMODEL']._serialized_start=4030
67
+ _globals['_COMPLETIONMODEL']._serialized_end=4331
68
68
  # @@protoc_insertion_point(module_scope)
@@ -38,7 +38,7 @@ class Room(_message.Message):
38
38
  def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
39
39
 
40
40
  class Resource(_message.Message):
41
- __slots__ = ("id", "name", "description", "mime_type", "url", "size", "md5", "original_path", "room_id", "source_ids", "org_id", "pipeline_id", "recent_events", "created_at")
41
+ __slots__ = ("id", "name", "description", "mime_type", "url", "size", "md5", "original_path", "room_id", "org_id", "pipeline_id", "recent_events", "created_at")
42
42
  ID_FIELD_NUMBER: _ClassVar[int]
43
43
  NAME_FIELD_NUMBER: _ClassVar[int]
44
44
  DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
@@ -48,7 +48,6 @@ class Resource(_message.Message):
48
48
  MD5_FIELD_NUMBER: _ClassVar[int]
49
49
  ORIGINAL_PATH_FIELD_NUMBER: _ClassVar[int]
50
50
  ROOM_ID_FIELD_NUMBER: _ClassVar[int]
51
- SOURCE_IDS_FIELD_NUMBER: _ClassVar[int]
52
51
  ORG_ID_FIELD_NUMBER: _ClassVar[int]
53
52
  PIPELINE_ID_FIELD_NUMBER: _ClassVar[int]
54
53
  RECENT_EVENTS_FIELD_NUMBER: _ClassVar[int]
@@ -62,20 +61,18 @@ class Resource(_message.Message):
62
61
  md5: str
63
62
  original_path: str
64
63
  room_id: str
65
- source_ids: _containers.RepeatedScalarFieldContainer[str]
66
64
  org_id: str
67
65
  pipeline_id: str
68
66
  recent_events: _containers.RepeatedCompositeFieldContainer[_event_pb2.Event]
69
67
  created_at: _timestamp_pb2.Timestamp
70
- def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., mime_type: _Optional[str] = ..., url: _Optional[str] = ..., size: _Optional[int] = ..., md5: _Optional[str] = ..., original_path: _Optional[str] = ..., room_id: _Optional[str] = ..., source_ids: _Optional[_Iterable[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: ...
68
+ def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., mime_type: _Optional[str] = ..., url: _Optional[str] = ..., size: _Optional[int] = ..., md5: _Optional[str] = ..., original_path: _Optional[str] = ..., room_id: _Optional[str] = ..., org_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., recent_events: _Optional[_Iterable[_Union[_event_pb2.Event, _Mapping]]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
71
69
 
72
70
  class Source(_message.Message):
73
- __slots__ = ("id", "name", "table_op_graph", "room_id", "resource_id", "org_id", "pipeline_id", "created_at")
71
+ __slots__ = ("id", "name", "table_op_graph", "room_id", "org_id", "pipeline_id", "created_at")
74
72
  ID_FIELD_NUMBER: _ClassVar[int]
75
73
  NAME_FIELD_NUMBER: _ClassVar[int]
76
74
  TABLE_OP_GRAPH_FIELD_NUMBER: _ClassVar[int]
77
75
  ROOM_ID_FIELD_NUMBER: _ClassVar[int]
78
- RESOURCE_ID_FIELD_NUMBER: _ClassVar[int]
79
76
  ORG_ID_FIELD_NUMBER: _ClassVar[int]
80
77
  PIPELINE_ID_FIELD_NUMBER: _ClassVar[int]
81
78
  CREATED_AT_FIELD_NUMBER: _ClassVar[int]
@@ -83,11 +80,10 @@ class Source(_message.Message):
83
80
  name: str
84
81
  table_op_graph: _table_pb2.TableComputeOp
85
82
  room_id: str
86
- resource_id: str
87
83
  org_id: str
88
84
  pipeline_id: str
89
85
  created_at: _timestamp_pb2.Timestamp
90
- def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., table_op_graph: _Optional[_Union[_table_pb2.TableComputeOp, _Mapping]] = ..., room_id: _Optional[str] = ..., resource_id: _Optional[str] = ..., org_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
86
+ def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., table_op_graph: _Optional[_Union[_table_pb2.TableComputeOp, _Mapping]] = ..., room_id: _Optional[str] = ..., org_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
91
87
 
92
88
  class Pipeline(_message.Message):
93
89
  __slots__ = ("id", "name", "description", "room_id", "resource_inputs", "source_outputs", "pipeline_transformation", "org_id", "created_at")
@@ -166,13 +162,13 @@ class FeatureView(_message.Message):
166
162
  def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ..., feature_view_output: _Optional[_Union[_feature_view_pb2.FeatureViewOutput, _Mapping]] = ..., feature_view_sources: _Optional[_Iterable[_Union[FeatureViewSource, _Mapping]]] = ..., space_ids: _Optional[_Iterable[str]] = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
167
163
 
168
164
  class Space(_message.Message):
169
- __slots__ = ("id", "name", "description", "room_id", "space_parameters", "feature_view_id", "auto_sync", "org_id", "created_at")
165
+ __slots__ = ("id", "name", "description", "room_id", "space_parameters", "feature_view", "auto_sync", "org_id", "created_at")
170
166
  ID_FIELD_NUMBER: _ClassVar[int]
171
167
  NAME_FIELD_NUMBER: _ClassVar[int]
172
168
  DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
173
169
  ROOM_ID_FIELD_NUMBER: _ClassVar[int]
174
170
  SPACE_PARAMETERS_FIELD_NUMBER: _ClassVar[int]
175
- FEATURE_VIEW_ID_FIELD_NUMBER: _ClassVar[int]
171
+ FEATURE_VIEW_FIELD_NUMBER: _ClassVar[int]
176
172
  AUTO_SYNC_FIELD_NUMBER: _ClassVar[int]
177
173
  ORG_ID_FIELD_NUMBER: _ClassVar[int]
178
174
  CREATED_AT_FIELD_NUMBER: _ClassVar[int]
@@ -181,11 +177,11 @@ class Space(_message.Message):
181
177
  description: str
182
178
  room_id: str
183
179
  space_parameters: _space_pb2.SpaceParameters
184
- feature_view_id: str
180
+ feature_view: FeatureView
185
181
  auto_sync: bool
186
182
  org_id: str
187
183
  created_at: _timestamp_pb2.Timestamp
188
- def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ..., space_parameters: _Optional[_Union[_space_pb2.SpaceParameters, _Mapping]] = ..., feature_view_id: _Optional[str] = ..., auto_sync: bool = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
184
+ def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ..., space_parameters: _Optional[_Union[_space_pb2.SpaceParameters, _Mapping]] = ..., feature_view: _Optional[_Union[FeatureView, _Mapping]] = ..., auto_sync: bool = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
189
185
 
190
186
  class UserMessage(_message.Message):
191
187
  __slots__ = ("id", "message", "room_id")