corvic-engine 0.3.0rc95__cp38-abi3-win_amd64.whl → 0.3.0rc97__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/emodel/_space.py CHANGED
@@ -10,8 +10,8 @@ from collections.abc import Iterable, Mapping, Sequence
10
10
  from typing import Final, Literal, Self, TypeAlias, cast
11
11
 
12
12
  import pyarrow as pa
13
- import sqlalchemy as sa
14
13
  from sqlalchemy import orm as sa_orm
14
+ from sqlalchemy.orm.interfaces import LoaderOption
15
15
 
16
16
  from corvic import eorm, op_graph, system
17
17
  from corvic.emodel._base_model import StandardModel
@@ -149,7 +149,7 @@ class Space(StandardModel[SpaceID, models_pb2.Space, eorm.Space]):
149
149
  return space_delete_orms(ids, session)
150
150
 
151
151
  @classmethod
152
- def orm_load_options(cls) -> list[sa.LoaderOption]:
152
+ def orm_load_options(cls) -> list[LoaderOption]:
153
153
  return [
154
154
  sa_orm.selectinload(eorm.Space.feature_view)
155
155
  .selectinload(eorm.FeatureView.feature_view_sources)
corvic/engine/_native.pyd CHANGED
Binary file
@@ -2,6 +2,8 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from typing import cast
6
+
5
7
  import polars as pl
6
8
  import pyarrow as pa
7
9
 
@@ -70,6 +72,11 @@ def _upgrade_to_polars_dtype(dtype: pa.DataType) -> pa.DataType:
70
72
  # polars does not support float16 unless explicitly enabled
71
73
  return pa.float32()
72
74
  if isinstance(dtype, pa.ListType | pa.LargeListType | pa.FixedSizeListType):
75
+ dtype = cast(
76
+ "pa.ListType[pa.DataType] | pa.LargeListType[pa.DataType] \
77
+ | pa.FixedSizeListType[pa.DataType]",
78
+ dtype,
79
+ )
73
80
  # modify large lists as well since its value datatype
74
81
  # may need to be updated
75
82
  return pa.large_list(
corvic/op_graph/ops.py CHANGED
@@ -695,6 +695,11 @@ def _validate_embedding_column(
695
695
  )
696
696
  dtype = embedding_field.dtype
697
697
  if isinstance(dtype, pa.ListType | pa.LargeListType | pa.FixedSizeListType):
698
+ dtype = cast(
699
+ "pa.ListType[pa.DataType] | pa.LargeListType[pa.DataType] \
700
+ | pa.FixedSizeListType[pa.DataType]",
701
+ dtype,
702
+ )
698
703
  inner_dtype = dtype.value_field.type
699
704
  if not (
700
705
  pa.types.is_floating(inner_dtype)
@@ -1615,14 +1620,21 @@ class _Base(OneofProtoWrapper[table_pb2.TableComputeOp], ABC):
1615
1620
  ) -> Ok[OutputCsv] | InvalidArgumentError:
1616
1621
  # Some execution engines don't support nested dtypes
1617
1622
  for field in self.schema:
1623
+ dtype = field.dtype
1618
1624
  if isinstance(
1619
- field.dtype,
1625
+ dtype,
1620
1626
  pa.StructType | pa.ListType | pa.LargeListType | pa.FixedSizeListType,
1621
1627
  ):
1628
+ dtype = cast(
1629
+ "pa.StructType | pa.ListType[pa.DataType] \
1630
+ | pa.LargeListType[pa.DataType] \
1631
+ | pa.FixedSizeListType[pa.DataType]",
1632
+ dtype,
1633
+ )
1622
1634
  return InvalidArgumentError(
1623
1635
  "nested fields are not supported",
1624
1636
  name=field.name,
1625
- dtype=str(field.dtype),
1637
+ dtype=str(dtype),
1626
1638
  )
1627
1639
  return Ok(
1628
1640
  from_proto(
@@ -1653,6 +1665,11 @@ class _Base(OneofProtoWrapper[table_pb2.TableComputeOp], ABC):
1653
1665
  return InvalidArgumentError(
1654
1666
  "given column must be a list", column_name=list_column_name
1655
1667
  )
1668
+ column_type = cast(
1669
+ "pa.ListType[pa.DataType] | pa.LargeListType[pa.DataType] \
1670
+ | pa.FixedSizeListType[pa.DataType]",
1671
+ column_type,
1672
+ )
1656
1673
  elem_type = _list_elem_type(column_type)
1657
1674
  if target_list_length < 1:
1658
1675
  return InvalidArgumentError(
@@ -3196,13 +3213,19 @@ def _make_schema_for_unnest_list(op: UnnestList):
3196
3213
  def gen_fields() -> Iterable[Field]:
3197
3214
  for field in schema:
3198
3215
  if field.name == op.list_column_name:
3199
- if not isinstance(field.dtype, pa.LargeListType):
3216
+ dtype = field.dtype
3217
+ if not isinstance(dtype, pa.LargeListType):
3200
3218
  raise InvalidArgumentError(
3201
3219
  "unnest cannot be done on a non-list column"
3202
3220
  )
3203
3221
 
3222
+ dtype = cast(
3223
+ "pa.LargeListType[pa.DataType]",
3224
+ dtype,
3225
+ )
3226
+
3204
3227
  yield from (
3205
- Field(column_name, dtype=field.dtype.value_type, ftype=field.ftype)
3228
+ Field(column_name, dtype=dtype.value_type, ftype=field.ftype)
3206
3229
  for column_name in op.column_names
3207
3230
  )
3208
3231
  else:
@@ -7,6 +7,9 @@ from typing import Any, LiteralString
7
7
  import sqlalchemy as sa
8
8
  from sqlalchemy import event, exc
9
9
  from sqlalchemy import orm as sa_orm
10
+ from sqlalchemy.exc import (
11
+ DBAPIError,
12
+ )
10
13
  from sqlalchemy.ext import hybrid
11
14
  from sqlalchemy.ext.hybrid import hybrid_property
12
15
 
@@ -161,7 +164,7 @@ class Session(sa_orm.Session):
161
164
  traceback: TracebackType | None,
162
165
  ):
163
166
  super().__exit__(type_, value, traceback)
164
- if isinstance(value, sa.exc.DBAPIError):
167
+ if isinstance(value, DBAPIError):
165
168
  raise dbapi_error_to_result(value) from value
166
169
 
167
170
  def _track_soft_deleted(self, instance: object):
corvic/orm/errors.py CHANGED
@@ -1,6 +1,14 @@
1
1
  """Errors specific to communicating with the database."""
2
2
 
3
- import sqlalchemy as sa
3
+ from sqlalchemy.exc import (
4
+ DBAPIError,
5
+ IntegrityError,
6
+ InterfaceError,
7
+ InternalError,
8
+ NotSupportedError,
9
+ OperationalError,
10
+ ProgrammingError,
11
+ )
4
12
 
5
13
  from corvic import result
6
14
 
@@ -20,24 +28,20 @@ class DeletedObjectError(result.Error):
20
28
  """
21
29
 
22
30
 
23
- def dbapi_error_to_result(err: sa.exc.DBAPIError):
31
+ def dbapi_error_to_result(err: DBAPIError):
24
32
  # based on https://docs.sqlalchemy.org/en/20/errors.html
25
33
  match err:
26
- case sa.exc.NotSupportedError():
34
+ case NotSupportedError():
27
35
  # raised in the unexpected case that we're doing something that the
28
36
  # database just doesn't support
29
37
  raise result.InternalError.from_(err) from err
30
- case (
31
- sa.exc.OperationalError()
32
- | sa.exc.InterfaceError()
33
- | sa.exc.InternalError()
34
- ):
38
+ case OperationalError() | InterfaceError() | InternalError():
35
39
  # These are commonly things that are outside of our control that might
36
40
  # succeed on retry, e.g., connections being dropped
37
41
  return result.UnavailableError.from_(err)
38
- case sa.exc.IntegrityError():
42
+ case IntegrityError():
39
43
  return result.InvalidArgumentError.from_(err)
40
- case sa.exc.ProgrammingError():
44
+ case ProgrammingError():
41
45
  if "could not serialize" in str(err):
42
46
  return result.UnavailableError.from_(err)
43
47
  case _:
@@ -3,7 +3,7 @@ import decimal
3
3
  from abc import abstractmethod
4
4
  from collections.abc import Callable
5
5
  from datetime import date
6
- from typing import Final, Literal, TypeAlias, cast, overload
6
+ from typing import Any, Final, Literal, TypeAlias, cast, overload
7
7
 
8
8
  import pyarrow as pa
9
9
  from google.protobuf import struct_pb2
@@ -584,7 +584,7 @@ def _visit_large_list(
584
584
  def _visit_dictionary(
585
585
  value: struct_pb2.Value, dtype: pa.DataType, error_handler: _ErrorHandler
586
586
  ) -> object:
587
- dtype = cast(pa.DictionaryType, dtype)
587
+ dtype = cast("pa.DictionaryType[Any, Any, Any]", dtype)
588
588
  return _visit(value, dtype.value_type, error_handler)
589
589
 
590
590
 
@@ -782,4 +782,4 @@ def from_value(
782
782
  except (pa.ArrowTypeError, pa.ArrowInvalid, OverflowError) as exc:
783
783
  if errors == "strict":
784
784
  return InvalidArgumentError(_extract_error_message(exc))
785
- return Ok(pa.NA)
785
+ return Ok(pa.NullScalar())
@@ -322,7 +322,7 @@ def _visit_dictionary(
322
322
  value: _PyValue,
323
323
  dtype: pa.DataType,
324
324
  ) -> struct_pb2.Value:
325
- dtype = cast(pa.DictionaryType, dtype)
325
+ dtype = cast("pa.DictionaryType[Any, Any, Any]", dtype)
326
326
  return _visit(value, dtype.value_type)
327
327
 
328
328
 
@@ -11,6 +11,7 @@ from typing import Protocol
11
11
 
12
12
  import duckdb
13
13
  import sqlalchemy as sa
14
+ from sqlalchemy import event
14
15
 
15
16
  import corvic.context
16
17
  import corvic.eorm
@@ -40,7 +41,7 @@ def _context_requester_org_is_superuser() -> Iterator[None]:
40
41
  yield
41
42
 
42
43
 
43
- @sa.event.listens_for(sa.Engine, "connect")
44
+ @event.listens_for(sa.Engine, "connect")
44
45
  def set_sqlite_pragma(dbapi_connection: sqlite3.Connection | None, _) -> None:
45
46
  """Tell sqlite to respect foreign key constraints.
46
47
 
@@ -3,7 +3,7 @@
3
3
  import functools
4
4
  import uuid
5
5
  from collections.abc import Callable, Iterable, Mapping
6
- from typing import Final
6
+ from typing import Final, cast
7
7
 
8
8
  import duckdb
9
9
  import pyarrow as pa
@@ -47,7 +47,9 @@ def _patch_schema_for_storage(
47
47
  patched_schema.append(_patch_list_field(field, old_field))
48
48
  else:
49
49
  patched_schema.append(field)
50
- return pa.schema(patched_schema, new_schema.metadata)
50
+ schema_metadata = new_schema.metadata
51
+ # dict[bytes, bytes] should be valid for a dict[bytes | str, bytes | str]
52
+ return pa.schema(patched_schema, schema_metadata) # pyright: ignore[reportArgumentType]
51
53
 
52
54
 
53
55
  def _wrap_list_type(
@@ -79,6 +81,17 @@ def _patch_list_field(
79
81
  )
80
82
  ):
81
83
  return new_field
84
+ new_field_type = cast(
85
+ "pa.ListType[pa.DataType] | pa.LargeListType[pa.DataType] \
86
+ | pa.FixedSizeListType[pa.DataType]",
87
+ new_field_type,
88
+ )
89
+ old_field_type = cast(
90
+ "pa.ListType[pa.DataType] | pa.LargeListType[pa.DataType] \
91
+ | pa.FixedSizeListType[pa.DataType]",
92
+ old_field_type,
93
+ )
94
+
82
95
  new_list_field = new_field_type.value_field
83
96
  old_list_type = old_field_type.value_field.type
84
97
 
@@ -449,7 +462,7 @@ class DuckDBStaging(StagingDB):
449
462
  for field in storage_schema:
450
463
  if pa.types.is_null(field.type):
451
464
  batch = batch.drop_columns(field.name)
452
- column = pa.nulls(size=len(batch)) # pyright: ignore[reportUnknownMemberType]
465
+ column = pa.nulls(size=len(batch))
453
466
  batch = batch.append_column(
454
467
  field.with_type(pa.null()),
455
468
  column,
@@ -10,6 +10,11 @@ import sqlalchemy as sa
10
10
  import sqlalchemy.orm as sa_orm
11
11
  import structlog
12
12
  from google.protobuf import timestamp_pb2
13
+ from sqlalchemy.exc import (
14
+ DBAPIError,
15
+ IntegrityError,
16
+ )
17
+ from sqlalchemy.ext.hybrid import hybrid_property
13
18
 
14
19
  from corvic import orm, system
15
20
  from corvic.result import InvalidArgumentError, NotFoundError, Ok, UnavailableError
@@ -23,12 +28,14 @@ _logger = structlog.get_logger()
23
28
 
24
29
 
25
30
  class OrmModel(Protocol):
26
- @sa.ext.hybrid.hybrid_property
31
+ @hybrid_property
27
32
  def created_at(self) -> datetime.datetime | None: ...
28
33
 
29
34
  @created_at.inplace.expression
30
35
  @classmethod
31
- def _created_at_expression(cls): ...
36
+ def _created_at_expression(
37
+ cls,
38
+ ) -> ...: ...
32
39
 
33
40
 
34
41
  class OrmHasIdModel(OrmModel, Protocol[OrmIdT]):
@@ -174,7 +181,7 @@ class OrmBackedProto(Generic[ProtoT, OrmT], HasProtoSelf[ProtoT]):
174
181
  self.proto_self, session
175
182
  ).unwrap_or_raise()
176
183
  session.commit()
177
- except sa.exc.DBAPIError as err:
184
+ except DBAPIError as err:
178
185
  return orm.dbapi_error_to_result(err)
179
186
  return Ok(
180
187
  self.__class__(
@@ -196,7 +203,7 @@ class OrmBackedProto(Generic[ProtoT, OrmT], HasProtoSelf[ProtoT]):
196
203
  _ = self.proto_to_orm(self.proto_self, session).unwrap_or_raise()
197
204
  session.flush()
198
205
  # TODO(thunt): Possibly separate out DatabaseError into a precondition error
199
- except sa.exc.DBAPIError as err:
206
+ except DBAPIError as err:
200
207
  return orm.dbapi_error_to_result(err)
201
208
  return Ok(None)
202
209
 
@@ -246,7 +253,7 @@ class HasIdOrmBackedProto(
246
253
  case Ok(None):
247
254
  pass
248
255
  session.commit()
249
- except sa.exc.IntegrityError as exc:
256
+ except IntegrityError as exc:
250
257
  return InvalidArgumentError.from_(exc)
251
258
 
252
259
  new_proto_self = copy.copy(self.proto_self)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: corvic-engine
3
- Version: 0.3.0rc95
3
+ Version: 0.3.0rc97
4
4
  Classifier: Environment :: Console
5
5
  Classifier: License :: Other/Proprietary License
6
6
  Classifier: Programming Language :: Python :: Implementation :: CPython
@@ -10,16 +10,16 @@ Classifier: Programming Language :: Python :: 3.12
10
10
  Classifier: Programming Language :: Python :: 3.13
11
11
  Classifier: Programming Language :: Rust
12
12
  Classifier: Topic :: Scientific/Engineering
13
- Requires-Dist: cachetools>=5
13
+ Requires-Dist: cachetools>=6
14
14
  Requires-Dist: duckdb>=1.0.0
15
15
  Requires-Dist: more-itertools>=10
16
16
  Requires-Dist: numpy>=1.26
17
17
  Requires-Dist: polars>=1.7.1
18
18
  Requires-Dist: protobuf>=4.25
19
19
  Requires-Dist: protovalidate>=0.3
20
- Requires-Dist: pyarrow>=17
20
+ Requires-Dist: pyarrow>=20
21
21
  Requires-Dist: sqlalchemy>=2
22
- Requires-Dist: sqlglot>=25.6.0,<26
22
+ Requires-Dist: sqlglot>=26,<27
23
23
  Requires-Dist: structlog>=24
24
24
  Requires-Dist: tqdm
25
25
  Requires-Dist: umap-learn>=0.5.5 ; extra == 'ml'
@@ -22,21 +22,21 @@ corvic/emodel/_proto_orm_convert.py,sha256=sBAYnnlYJ4y61od5KrBl99F85UqQQbm2TX1rT
22
22
  corvic/emodel/_resource.py,sha256=xBLa3VXCI-OuAlBJI2dLbpRB8eUPaIIV-VZF3NPPSgw,9609
23
23
  corvic/emodel/_room.py,sha256=u36AfTktpafA7Njd9hDaYJP_ugodIoB1mcniSBcByGQ,2928
24
24
  corvic/emodel/_source.py,sha256=AqT7kF1_2Vch0ZcdDOH7kgnUNHJsgKH3S8ElVHwl8c0,10163
25
- corvic/emodel/_space.py,sha256=dK6NuElR6KMofDjgQvgpjzHeWJG8a2ZH-Nzan5XxlYc,39390
25
+ corvic/emodel/_space.py,sha256=v7weiCcJc15r7THCBteBQcosPOS_MHkcQWRpSpTnEH8,39414
26
26
  corvic/emodel/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  corvic/engine/__init__.py,sha256=XL4Vg7rNcBi29ccVelpeFizR9oJtGYXDn84W9zok9d4,975
28
- corvic/engine/_native.pyd,sha256=wL4NMTCj6FeXzxN4mHoqUTaJ3Ea_PcsOi82awczdmLI,438272
28
+ corvic/engine/_native.pyd,sha256=EBs9Ap1OQIjYjQA5lm7raDsqoZq9P80L4Iae0vdtyfc,438272
29
29
  corvic/engine/_native.pyi,sha256=KYMPtvXqHZ-jMgZohLf4se3rr-rBpCihmjANcr6s8ag,1390
30
30
  corvic/engine/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
31
  corvic/eorm/__init__.py,sha256=FMj83kpBC7t-dJzvgJOkmsHvXyvhZmM4jOuQZ3OuwHA,14998
32
32
  corvic/op_graph/__init__.py,sha256=1DMrQfuuS3FkLa9DXYDjSDLurdxxpG5H1jB2ctaa9xo,1444
33
- corvic/op_graph/_schema.py,sha256=rDZt6xAFpvhBZlp54uvXlqTqOxO8uFtTtukBGSUylqA,5688
33
+ corvic/op_graph/_schema.py,sha256=wzKRdU8Lphw4Kh8MHtQwU4alleXgmVWjlb0tUW3v1o0,5897
34
34
  corvic/op_graph/_transformations.py,sha256=Z0TK7fXyfmuIYfzGMB4DJg3OKaMLVdUjuo2NsyVTrLs,9640
35
35
  corvic/op_graph/aggregation.py,sha256=8X6vqXD7dLHrhYJU0BqmhUsWGbzD1zSP5Db5VHdIru4,6187
36
36
  corvic/op_graph/encoders.py,sha256=93wYoBCn_us5lRCkqvjaP0LTg3LBB3yEfhzICv06bB0,10460
37
37
  corvic/op_graph/errors.py,sha256=I4NE5053d0deGm5xx5EmyP4f98qx42xnIsW1IA-2hy4,163
38
38
  corvic/op_graph/feature_types.py,sha256=YVbPzvMnHHmUfR5QAMSvQ6hjQcOrIjqR-su0VypYWFA,9627
39
- corvic/op_graph/ops.py,sha256=5tHg3S6udBt_awtZFq6D5XuRULt50-NUWmrmy-1Cbg8,113529
39
+ corvic/op_graph/ops.py,sha256=2ayxmlc6jm4sD5Xjdi-RhQlpxIE0IDwrheCNyDlueJI,114350
40
40
  corvic/op_graph/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
41
  corvic/op_graph/row_filters/__init__.py,sha256=1sibH_kLw7t_9bpRccnEGWqdCiN0VaUh9LMMIMCRyL8,575
42
42
  corvic/op_graph/row_filters/_jsonlogic.py,sha256=0UdwOZmIGp4yuExHM3qqAnJYmcGv7iuc3vLub3GD-9Y,7685
@@ -44,8 +44,8 @@ corvic/op_graph/row_filters/_row_filters.py,sha256=p3O7tJbLsy65Vs7shAiDjpdM4RzYA
44
44
  corvic/op_graph/sample_strategy.py,sha256=DrbtJ3ORkIRfyIE_FdlOh_UMnCW_K9jL1LeonVYb3bU,3007
45
45
  corvic/orm/__init__.py,sha256=-DUBTy18OF8LzBqkGMCQJHKJYLqkXSlVpZzlaGL--_w,9081
46
46
  corvic/orm/_proto_columns.py,sha256=tcOu92UjFJFYZLasS6sWJQBDRK26yrnmpTii_LDY4iw,913
47
- corvic/orm/_soft_delete.py,sha256=U9HWeK8d3zN_f-YpExrEj30W5sw5jVUgoYRyatNVqvo,8421
48
- corvic/orm/errors.py,sha256=S5bGo8ICsLEDgJu4xj_z4feSD2itoOwcUK8Wfoav_D4,1837
47
+ corvic/orm/_soft_delete.py,sha256=ZDgsajL7m8kYHIQib8Ds_jmNtI6MyMmYW716BN5emfk,8464
48
+ corvic/orm/errors.py,sha256=pxJbqA2eGao-4FDEdgfvFqjH3ZFwB8gCsGWS69IHAF0,1893
49
49
  corvic/orm/func/__init__.py,sha256=X47bbG7G-rDGmRkEGMq4Vn7mPKePdx724xQIwd_pUc0,471
50
50
  corvic/orm/func/utc_func.py,sha256=-FC6w9wBWXejMv1AICT2Gg7tdkSo7gqL2dFT-YKPGQ4,4518
51
51
  corvic/orm/func/uuid_func.py,sha256=oXPjDGAl3mvlNtvcvBrLmRRHPJgtKffShIPbHm-EswA,1152
@@ -54,9 +54,9 @@ corvic/orm/keys.py,sha256=Ag6Xbpvxev-VByT1KJ8ChUn9vKVEzkkMXxrjvtADCtY,2182
54
54
  corvic/orm/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  corvic/pa_scalar/__init__.py,sha256=1nfc0MFGpw78RQEI13VE5hpHuyw_DoE7sJbmzqx5pws,1063
56
56
  corvic/pa_scalar/_const.py,sha256=1nk6w3Y7crd3J5jSCq7DRVa1lcGk4H1RUr1l4NjnlzE,868
57
- corvic/pa_scalar/_from_value.py,sha256=fS3TNPcPI3jAKGmcUIhn8rdqdQEAwgTLEneVxFUeK6M,27531
57
+ corvic/pa_scalar/_from_value.py,sha256=LQidCFpibJSf9_7RlmSOKEsB8hWh1WCtTAdTZ4n9OaQ,27563
58
58
  corvic/pa_scalar/_temporal.py,sha256=HfkONq6cAk2oYK-4GRl6q_nFZWmCuybgHzhTxnBitzM,7833
59
- corvic/pa_scalar/_to_value.py,sha256=U8DoWDMSl58Yi35yd3JS5Gj773e5IOPa2UDfuZqTkjk,13307
59
+ corvic/pa_scalar/_to_value.py,sha256=MuAgzXCelQYDQ3NiKGtMxrjfh9l5kWaxkN07wog3RoM,13324
60
60
  corvic/pa_scalar/_types.py,sha256=shbytO0ji-H2rBOX_1fooVOshb22wwkVU1W99VBKz1A,1131
61
61
  corvic/pa_scalar/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  corvic/proto_wrapper/__init__.py,sha256=KfwiW9Tec3aCrhhEmdP3bhJ1ZLlKdI7QTM3xEIhpMcg,278
@@ -82,25 +82,25 @@ corvic/system/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
82
82
  corvic/system/staging.py,sha256=8XasqXY887n--lrcvp0E_nYnAz_D5_sqAZzgZP5PRoQ,1852
83
83
  corvic/system/storage.py,sha256=bp9llPmE6PwFta_9bhZ6d785ba3wbEysaL_0EzdAjPs,5575
84
84
  corvic/system_sqlite/__init__.py,sha256=F4UN9vFsXiDY2AKk1jYZPuWWJpSugKHS7ghXeZYlbZs,390
85
- corvic/system_sqlite/client.py,sha256=OqX2-3sjYzzkuZXRDTBDjfiDzzLx1jNSud7fXp8CO0A,7486
85
+ corvic/system_sqlite/client.py,sha256=2UFawiW6wywTc6x1cIDWzxDem905Ltt9hRVT4SSOR1A,7513
86
86
  corvic/system_sqlite/fs_blob_store.py,sha256=NTLzLFd56QNqA-iCxNjFAC-YePfXqWWTO9i_o1dJRr0,8563
87
87
  corvic/system_sqlite/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
88
88
  corvic/system_sqlite/rdbms_blob_store.py,sha256=gTP_tQfTVb3wzZkzo8ys1zaz0rSrERzb57rqMHVpuBA,10563
89
- corvic/system_sqlite/staging.py,sha256=KoSIWV0xA6n8PnsSWSbITFZnYKc_UjYqW-Vx2o16jW4,17338
89
+ corvic/system_sqlite/staging.py,sha256=TfTokahjpWBaEnEI3-nPuTj3n8lXVQchJQwhM62TifU,17819
90
90
  corvic/table/__init__.py,sha256=Gj0IR8BQF5PZK92Us7PP0ZigMsVyrfWJupzH8TgzRQk,588
91
91
  corvic/table/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
92
  corvic/table/table.py,sha256=KQwh8oy0IWMMb5VPP543q7Nn1d7zHDzpHhwaWbu0WQA,27802
93
93
  corvic/transfer/__init__.py,sha256=BPTpbfAyfv-RgoNqS7QDxqa0nVlxGfEo3b113kZmJik,1010
94
94
  corvic/transfer/_common_transformations.py,sha256=jVwJgR7QDC9uQNq_O7Y8VSi6SX_mpIzcjlCtA8XHtHM,1523
95
- corvic/transfer/_orm_backed_proto.py,sha256=SxVTRB8hhud4OKi6ZIlkty4J2kt1bJQKOoKQk4tOLYk,9948
95
+ corvic/transfer/_orm_backed_proto.py,sha256=KGMXIJCNs616g29bRxIrxLPCRM1VhStrQr6pIeqk23I,10059
96
96
  corvic/transfer/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
97
  corvic/version/__init__.py,sha256=JlkRLvKXsu3zIxhdynO_0Ub5NfQOvGjfwCRkNnaOu9U,1125
98
98
  corvic/version/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
99
99
  corvic/well_known_types/__init__.py,sha256=Btbeqieik2AcmijeOXeqBptzueBpgNitvH9J5VNm12w,1289
100
100
  corvic/well_known_types/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
101
- corvic_engine-0.3.0rc95.dist-info/METADATA,sha256=yHuCsv6NdycadWQ5GkVTDmI3c7x37LXTevgjtt-Bhs4,1879
102
- corvic_engine-0.3.0rc95.dist-info/WHEEL,sha256=jXXXnFq1lMnQGkwJwdMPY4-n4ga_raKn8NABSsZqRTg,94
103
- corvic_engine-0.3.0rc95.dist-info/licenses/LICENSE,sha256=DSS1OD0oIgssKOmAzkMRBv5jvvVuZQbrIv8lpl9DXY8,1035
101
+ corvic_engine-0.3.0rc97.dist-info/METADATA,sha256=tNp7aqa1_Nnd5OcZ1ofKAenFUVl7mcDmw3hFxOVzkLw,1875
102
+ corvic_engine-0.3.0rc97.dist-info/WHEEL,sha256=jXXXnFq1lMnQGkwJwdMPY4-n4ga_raKn8NABSsZqRTg,94
103
+ corvic_engine-0.3.0rc97.dist-info/licenses/LICENSE,sha256=DSS1OD0oIgssKOmAzkMRBv5jvvVuZQbrIv8lpl9DXY8,1035
104
104
  corvic_generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
105
105
  corvic_generated/algorithm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
106
106
  corvic_generated/algorithm/graph/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -149,7 +149,7 @@ corvic_generated/ingest/v2/quick_mode_pb2.py,sha256=V711VNHxKrOxypo7ZjpvOmckaprx
149
149
  corvic_generated/ingest/v2/quick_mode_pb2.pyi,sha256=j8SAHdekgUuFyQgBmHKcYThD6lagsQDB-3iueBIYJX0,2512
150
150
  corvic_generated/ingest/v2/quick_mode_pb2_grpc.py,sha256=Dfg1MPcY32kbsatdsrpVhvi_qdZPtW4wfLITqh9-FtU,4670
151
151
  corvic_generated/ingest/v2/quick_mode_pb2_grpc.pyi,sha256=DSiD0kV3Ffwsa7ZripP6LNHPu8Zbdo2hc48T-6ha54s,2369
152
- corvic_generated/ingest/v2/resource_pb2.py,sha256=-W-uvOpH9KdnY5pwp4FOeGs73ZbJEL1W3LpN3oyjm3E,20098
152
+ corvic_generated/ingest/v2/resource_pb2.py,sha256=owZDFsazDu58pKo4j16DwpAzKsCkUKdF387Ja1yb8io,20135
153
153
  corvic_generated/ingest/v2/resource_pb2.pyi,sha256=tcjHDLRuc7f--HTfTzJFUhKACc0qMech2p9IqbMRW0A,10695
154
154
  corvic_generated/ingest/v2/resource_pb2_grpc.py,sha256=tKhgy1lM4SM9AAQNSHQGkH7uo_sZeq6RM-4IfSLfKSY,20964
155
155
  corvic_generated/ingest/v2/resource_pb2_grpc.pyi,sha256=CR_Iuhj6L_C9HH5GwLw80tr1vXO_Psy1d9bhpX5KblU,13226
@@ -207,4 +207,4 @@ corvic_generated/status/v1/service_pb2.py,sha256=0cgy0Vn-EyiYtRXRMkEsoNGN1iTOSrr
207
207
  corvic_generated/status/v1/service_pb2.pyi,sha256=iXLR2FOKQJpBgvBzpD2kVwcYOCksP2aRwK4JYaI9CBw,558
208
208
  corvic_generated/status/v1/service_pb2_grpc.py,sha256=y-a5ldrphWlNJW-yKswyjNmXokK4-5bbEEfczjagJHo,2736
209
209
  corvic_generated/status/v1/service_pb2_grpc.pyi,sha256=OoAnaZ64FD0UTzPoRhYvQU8ecoilhHj3ySjSfHbVDaU,1501
210
- corvic_engine-0.3.0rc95.dist-info/RECORD,,
210
+ corvic_engine-0.3.0rc97.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\"\x99\x04\n\x10ResourceMetadata\x12\x1e\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\xc8\x01R\x04name\x12%\n\tmime_type\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\x18\xc8\x01R\x08mimeType\x12\x7f\n\x07room_id\x18\x03 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\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(\tB\x08\xbaH\x05r\x03\x18\xe8\x07R\x0coriginalPath\x12*\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x08\xbaH\x05r\x03\x18\xe8\x07R\x0b\x64\x65scription\x12\x87\x01\n\x0bpipeline_id\x18\x08 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\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\"\xa8\x03\n\rResourceEntry\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\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\x1b\n\turl_depth\x18\r \x01(\x04R\x08urlDepth\x12\x1b\n\turl_width\x18\x0e \x01(\x04R\x08urlWidth\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\"\xaa\x03\n\"FetchAndFinalizeExternalURLRequest\x12\x7f\n\x07room_id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x06roomId\x12\x87\x01\n\x0bpipeline_id\x18\x02 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\npipelineId\x12-\n\roriginal_path\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x10R\x0coriginalPath\x12$\n\turl_depth\x18\x04 \x01(\x04\x42\x07\xbaH\x04\x32\x02\x18\nR\x08urlDepth\x12$\n\turl_width\x18\x05 \x01(\x04\x42\x07\xbaH\x04\x32\x02 \x00R\x08urlWidth\"\\\n#FetchAndFinalizeExternalURLResponse\x12\x35\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x05\x65ntry\"\x8f\x01\n\x15\x44\x65leteResourceRequest\x12v\n\x02id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\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\"\x8c\x01\n\x12GetResourceRequest\x12v\n\x02id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\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\"\x97\x01\n\x14ListResourcesRequest\x12\x7f\n\x07room_id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x06roomId\"N\n\x15ListResourcesResponse\x12\x35\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x05\x65ntry\"\x8b\x01\n\x0cResourceList\x12{\n\x02id\x18\x01 \x03(\tBk\xbaHh\x92\x01\x65\"cr\x04\x10\x01\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x02id\"\xdb\x01\n\x15WatchResourcesRequest\x12\x81\x01\n\x07room_id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\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\"\xef\x02\n\x1dListResourcesPaginatedRequest\x12\x80\x01\n\x07room_id\x18\x01 \x01(\tBg\xbaHdr\x02\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')\xd8\x01\x01R\x06roomId\x12\x88\x01\n\x0bpipeline_id\x18\x04 \x01(\tBg\xbaHdr\x02\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')\xd8\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\"\x9a\x01\n CreateResourceDownloadURLRequest\x12v\n\x02id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\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\"\x99\x01\n\x1f\x43reateResourcePreviewURLRequest\x12v\n\x02id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x02id\"4\n CreateResourcePreviewURLResponse\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\xac\t\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\x8c\x01\n\x1b\x46\x65tchAndFinalizeExternalURL\x12\x34.corvic.ingest.v2.FetchAndFinalizeExternalURLRequest\x1a\x35.corvic.ingest.v2.FetchAndFinalizeExternalURLResponse\"\x00\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\x12\x83\x01\n\x18\x43reateResourcePreviewURL\x12\x31.corvic.ingest.v2.CreateResourcePreviewURLRequest\x1a\x32.corvic.ingest.v2.CreateResourcePreviewURLResponse\"\x00\x62\x06proto3')
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\"\x99\x04\n\x10ResourceMetadata\x12\x1e\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\xc8\x01R\x04name\x12%\n\tmime_type\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\x18\xc8\x01R\x08mimeType\x12\x7f\n\x07room_id\x18\x03 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\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(\tB\x08\xbaH\x05r\x03\x18\xe8\x07R\x0coriginalPath\x12*\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x08\xbaH\x05r\x03\x18\xe8\x07R\x0b\x64\x65scription\x12\x87\x01\n\x0bpipeline_id\x18\x08 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\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\"\xbb\x03\n\rResourceEntry\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\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\x1b\n\turl_depth\x18\r \x01(\x04R\x08urlDepth\x12\x1b\n\turl_width\x18\x0e \x01(\x04R\x08urlWidth\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\x0crecentEventsJ\x04\x08\x0f\x10\x10R\x0borigin_type\"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\"\xaa\x03\n\"FetchAndFinalizeExternalURLRequest\x12\x7f\n\x07room_id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x06roomId\x12\x87\x01\n\x0bpipeline_id\x18\x02 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\npipelineId\x12-\n\roriginal_path\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x10R\x0coriginalPath\x12$\n\turl_depth\x18\x04 \x01(\x04\x42\x07\xbaH\x04\x32\x02\x18\nR\x08urlDepth\x12$\n\turl_width\x18\x05 \x01(\x04\x42\x07\xbaH\x04\x32\x02 \x00R\x08urlWidth\"\\\n#FetchAndFinalizeExternalURLResponse\x12\x35\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x05\x65ntry\"\x8f\x01\n\x15\x44\x65leteResourceRequest\x12v\n\x02id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\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\"\x8c\x01\n\x12GetResourceRequest\x12v\n\x02id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\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\"\x97\x01\n\x14ListResourcesRequest\x12\x7f\n\x07room_id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x06roomId\"N\n\x15ListResourcesResponse\x12\x35\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x1f.corvic.ingest.v2.ResourceEntryR\x05\x65ntry\"\x8b\x01\n\x0cResourceList\x12{\n\x02id\x18\x01 \x03(\tBk\xbaHh\x92\x01\x65\"cr\x04\x10\x01\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x02id\"\xdb\x01\n\x15WatchResourcesRequest\x12\x81\x01\n\x07room_id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\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\"\xef\x02\n\x1dListResourcesPaginatedRequest\x12\x80\x01\n\x07room_id\x18\x01 \x01(\tBg\xbaHdr\x02\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')\xd8\x01\x01R\x06roomId\x12\x88\x01\n\x0bpipeline_id\x18\x04 \x01(\tBg\xbaHdr\x02\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')\xd8\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\"\x9a\x01\n CreateResourceDownloadURLRequest\x12v\n\x02id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\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\"\x99\x01\n\x1f\x43reateResourcePreviewURLRequest\x12v\n\x02id\x18\x01 \x01(\tBf\xbaHcr\x04\x10\x01\x18\x14\xba\x01Z\n\x0estring.pattern\x12\x16value must be a number\x1a\x30this.matches(\'^[0-9]+$\') && !this.endsWith(\'\\n\')R\x02id\"4\n CreateResourcePreviewURLResponse\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\xac\t\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\x8c\x01\n\x1b\x46\x65tchAndFinalizeExternalURL\x12\x34.corvic.ingest.v2.FetchAndFinalizeExternalURLRequest\x1a\x35.corvic.ingest.v2.FetchAndFinalizeExternalURLResponse\"\x00\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\x12\x83\x01\n\x18\x43reateResourcePreviewURL\x12\x31.corvic.ingest.v2.CreateResourcePreviewURLRequest\x1a\x32.corvic.ingest.v2.CreateResourcePreviewURLResponse\"\x00\x62\x06proto3')
22
22
 
23
23
  _globals = globals()
24
24
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -79,58 +79,58 @@ if _descriptor._USE_C_DESCRIPTORS == False:
79
79
  _globals['_RESOURCESERVICE'].methods_by_name['ListResourcesPaginated']._serialized_options = b'\220\002\001'
80
80
  _globals['_RESOURCESERVICE'].methods_by_name['WatchResources']._options = None
81
81
  _globals['_RESOURCESERVICE'].methods_by_name['WatchResources']._serialized_options = b'\220\002\001'
82
- _globals['_RESOURCETYPE']._serialized_start=4319
83
- _globals['_RESOURCETYPE']._serialized_end=4490
82
+ _globals['_RESOURCETYPE']._serialized_start=4338
83
+ _globals['_RESOURCETYPE']._serialized_end=4509
84
84
  _globals['_RESOURCEMETADATA']._serialized_start=180
85
85
  _globals['_RESOURCEMETADATA']._serialized_end=717
86
86
  _globals['_RESOURCEENTRY']._serialized_start=720
87
- _globals['_RESOURCEENTRY']._serialized_end=1144
88
- _globals['_CREATEUPLOADURLREQUEST']._serialized_start=1146
89
- _globals['_CREATEUPLOADURLREQUEST']._serialized_end=1258
90
- _globals['_CREATEUPLOADURLRESPONSE']._serialized_start=1260
91
- _globals['_CREATEUPLOADURLRESPONSE']._serialized_end=1325
92
- _globals['_UPLOADURLTOKENPAYLOAD']._serialized_start=1327
93
- _globals['_UPLOADURLTOKENPAYLOAD']._serialized_end=1442
94
- _globals['_FINALIZEUPLOADURLREQUEST']._serialized_start=1444
95
- _globals['_FINALIZEUPLOADURLREQUEST']._serialized_end=1492
96
- _globals['_FINALIZEUPLOADURLRESPONSE']._serialized_start=1494
97
- _globals['_FINALIZEUPLOADURLRESPONSE']._serialized_end=1576
98
- _globals['_FETCHANDFINALIZEEXTERNALURLREQUEST']._serialized_start=1579
99
- _globals['_FETCHANDFINALIZEEXTERNALURLREQUEST']._serialized_end=2005
100
- _globals['_FETCHANDFINALIZEEXTERNALURLRESPONSE']._serialized_start=2007
101
- _globals['_FETCHANDFINALIZEEXTERNALURLRESPONSE']._serialized_end=2099
102
- _globals['_DELETERESOURCEREQUEST']._serialized_start=2102
103
- _globals['_DELETERESOURCEREQUEST']._serialized_end=2245
104
- _globals['_DELETERESOURCERESPONSE']._serialized_start=2247
105
- _globals['_DELETERESOURCERESPONSE']._serialized_end=2271
106
- _globals['_GETRESOURCEREQUEST']._serialized_start=2274
107
- _globals['_GETRESOURCEREQUEST']._serialized_end=2414
108
- _globals['_GETRESOURCERESPONSE']._serialized_start=2416
109
- _globals['_GETRESOURCERESPONSE']._serialized_end=2492
110
- _globals['_LISTRESOURCESREQUEST']._serialized_start=2495
111
- _globals['_LISTRESOURCESREQUEST']._serialized_end=2646
112
- _globals['_LISTRESOURCESRESPONSE']._serialized_start=2648
113
- _globals['_LISTRESOURCESRESPONSE']._serialized_end=2726
114
- _globals['_RESOURCELIST']._serialized_start=2729
115
- _globals['_RESOURCELIST']._serialized_end=2868
116
- _globals['_WATCHRESOURCESREQUEST']._serialized_start=2871
117
- _globals['_WATCHRESOURCESREQUEST']._serialized_end=3090
118
- _globals['_WATCHRESOURCESRESPONSE']._serialized_start=3092
119
- _globals['_WATCHRESOURCESRESPONSE']._serialized_end=3192
120
- _globals['_LISTRESOURCESPAGINATEDCURSORPAYLOAD']._serialized_start=3195
121
- _globals['_LISTRESOURCESPAGINATEDCURSORPAYLOAD']._serialized_end=3376
122
- _globals['_LISTRESOURCESPAGINATEDREQUEST']._serialized_start=3379
123
- _globals['_LISTRESOURCESPAGINATEDREQUEST']._serialized_end=3746
124
- _globals['_LISTRESOURCESPAGINATEDRESPONSE']._serialized_start=3749
125
- _globals['_LISTRESOURCESPAGINATEDRESPONSE']._serialized_end=3894
126
- _globals['_CREATERESOURCEDOWNLOADURLREQUEST']._serialized_start=3897
127
- _globals['_CREATERESOURCEDOWNLOADURLREQUEST']._serialized_end=4051
128
- _globals['_CREATERESOURCEDOWNLOADURLRESPONSE']._serialized_start=4053
129
- _globals['_CREATERESOURCEDOWNLOADURLRESPONSE']._serialized_end=4106
130
- _globals['_CREATERESOURCEPREVIEWURLREQUEST']._serialized_start=4109
131
- _globals['_CREATERESOURCEPREVIEWURLREQUEST']._serialized_end=4262
132
- _globals['_CREATERESOURCEPREVIEWURLRESPONSE']._serialized_start=4264
133
- _globals['_CREATERESOURCEPREVIEWURLRESPONSE']._serialized_end=4316
134
- _globals['_RESOURCESERVICE']._serialized_start=4493
135
- _globals['_RESOURCESERVICE']._serialized_end=5689
87
+ _globals['_RESOURCEENTRY']._serialized_end=1163
88
+ _globals['_CREATEUPLOADURLREQUEST']._serialized_start=1165
89
+ _globals['_CREATEUPLOADURLREQUEST']._serialized_end=1277
90
+ _globals['_CREATEUPLOADURLRESPONSE']._serialized_start=1279
91
+ _globals['_CREATEUPLOADURLRESPONSE']._serialized_end=1344
92
+ _globals['_UPLOADURLTOKENPAYLOAD']._serialized_start=1346
93
+ _globals['_UPLOADURLTOKENPAYLOAD']._serialized_end=1461
94
+ _globals['_FINALIZEUPLOADURLREQUEST']._serialized_start=1463
95
+ _globals['_FINALIZEUPLOADURLREQUEST']._serialized_end=1511
96
+ _globals['_FINALIZEUPLOADURLRESPONSE']._serialized_start=1513
97
+ _globals['_FINALIZEUPLOADURLRESPONSE']._serialized_end=1595
98
+ _globals['_FETCHANDFINALIZEEXTERNALURLREQUEST']._serialized_start=1598
99
+ _globals['_FETCHANDFINALIZEEXTERNALURLREQUEST']._serialized_end=2024
100
+ _globals['_FETCHANDFINALIZEEXTERNALURLRESPONSE']._serialized_start=2026
101
+ _globals['_FETCHANDFINALIZEEXTERNALURLRESPONSE']._serialized_end=2118
102
+ _globals['_DELETERESOURCEREQUEST']._serialized_start=2121
103
+ _globals['_DELETERESOURCEREQUEST']._serialized_end=2264
104
+ _globals['_DELETERESOURCERESPONSE']._serialized_start=2266
105
+ _globals['_DELETERESOURCERESPONSE']._serialized_end=2290
106
+ _globals['_GETRESOURCEREQUEST']._serialized_start=2293
107
+ _globals['_GETRESOURCEREQUEST']._serialized_end=2433
108
+ _globals['_GETRESOURCERESPONSE']._serialized_start=2435
109
+ _globals['_GETRESOURCERESPONSE']._serialized_end=2511
110
+ _globals['_LISTRESOURCESREQUEST']._serialized_start=2514
111
+ _globals['_LISTRESOURCESREQUEST']._serialized_end=2665
112
+ _globals['_LISTRESOURCESRESPONSE']._serialized_start=2667
113
+ _globals['_LISTRESOURCESRESPONSE']._serialized_end=2745
114
+ _globals['_RESOURCELIST']._serialized_start=2748
115
+ _globals['_RESOURCELIST']._serialized_end=2887
116
+ _globals['_WATCHRESOURCESREQUEST']._serialized_start=2890
117
+ _globals['_WATCHRESOURCESREQUEST']._serialized_end=3109
118
+ _globals['_WATCHRESOURCESRESPONSE']._serialized_start=3111
119
+ _globals['_WATCHRESOURCESRESPONSE']._serialized_end=3211
120
+ _globals['_LISTRESOURCESPAGINATEDCURSORPAYLOAD']._serialized_start=3214
121
+ _globals['_LISTRESOURCESPAGINATEDCURSORPAYLOAD']._serialized_end=3395
122
+ _globals['_LISTRESOURCESPAGINATEDREQUEST']._serialized_start=3398
123
+ _globals['_LISTRESOURCESPAGINATEDREQUEST']._serialized_end=3765
124
+ _globals['_LISTRESOURCESPAGINATEDRESPONSE']._serialized_start=3768
125
+ _globals['_LISTRESOURCESPAGINATEDRESPONSE']._serialized_end=3913
126
+ _globals['_CREATERESOURCEDOWNLOADURLREQUEST']._serialized_start=3916
127
+ _globals['_CREATERESOURCEDOWNLOADURLREQUEST']._serialized_end=4070
128
+ _globals['_CREATERESOURCEDOWNLOADURLRESPONSE']._serialized_start=4072
129
+ _globals['_CREATERESOURCEDOWNLOADURLRESPONSE']._serialized_end=4125
130
+ _globals['_CREATERESOURCEPREVIEWURLREQUEST']._serialized_start=4128
131
+ _globals['_CREATERESOURCEPREVIEWURLREQUEST']._serialized_end=4281
132
+ _globals['_CREATERESOURCEPREVIEWURLRESPONSE']._serialized_start=4283
133
+ _globals['_CREATERESOURCEPREVIEWURLRESPONSE']._serialized_end=4335
134
+ _globals['_RESOURCESERVICE']._serialized_start=4512
135
+ _globals['_RESOURCESERVICE']._serialized_end=5708
136
136
  # @@protoc_insertion_point(module_scope)