corvic-engine 0.3.0rc96__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/_proto_orm_convert.py +1 -5
- corvic/emodel/_resource.py +0 -15
- corvic/emodel/_space.py +2 -2
- corvic/engine/_native.pyd +0 -0
- corvic/eorm/__init__.py +0 -6
- corvic/op_graph/_schema.py +7 -0
- corvic/op_graph/ops.py +27 -4
- corvic/orm/_soft_delete.py +4 -1
- corvic/orm/errors.py +14 -10
- corvic/pa_scalar/_from_value.py +3 -3
- corvic/pa_scalar/_to_value.py +1 -1
- corvic/system_sqlite/client.py +2 -1
- corvic/system_sqlite/staging.py +16 -3
- corvic/transfer/_orm_backed_proto.py +12 -5
- {corvic_engine-0.3.0rc96.dist-info → corvic_engine-0.3.0rc97.dist-info}/METADATA +4 -4
- {corvic_engine-0.3.0rc96.dist-info → corvic_engine-0.3.0rc97.dist-info}/RECORD +24 -24
- corvic_generated/ingest/v2/resource_pb2.py +52 -54
- corvic_generated/ingest/v2/resource_pb2.pyi +2 -19
- corvic_generated/model/v1alpha/models_pb2.py +18 -18
- corvic_generated/model/v1alpha/models_pb2.pyi +2 -4
- corvic_generated/orm/v1/data_connector_pb2.py +3 -7
- corvic_generated/orm/v1/data_connector_pb2.pyi +0 -21
- {corvic_engine-0.3.0rc96.dist-info → corvic_engine-0.3.0rc97.dist-info}/WHEEL +0 -0
- {corvic_engine-0.3.0rc96.dist-info → corvic_engine-0.3.0rc97.dist-info}/licenses/LICENSE +0 -0
@@ -9,7 +9,7 @@ from google.protobuf import timestamp_pb2
|
|
9
9
|
from corvic import eorm, orm, transfer
|
10
10
|
from corvic.result import InternalError, InvalidArgumentError, Ok
|
11
11
|
from corvic_generated.model.v1alpha import models_pb2
|
12
|
-
from corvic_generated.orm.v1 import
|
12
|
+
from corvic_generated.orm.v1 import feature_view_pb2
|
13
13
|
|
14
14
|
|
15
15
|
class _ModelBelongsToOrgProto(transfer.ProtoModel, Protocol):
|
@@ -104,9 +104,6 @@ def resource_orm_to_proto(resource_orm: eorm.Resource) -> models_pb2.Resource:
|
|
104
104
|
md5=resource_orm.md5,
|
105
105
|
size=resource_orm.size,
|
106
106
|
etag=resource_orm.etag,
|
107
|
-
origin_type=resource_orm.origin_info.type
|
108
|
-
if resource_orm.origin_info
|
109
|
-
else data_connector_pb2.DATA_CONNECTION_TYPE_UNSPECIFIED,
|
110
107
|
original_modified_at_time=timestamp_orm_to_proto(
|
111
108
|
resource_orm.original_modified_at_time
|
112
109
|
),
|
@@ -331,7 +328,6 @@ def resource_proto_to_orm(
|
|
331
328
|
url=proto_obj.url,
|
332
329
|
size=proto_obj.size,
|
333
330
|
etag=proto_obj.etag,
|
334
|
-
origin_info=data_connector_pb2.DataConnectionInfo(type=proto_obj.origin_type),
|
335
331
|
original_modified_at_time=proto_obj.original_modified_at_time.ToDatetime(
|
336
332
|
datetime.UTC
|
337
333
|
),
|
corvic/emodel/_resource.py
CHANGED
@@ -24,7 +24,6 @@ from corvic.emodel._proto_orm_convert import (
|
|
24
24
|
)
|
25
25
|
from corvic.result import InternalError, InvalidArgumentError, NotFoundError, Ok
|
26
26
|
from corvic_generated.model.v1alpha import models_pb2
|
27
|
-
from corvic_generated.orm.v1 import data_connector_pb2
|
28
27
|
from corvic_generated.status.v1 import event_pb2
|
29
28
|
|
30
29
|
SourceID: TypeAlias = eorm.SourceID
|
@@ -102,10 +101,6 @@ class Resource(StandardModel[ResourceID, models_pb2.Resource, eorm.Resource]):
|
|
102
101
|
def etag(self) -> str:
|
103
102
|
return self.proto_self.etag
|
104
103
|
|
105
|
-
@property
|
106
|
-
def origin_type(self) -> data_connector_pb2.DataConnectionType:
|
107
|
-
return self.proto_self.origin_type
|
108
|
-
|
109
104
|
@property
|
110
105
|
def original_modified_at_time(self) -> datetime.datetime | None:
|
111
106
|
return self.proto_self.original_modified_at_time.ToDatetime(datetime.UTC)
|
@@ -141,16 +136,6 @@ class Resource(StandardModel[ResourceID, models_pb2.Resource, eorm.Resource]):
|
|
141
136
|
client=self.client,
|
142
137
|
)
|
143
138
|
|
144
|
-
def with_origin_type(
|
145
|
-
self, origin_type: data_connector_pb2.DataConnectionType
|
146
|
-
) -> Resource:
|
147
|
-
proto_self = copy.copy(self.proto_self)
|
148
|
-
proto_self.origin_type = origin_type
|
149
|
-
return Resource(
|
150
|
-
proto_self=proto_self,
|
151
|
-
client=self.client,
|
152
|
-
)
|
153
|
-
|
154
139
|
def with_original_modified_at_time(
|
155
140
|
self, original_modified_at_time: datetime.datetime
|
156
141
|
) -> Resource:
|
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[
|
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
|
corvic/eorm/__init__.py
CHANGED
@@ -79,9 +79,6 @@ orm.Base.registry.update_type_annotation_map(
|
|
79
79
|
data_connector_pb2.DataConnectorParameters: orm.ProtoMessageDecorator(
|
80
80
|
data_connector_pb2.DataConnectorParameters()
|
81
81
|
),
|
82
|
-
data_connector_pb2.DataConnectionInfo: orm.ProtoMessageDecorator(
|
83
|
-
data_connector_pb2.DataConnectionInfo()
|
84
|
-
),
|
85
82
|
# ID types
|
86
83
|
RoomID: orm.IntIDDecorator(RoomID()),
|
87
84
|
ResourceID: orm.IntIDDecorator(ResourceID()),
|
@@ -186,9 +183,6 @@ class Resource(orm.BelongsToOrgMixin, BelongsToRoomMixin, orm.Base, kw_only=True
|
|
186
183
|
server_default=None,
|
187
184
|
default=None,
|
188
185
|
)
|
189
|
-
origin_info: sa_orm.Mapped[data_connector_pb2.DataConnectionInfo | None] = (
|
190
|
-
sa_orm.mapped_column(default=None, nullable=True)
|
191
|
-
)
|
192
186
|
id: sa_orm.Mapped[ResourceID | None] = orm.primary_key_identity_column()
|
193
187
|
latest_event: sa_orm.Mapped[event_pb2.Event | None] = sa_orm.mapped_column(
|
194
188
|
default=None, nullable=True
|
corvic/op_graph/_schema.py
CHANGED
@@ -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
|
-
|
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(
|
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
|
-
|
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=
|
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:
|
corvic/orm/_soft_delete.py
CHANGED
@@ -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,
|
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
|
-
|
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:
|
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
|
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
|
42
|
+
case IntegrityError():
|
39
43
|
return result.InvalidArgumentError.from_(err)
|
40
|
-
case
|
44
|
+
case ProgrammingError():
|
41
45
|
if "could not serialize" in str(err):
|
42
46
|
return result.UnavailableError.from_(err)
|
43
47
|
case _:
|
corvic/pa_scalar/_from_value.py
CHANGED
@@ -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.
|
785
|
+
return Ok(pa.NullScalar())
|
corvic/pa_scalar/_to_value.py
CHANGED
corvic/system_sqlite/client.py
CHANGED
@@ -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
|
-
@
|
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
|
|
corvic/system_sqlite/staging.py
CHANGED
@@ -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
|
-
|
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))
|
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
|
-
@
|
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(
|
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
|
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
|
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
|
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.
|
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>=
|
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>=
|
20
|
+
Requires-Dist: pyarrow>=20
|
21
21
|
Requires-Dist: sqlalchemy>=2
|
22
|
-
Requires-Dist: sqlglot>=
|
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'
|
@@ -18,25 +18,25 @@ corvic/emodel/_errors.py,sha256=Ctlq04SDwHzJPvLaL1rzqzwVqf2b50EILfW3cH4vnh8,261
|
|
18
18
|
corvic/emodel/_feature_type.py,sha256=39nnwfbHyKqHKiH6Y6N-W7muSvA4qmZsSB680ZMPrzs,918
|
19
19
|
corvic/emodel/_feature_view.py,sha256=bpDBrF5Kods1qGq32SPtYHIsnP8uQJC7Aj20nywVDKo,49940
|
20
20
|
corvic/emodel/_pipeline.py,sha256=Eo1eHbFRUjFqA5B7prTFabzjSo9nVr9ZWg69yOfkPRo,19283
|
21
|
-
corvic/emodel/_proto_orm_convert.py,sha256
|
22
|
-
corvic/emodel/_resource.py,sha256=
|
21
|
+
corvic/emodel/_proto_orm_convert.py,sha256=sBAYnnlYJ4y61od5KrBl99F85UqQQbm2TX1rTX0hto8,26938
|
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=
|
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=
|
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
|
-
corvic/eorm/__init__.py,sha256=
|
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=
|
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=
|
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=
|
48
|
-
corvic/orm/errors.py,sha256=
|
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=
|
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=
|
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=
|
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=
|
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=
|
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.
|
102
|
-
corvic_engine-0.3.
|
103
|
-
corvic_engine-0.3.
|
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,8 +149,8 @@ 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=
|
153
|
-
corvic_generated/ingest/v2/resource_pb2.pyi,sha256=
|
152
|
+
corvic_generated/ingest/v2/resource_pb2.py,sha256=owZDFsazDu58pKo4j16DwpAzKsCkUKdF387Ja1yb8io,20135
|
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
|
156
156
|
corvic_generated/ingest/v2/room_pb2.py,sha256=NR7FS-24pW6fWDGLK4tVgkdcHL6A5li0ewRqgUp2DhM,8180
|
@@ -167,8 +167,8 @@ corvic_generated/ingest/v2/table_pb2_grpc.py,sha256=tVs7wMWyAfvHcCQEiUOHLwaptKxg
|
|
167
167
|
corvic_generated/ingest/v2/table_pb2_grpc.pyi,sha256=AEXYNtrU4xyENumcCrkD2FmFV7T1UVidxxeZ5pyE4Qc,4554
|
168
168
|
corvic_generated/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
169
169
|
corvic_generated/model/v1alpha/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
170
|
-
corvic_generated/model/v1alpha/models_pb2.py,sha256=
|
171
|
-
corvic_generated/model/v1alpha/models_pb2.pyi,sha256=
|
170
|
+
corvic_generated/model/v1alpha/models_pb2.py,sha256=FqGMEFTAtlvgZ8aCgGvna7onI3tKaI2mUMdbmr9flJM,9295
|
171
|
+
corvic_generated/model/v1alpha/models_pb2.pyi,sha256=TYMBjJVr4kFj-t5JDqJvJmGEsjlfriz6GNoINlgCqKA,12666
|
172
172
|
corvic_generated/model/v1alpha/models_pb2_grpc.py,sha256=_bXoS025FcWrXR1E_3Mh4GHB1RMvgz8lIpit-Awnf-s,163
|
173
173
|
corvic_generated/model/v1alpha/models_pb2_grpc.pyi,sha256=H9-ADaiKR9iyVZvmnXutZqWwRRCDxjUIktkfJrJFIHg,417
|
174
174
|
corvic_generated/orm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -177,8 +177,8 @@ corvic_generated/orm/v1/common_pb2.py,sha256=kvG1AWuP0TOii-ROu9CJKmG3e1EcbFUF0li
|
|
177
177
|
corvic_generated/orm/v1/common_pb2.pyi,sha256=PZi9KfnXWzlQC0bMuDC71IOmgIaYClY2jPghzKV-mAo,3557
|
178
178
|
corvic_generated/orm/v1/common_pb2_grpc.py,sha256=_bXoS025FcWrXR1E_3Mh4GHB1RMvgz8lIpit-Awnf-s,163
|
179
179
|
corvic_generated/orm/v1/common_pb2_grpc.pyi,sha256=H9-ADaiKR9iyVZvmnXutZqWwRRCDxjUIktkfJrJFIHg,417
|
180
|
-
corvic_generated/orm/v1/data_connector_pb2.py,sha256=
|
181
|
-
corvic_generated/orm/v1/data_connector_pb2.pyi,sha256=
|
180
|
+
corvic_generated/orm/v1/data_connector_pb2.py,sha256=75kIVdmYjMO2jw91bTvhorFTNFxe4wnFx0IbpVN8YnA,2532
|
181
|
+
corvic_generated/orm/v1/data_connector_pb2.pyi,sha256=y_z82YEm--ufNNhbemvh2wELCFhMb3T-4ewhp6LwlRw,2409
|
182
182
|
corvic_generated/orm/v1/data_connector_pb2_grpc.py,sha256=_bXoS025FcWrXR1E_3Mh4GHB1RMvgz8lIpit-Awnf-s,163
|
183
183
|
corvic_generated/orm/v1/data_connector_pb2_grpc.pyi,sha256=H9-ADaiKR9iyVZvmnXutZqWwRRCDxjUIktkfJrJFIHg,417
|
184
184
|
corvic_generated/orm/v1/feature_view_pb2.py,sha256=M1rbc29hV0RXPSZRVg7S54sfUOErFDxEfSLIqOzTtoE,3012
|
@@ -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.
|
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\"\
|
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,60 +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=
|
83
|
-
_globals['_RESOURCETYPE']._serialized_end=
|
84
|
-
_globals['_RESOURCEORIGINTYPE']._serialized_start=4564
|
85
|
-
_globals['_RESOURCEORIGINTYPE']._serialized_end=4817
|
82
|
+
_globals['_RESOURCETYPE']._serialized_start=4338
|
83
|
+
_globals['_RESOURCETYPE']._serialized_end=4509
|
86
84
|
_globals['_RESOURCEMETADATA']._serialized_start=180
|
87
85
|
_globals['_RESOURCEMETADATA']._serialized_end=717
|
88
86
|
_globals['_RESOURCEENTRY']._serialized_start=720
|
89
|
-
_globals['_RESOURCEENTRY']._serialized_end=
|
90
|
-
_globals['_CREATEUPLOADURLREQUEST']._serialized_start=
|
91
|
-
_globals['_CREATEUPLOADURLREQUEST']._serialized_end=
|
92
|
-
_globals['_CREATEUPLOADURLRESPONSE']._serialized_start=
|
93
|
-
_globals['_CREATEUPLOADURLRESPONSE']._serialized_end=
|
94
|
-
_globals['_UPLOADURLTOKENPAYLOAD']._serialized_start=
|
95
|
-
_globals['_UPLOADURLTOKENPAYLOAD']._serialized_end=
|
96
|
-
_globals['_FINALIZEUPLOADURLREQUEST']._serialized_start=
|
97
|
-
_globals['_FINALIZEUPLOADURLREQUEST']._serialized_end=
|
98
|
-
_globals['_FINALIZEUPLOADURLRESPONSE']._serialized_start=
|
99
|
-
_globals['_FINALIZEUPLOADURLRESPONSE']._serialized_end=
|
100
|
-
_globals['_FETCHANDFINALIZEEXTERNALURLREQUEST']._serialized_start=
|
101
|
-
_globals['_FETCHANDFINALIZEEXTERNALURLREQUEST']._serialized_end=
|
102
|
-
_globals['_FETCHANDFINALIZEEXTERNALURLRESPONSE']._serialized_start=
|
103
|
-
_globals['_FETCHANDFINALIZEEXTERNALURLRESPONSE']._serialized_end=
|
104
|
-
_globals['_DELETERESOURCEREQUEST']._serialized_start=
|
105
|
-
_globals['_DELETERESOURCEREQUEST']._serialized_end=
|
106
|
-
_globals['_DELETERESOURCERESPONSE']._serialized_start=
|
107
|
-
_globals['_DELETERESOURCERESPONSE']._serialized_end=
|
108
|
-
_globals['_GETRESOURCEREQUEST']._serialized_start=
|
109
|
-
_globals['_GETRESOURCEREQUEST']._serialized_end=
|
110
|
-
_globals['_GETRESOURCERESPONSE']._serialized_start=
|
111
|
-
_globals['_GETRESOURCERESPONSE']._serialized_end=
|
112
|
-
_globals['_LISTRESOURCESREQUEST']._serialized_start=
|
113
|
-
_globals['_LISTRESOURCESREQUEST']._serialized_end=
|
114
|
-
_globals['_LISTRESOURCESRESPONSE']._serialized_start=
|
115
|
-
_globals['_LISTRESOURCESRESPONSE']._serialized_end=
|
116
|
-
_globals['_RESOURCELIST']._serialized_start=
|
117
|
-
_globals['_RESOURCELIST']._serialized_end=
|
118
|
-
_globals['_WATCHRESOURCESREQUEST']._serialized_start=
|
119
|
-
_globals['_WATCHRESOURCESREQUEST']._serialized_end=
|
120
|
-
_globals['_WATCHRESOURCESRESPONSE']._serialized_start=
|
121
|
-
_globals['_WATCHRESOURCESRESPONSE']._serialized_end=
|
122
|
-
_globals['_LISTRESOURCESPAGINATEDCURSORPAYLOAD']._serialized_start=
|
123
|
-
_globals['_LISTRESOURCESPAGINATEDCURSORPAYLOAD']._serialized_end=
|
124
|
-
_globals['_LISTRESOURCESPAGINATEDREQUEST']._serialized_start=
|
125
|
-
_globals['_LISTRESOURCESPAGINATEDREQUEST']._serialized_end=
|
126
|
-
_globals['_LISTRESOURCESPAGINATEDRESPONSE']._serialized_start=
|
127
|
-
_globals['_LISTRESOURCESPAGINATEDRESPONSE']._serialized_end=
|
128
|
-
_globals['_CREATERESOURCEDOWNLOADURLREQUEST']._serialized_start=
|
129
|
-
_globals['_CREATERESOURCEDOWNLOADURLREQUEST']._serialized_end=
|
130
|
-
_globals['_CREATERESOURCEDOWNLOADURLRESPONSE']._serialized_start=
|
131
|
-
_globals['_CREATERESOURCEDOWNLOADURLRESPONSE']._serialized_end=
|
132
|
-
_globals['_CREATERESOURCEPREVIEWURLREQUEST']._serialized_start=
|
133
|
-
_globals['_CREATERESOURCEPREVIEWURLREQUEST']._serialized_end=
|
134
|
-
_globals['_CREATERESOURCEPREVIEWURLRESPONSE']._serialized_start=
|
135
|
-
_globals['_CREATERESOURCEPREVIEWURLRESPONSE']._serialized_end=
|
136
|
-
_globals['_RESOURCESERVICE']._serialized_start=
|
137
|
-
_globals['_RESOURCESERVICE']._serialized_end=
|
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
|
138
136
|
# @@protoc_insertion_point(module_scope)
|
@@ -17,26 +17,11 @@ class ResourceType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
17
17
|
RESOURCE_TYPE_DIMENSION_TABLE: _ClassVar[ResourceType]
|
18
18
|
RESOURCE_TYPE_FACT_TABLE: _ClassVar[ResourceType]
|
19
19
|
RESOURCE_TYPE_PDF_DOCUMENT: _ClassVar[ResourceType]
|
20
|
-
|
21
|
-
class ResourceOriginType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
22
|
-
__slots__ = ()
|
23
|
-
RESOURCE_ORIGIN_TYPE_UNSPECIFIED: _ClassVar[ResourceOriginType]
|
24
|
-
RESOURCE_ORIGIN_TYPE_FILE_UPLOAD: _ClassVar[ResourceOriginType]
|
25
|
-
RESOURCE_ORIGIN_TYPE_WEB_CRAWL: _ClassVar[ResourceOriginType]
|
26
|
-
RESOURCE_ORIGIN_TYPE_S3_CONNECTOR: _ClassVar[ResourceOriginType]
|
27
|
-
RESOURCE_ORIGIN_TYPE_GCS_CONNECTOR: _ClassVar[ResourceOriginType]
|
28
|
-
RESOURCE_ORIGIN_TYPE_AZURE_CONNECTOR: _ClassVar[ResourceOriginType]
|
29
20
|
RESOURCE_TYPE_UNSPECIFIED: ResourceType
|
30
21
|
RESOURCE_TYPE_TABLE: ResourceType
|
31
22
|
RESOURCE_TYPE_DIMENSION_TABLE: ResourceType
|
32
23
|
RESOURCE_TYPE_FACT_TABLE: ResourceType
|
33
24
|
RESOURCE_TYPE_PDF_DOCUMENT: ResourceType
|
34
|
-
RESOURCE_ORIGIN_TYPE_UNSPECIFIED: ResourceOriginType
|
35
|
-
RESOURCE_ORIGIN_TYPE_FILE_UPLOAD: ResourceOriginType
|
36
|
-
RESOURCE_ORIGIN_TYPE_WEB_CRAWL: ResourceOriginType
|
37
|
-
RESOURCE_ORIGIN_TYPE_S3_CONNECTOR: ResourceOriginType
|
38
|
-
RESOURCE_ORIGIN_TYPE_GCS_CONNECTOR: ResourceOriginType
|
39
|
-
RESOURCE_ORIGIN_TYPE_AZURE_CONNECTOR: ResourceOriginType
|
40
25
|
|
41
26
|
class ResourceMetadata(_message.Message):
|
42
27
|
__slots__ = ("name", "mime_type", "room_id", "original_path", "description", "pipeline_id", "type_hint", "size")
|
@@ -59,7 +44,7 @@ class ResourceMetadata(_message.Message):
|
|
59
44
|
def __init__(self, name: _Optional[str] = ..., mime_type: _Optional[str] = ..., room_id: _Optional[str] = ..., original_path: _Optional[str] = ..., description: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., type_hint: _Optional[_Union[ResourceType, str]] = ..., size: _Optional[int] = ...) -> None: ...
|
60
45
|
|
61
46
|
class ResourceEntry(_message.Message):
|
62
|
-
__slots__ = ("id", "name", "mime_type", "md5", "room_id", "size", "original_path", "description", "
|
47
|
+
__slots__ = ("id", "name", "mime_type", "md5", "room_id", "size", "original_path", "description", "pipeline_id", "url_depth", "url_width", "referenced_by_source_ids", "recent_events")
|
63
48
|
ID_FIELD_NUMBER: _ClassVar[int]
|
64
49
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
65
50
|
MIME_TYPE_FIELD_NUMBER: _ClassVar[int]
|
@@ -68,7 +53,6 @@ class ResourceEntry(_message.Message):
|
|
68
53
|
SIZE_FIELD_NUMBER: _ClassVar[int]
|
69
54
|
ORIGINAL_PATH_FIELD_NUMBER: _ClassVar[int]
|
70
55
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
71
|
-
ORIGIN_TYPE_FIELD_NUMBER: _ClassVar[int]
|
72
56
|
PIPELINE_ID_FIELD_NUMBER: _ClassVar[int]
|
73
57
|
URL_DEPTH_FIELD_NUMBER: _ClassVar[int]
|
74
58
|
URL_WIDTH_FIELD_NUMBER: _ClassVar[int]
|
@@ -82,13 +66,12 @@ class ResourceEntry(_message.Message):
|
|
82
66
|
size: int
|
83
67
|
original_path: str
|
84
68
|
description: str
|
85
|
-
origin_type: ResourceOriginType
|
86
69
|
pipeline_id: str
|
87
70
|
url_depth: int
|
88
71
|
url_width: int
|
89
72
|
referenced_by_source_ids: _containers.RepeatedScalarFieldContainer[str]
|
90
73
|
recent_events: _containers.RepeatedCompositeFieldContainer[_event_pb2.Event]
|
91
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., mime_type: _Optional[str] = ..., md5: _Optional[str] = ..., room_id: _Optional[str] = ..., size: _Optional[int] = ..., original_path: _Optional[str] = ..., description: _Optional[str] = ...,
|
74
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., mime_type: _Optional[str] = ..., md5: _Optional[str] = ..., room_id: _Optional[str] = ..., size: _Optional[int] = ..., original_path: _Optional[str] = ..., description: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., url_depth: _Optional[int] = ..., url_width: _Optional[int] = ..., referenced_by_source_ids: _Optional[_Iterable[str]] = ..., recent_events: _Optional[_Iterable[_Union[_event_pb2.Event, _Mapping]]] = ...) -> None: ...
|
92
75
|
|
93
76
|
class CreateUploadURLRequest(_message.Message):
|
94
77
|
__slots__ = ("metadata", "origin")
|
@@ -21,7 +21,7 @@ from corvic_generated.status.v1 import event_pb2 as corvic_dot_status_dot_v1_dot
|
|
21
21
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
22
22
|
|
23
23
|
|
24
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!corvic/model/v1alpha/models.proto\x12\x14\x63orvic.model.v1alpha\x1a\"corvic/orm/v1/data_connector.proto\x1a corvic/orm/v1/feature_view.proto\x1a\x1c\x63orvic/orm/v1/pipeline.proto\x1a\x19\x63orvic/orm/v1/space.proto\x1a\x19\x63orvic/orm/v1/table.proto\x1a\x1c\x63orvic/status/v1/event.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x15\n\x06org_id\x18\x03 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\
|
24
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!corvic/model/v1alpha/models.proto\x12\x14\x63orvic.model.v1alpha\x1a\"corvic/orm/v1/data_connector.proto\x1a corvic/orm/v1/feature_view.proto\x1a\x1c\x63orvic/orm/v1/pipeline.proto\x1a\x19\x63orvic/orm/v1/space.proto\x1a\x19\x63orvic/orm/v1/table.proto\x1a\x1c\x63orvic/status/v1/event.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x15\n\x06org_id\x18\x03 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\x87\x05\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\x12\n\x04\x65tag\x18\x11 \x01(\tR\x04\x65tag\x12Z\n\x19original_modified_at_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x16originalModifiedAtTime\x88\x01\x01\x12\x17\n\x07room_id\x18\t \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x0b \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\r \x01(\tR\npipelineId\x12.\n\x13pipeline_input_name\x18\x0f \x01(\tR\x11pipelineInputName\x12<\n\rrecent_events\x18\x0e \x03(\x0b\x32\x17.corvic.status.v1.EventR\x0crecentEvents\x12\x1f\n\x0bis_terminal\x18\x10 \x01(\x08R\nisTerminal\x12>\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\tcreatedAt\x88\x01\x01\x42\x1c\n\x1a_original_modified_at_timeB\r\n\x0b_created_at\"\xfc\x02\n\x06Source\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x06 \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\x08 \x01(\tR\npipelineId\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x12Q\n\x13prop_table_op_graph\x18\t \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpH\x01R\x10propTableOpGraph\x88\x01\x01\x42\r\n\x0b_created_atB\x16\n\x14_prop_table_op_graph\"\xe9\x03\n\x08Pipeline\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\t \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12X\n\x0esource_outputs\x18\x05 \x03(\x0b\x32\x31.corvic.model.v1alpha.Pipeline.SourceOutputsEntryR\rsourceOutputs\x12^\n\x17pipeline_transformation\x18\x06 \x01(\x0b\x32%.corvic.orm.v1.PipelineTransformationR\x16pipelineTransformation\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x1a^\n\x12SourceOutputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x05value:\x02\x38\x01\x42\r\n\x0b_created_at\"\xca\x02\n\x11\x46\x65\x61tureViewSource\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x34\n\x06source\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x06source\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12+\n\x11\x64rop_disconnected\x18\x04 \x01(\x08R\x10\x64ropDisconnected\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x12\x17\n\x07room_id\x18\x07 \x01(\tR\x06roomIdB\r\n\x0b_created_at\"\x9c\x03\n\x0b\x46\x65\x61tureView\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12P\n\x13\x66\x65\x61ture_view_output\x18\x05 \x01(\x0b\x32 .corvic.orm.v1.FeatureViewOutputR\x11\x66\x65\x61tureViewOutput\x12Y\n\x14\x66\x65\x61ture_view_sources\x18\x06 \x03(\x0b\x32\'.corvic.model.v1alpha.FeatureViewSourceR\x12\x66\x65\x61tureViewSources\x12\x1b\n\tspace_ids\x18\x07 \x03(\tR\x08spaceIds\x12\x15\n\x06org_id\x18\x08 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xfa\x02\n\x05Space\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12I\n\x10space_parameters\x18\x05 \x01(\x0b\x32\x1e.corvic.orm.v1.SpaceParametersR\x0fspaceParameters\x12\x44\n\x0c\x66\x65\x61ture_view\x18\x06 \x01(\x0b\x32!.corvic.model.v1alpha.FeatureViewR\x0b\x66\x65\x61tureView\x12\x1b\n\tauto_sync\x18\t \x01(\x08R\x08\x61utoSync\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\x87\x04\n\rDataConnector\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\x46\n\nparameters\x18\x04 \x01(\x0b\x32&.corvic.orm.v1.DataConnectorParametersR\nparameters\x12\x1b\n\tbase_path\x18\x05 \x01(\tR\x08\x62\x61sePath\x12\x1d\n\nsecret_key\x18\x06 \x01(\tR\tsecretKey\x12Q\n\x14last_validation_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x12lastValidationTime\x88\x01\x01\x12]\n\x1alast_successful_validation\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x18lastSuccessfulValidation\x88\x01\x01\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\tcreatedAt\x88\x01\x01\x42\x17\n\x15_last_validation_timeB\x1d\n\x1b_last_successful_validationB\r\n\x0b_created_at\"\xdd\x03\n\x16PipelineDataConnection\x12\x1f\n\x0bpipeline_id\x18\x01 \x01(\tR\npipelineId\x12J\n\x0e\x64\x61ta_connector\x18\x02 \x01(\x0b\x32#.corvic.model.v1alpha.DataConnectorR\rdataConnector\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x04 \x01(\tR\x05orgId\x12\x16\n\x06prefix\x18\x05 \x01(\tR\x06prefix\x12\x12\n\x04glob\x18\x06 \x01(\tR\x04glob\x12J\n\x13last_ingestion_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x11lastIngestionTime\x12_\n\x1elast_successful_ingestion_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x1blastSuccessfulIngestionTime\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_atb\x06proto3')
|
25
25
|
|
26
26
|
_globals = globals()
|
27
27
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -33,21 +33,21 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
33
33
|
_globals['_ROOM']._serialized_start=277
|
34
34
|
_globals['_ROOM']._serialized_end=421
|
35
35
|
_globals['_RESOURCE']._serialized_start=424
|
36
|
-
_globals['_RESOURCE']._serialized_end=
|
37
|
-
_globals['_SOURCE']._serialized_start=
|
38
|
-
_globals['_SOURCE']._serialized_end=
|
39
|
-
_globals['_PIPELINE']._serialized_start=
|
40
|
-
_globals['_PIPELINE']._serialized_end=
|
41
|
-
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_start=
|
42
|
-
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_end=
|
43
|
-
_globals['_FEATUREVIEWSOURCE']._serialized_start=
|
44
|
-
_globals['_FEATUREVIEWSOURCE']._serialized_end=
|
45
|
-
_globals['_FEATUREVIEW']._serialized_start=
|
46
|
-
_globals['_FEATUREVIEW']._serialized_end=
|
47
|
-
_globals['_SPACE']._serialized_start=
|
48
|
-
_globals['_SPACE']._serialized_end=
|
49
|
-
_globals['_DATACONNECTOR']._serialized_start=
|
50
|
-
_globals['_DATACONNECTOR']._serialized_end=
|
51
|
-
_globals['_PIPELINEDATACONNECTION']._serialized_start=
|
52
|
-
_globals['_PIPELINEDATACONNECTION']._serialized_end=
|
36
|
+
_globals['_RESOURCE']._serialized_end=1071
|
37
|
+
_globals['_SOURCE']._serialized_start=1074
|
38
|
+
_globals['_SOURCE']._serialized_end=1454
|
39
|
+
_globals['_PIPELINE']._serialized_start=1457
|
40
|
+
_globals['_PIPELINE']._serialized_end=1946
|
41
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_start=1837
|
42
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_end=1931
|
43
|
+
_globals['_FEATUREVIEWSOURCE']._serialized_start=1949
|
44
|
+
_globals['_FEATUREVIEWSOURCE']._serialized_end=2279
|
45
|
+
_globals['_FEATUREVIEW']._serialized_start=2282
|
46
|
+
_globals['_FEATUREVIEW']._serialized_end=2694
|
47
|
+
_globals['_SPACE']._serialized_start=2697
|
48
|
+
_globals['_SPACE']._serialized_end=3075
|
49
|
+
_globals['_DATACONNECTOR']._serialized_start=3078
|
50
|
+
_globals['_DATACONNECTOR']._serialized_end=3597
|
51
|
+
_globals['_PIPELINEDATACONNECTION']._serialized_start=3600
|
52
|
+
_globals['_PIPELINEDATACONNECTION']._serialized_end=4077
|
53
53
|
# @@protoc_insertion_point(module_scope)
|
@@ -25,7 +25,7 @@ class Room(_message.Message):
|
|
25
25
|
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
26
26
|
|
27
27
|
class Resource(_message.Message):
|
28
|
-
__slots__ = ("id", "name", "description", "mime_type", "url", "size", "md5", "original_path", "etag", "
|
28
|
+
__slots__ = ("id", "name", "description", "mime_type", "url", "size", "md5", "original_path", "etag", "original_modified_at_time", "room_id", "org_id", "pipeline_id", "pipeline_input_name", "recent_events", "is_terminal", "created_at")
|
29
29
|
ID_FIELD_NUMBER: _ClassVar[int]
|
30
30
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
31
31
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
@@ -35,7 +35,6 @@ class Resource(_message.Message):
|
|
35
35
|
MD5_FIELD_NUMBER: _ClassVar[int]
|
36
36
|
ORIGINAL_PATH_FIELD_NUMBER: _ClassVar[int]
|
37
37
|
ETAG_FIELD_NUMBER: _ClassVar[int]
|
38
|
-
ORIGIN_TYPE_FIELD_NUMBER: _ClassVar[int]
|
39
38
|
ORIGINAL_MODIFIED_AT_TIME_FIELD_NUMBER: _ClassVar[int]
|
40
39
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
41
40
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
@@ -53,7 +52,6 @@ class Resource(_message.Message):
|
|
53
52
|
md5: str
|
54
53
|
original_path: str
|
55
54
|
etag: str
|
56
|
-
origin_type: _data_connector_pb2.DataConnectionType
|
57
55
|
original_modified_at_time: _timestamp_pb2.Timestamp
|
58
56
|
room_id: str
|
59
57
|
org_id: str
|
@@ -62,7 +60,7 @@ class Resource(_message.Message):
|
|
62
60
|
recent_events: _containers.RepeatedCompositeFieldContainer[_event_pb2.Event]
|
63
61
|
is_terminal: bool
|
64
62
|
created_at: _timestamp_pb2.Timestamp
|
65
|
-
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] = ..., etag: _Optional[str] = ...,
|
63
|
+
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] = ..., etag: _Optional[str] = ..., original_modified_at_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., room_id: _Optional[str] = ..., org_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., pipeline_input_name: _Optional[str] = ..., recent_events: _Optional[_Iterable[_Union[_event_pb2.Event, _Mapping]]] = ..., is_terminal: bool = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
66
64
|
|
67
65
|
class Source(_message.Message):
|
68
66
|
__slots__ = ("id", "name", "table_op_graph", "room_id", "org_id", "pipeline_id", "created_at", "prop_table_op_graph")
|
@@ -14,17 +14,15 @@ _sym_db = _symbol_database.Default()
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"corvic/orm/v1/data_connector.proto\x12\rcorvic.orm.v1\"K\n\rS3Credentials\x12\"\n\raccess_key_id\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssKeyId\x12\x16\n\x06region\x18\x02 \x01(\tR\x06region\"B\n\x0eGCSCredentials\x12\x30\n\x14service_account_json\x18\x01 \x01(\tR\x12serviceAccountJson\"x\n\x14\x41zureBlobCredentials\x12\x1f\n\x0b\x61\x63\x63ount_url\x18\x01 \x01(\tR\naccountUrl\x12?\n\x0bsecret_type\x18\x02 \x01(\x0e\x32\x1e.corvic.orm.v1.AzureSecretTypeR\nsecretType\"\x96\x02\n\x17\x44\x61taConnectorParameters\x12\x45\n\x0es3_credentials\x18\x01 \x01(\x0b\x32\x1c.corvic.orm.v1.S3CredentialsH\x00R\rs3Credentials\x12H\n\x0fgcs_credentials\x18\x02 \x01(\x0b\x32\x1d.corvic.orm.v1.GCSCredentialsH\x00R\x0egcsCredentials\x12[\n\x16\x61zure_blob_credentials\x18\x03 \x01(\x0b\x32#.corvic.orm.v1.AzureBlobCredentialsH\x00R\x14\x61zureBlobCredentialsB\r\n\x0b\x63redentials
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"corvic/orm/v1/data_connector.proto\x12\rcorvic.orm.v1\"K\n\rS3Credentials\x12\"\n\raccess_key_id\x18\x01 \x01(\tR\x0b\x61\x63\x63\x65ssKeyId\x12\x16\n\x06region\x18\x02 \x01(\tR\x06region\"B\n\x0eGCSCredentials\x12\x30\n\x14service_account_json\x18\x01 \x01(\tR\x12serviceAccountJson\"x\n\x14\x41zureBlobCredentials\x12\x1f\n\x0b\x61\x63\x63ount_url\x18\x01 \x01(\tR\naccountUrl\x12?\n\x0bsecret_type\x18\x02 \x01(\x0e\x32\x1e.corvic.orm.v1.AzureSecretTypeR\nsecretType\"\x96\x02\n\x17\x44\x61taConnectorParameters\x12\x45\n\x0es3_credentials\x18\x01 \x01(\x0b\x32\x1c.corvic.orm.v1.S3CredentialsH\x00R\rs3Credentials\x12H\n\x0fgcs_credentials\x18\x02 \x01(\x0b\x32\x1d.corvic.orm.v1.GCSCredentialsH\x00R\x0egcsCredentials\x12[\n\x16\x61zure_blob_credentials\x18\x03 \x01(\x0b\x32#.corvic.orm.v1.AzureBlobCredentialsH\x00R\x14\x61zureBlobCredentialsB\r\n\x0b\x63redentials*\x8d\x01\n\x0f\x41zureSecretType\x12!\n\x1d\x41ZURE_SECRET_TYPE_UNSPECIFIED\x10\x00\x12(\n$AZURE_SECRET_TYPE_ACCOUNT_ACCESS_KEY\x10\x01\x12-\n)AZURE_SECRET_TYPE_SHARED_ACCESS_SIGNATURE\x10\x02\x62\x06proto3')
|
18
18
|
|
19
19
|
_globals = globals()
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'corvic.orm.v1.data_connector_pb2', _globals)
|
22
22
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
23
23
|
DESCRIPTOR._options = None
|
24
|
-
_globals['_AZURESECRETTYPE']._serialized_start=
|
25
|
-
_globals['_AZURESECRETTYPE']._serialized_end=
|
26
|
-
_globals['_DATACONNECTIONTYPE']._serialized_start=823
|
27
|
-
_globals['_DATACONNECTIONTYPE']._serialized_end=1076
|
24
|
+
_globals['_AZURESECRETTYPE']._serialized_start=602
|
25
|
+
_globals['_AZURESECRETTYPE']._serialized_end=743
|
28
26
|
_globals['_S3CREDENTIALS']._serialized_start=53
|
29
27
|
_globals['_S3CREDENTIALS']._serialized_end=128
|
30
28
|
_globals['_GCSCREDENTIALS']._serialized_start=130
|
@@ -33,6 +31,4 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
33
31
|
_globals['_AZUREBLOBCREDENTIALS']._serialized_end=318
|
34
32
|
_globals['_DATACONNECTORPARAMETERS']._serialized_start=321
|
35
33
|
_globals['_DATACONNECTORPARAMETERS']._serialized_end=599
|
36
|
-
_globals['_DATACONNECTIONINFO']._serialized_start=601
|
37
|
-
_globals['_DATACONNECTIONINFO']._serialized_end=676
|
38
34
|
# @@protoc_insertion_point(module_scope)
|
@@ -10,24 +10,9 @@ class AzureSecretType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
10
10
|
AZURE_SECRET_TYPE_UNSPECIFIED: _ClassVar[AzureSecretType]
|
11
11
|
AZURE_SECRET_TYPE_ACCOUNT_ACCESS_KEY: _ClassVar[AzureSecretType]
|
12
12
|
AZURE_SECRET_TYPE_SHARED_ACCESS_SIGNATURE: _ClassVar[AzureSecretType]
|
13
|
-
|
14
|
-
class DataConnectionType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
15
|
-
__slots__ = ()
|
16
|
-
DATA_CONNECTION_TYPE_UNSPECIFIED: _ClassVar[DataConnectionType]
|
17
|
-
DATA_CONNECTION_TYPE_FILE_UPLOAD: _ClassVar[DataConnectionType]
|
18
|
-
DATA_CONNECTION_TYPE_WEB_CRAWL: _ClassVar[DataConnectionType]
|
19
|
-
DATA_CONNECTION_TYPE_S3_CONNECTOR: _ClassVar[DataConnectionType]
|
20
|
-
DATA_CONNECTION_TYPE_GCS_CONNECTOR: _ClassVar[DataConnectionType]
|
21
|
-
DATA_CONNECTION_TYPE_AZURE_CONNECTOR: _ClassVar[DataConnectionType]
|
22
13
|
AZURE_SECRET_TYPE_UNSPECIFIED: AzureSecretType
|
23
14
|
AZURE_SECRET_TYPE_ACCOUNT_ACCESS_KEY: AzureSecretType
|
24
15
|
AZURE_SECRET_TYPE_SHARED_ACCESS_SIGNATURE: AzureSecretType
|
25
|
-
DATA_CONNECTION_TYPE_UNSPECIFIED: DataConnectionType
|
26
|
-
DATA_CONNECTION_TYPE_FILE_UPLOAD: DataConnectionType
|
27
|
-
DATA_CONNECTION_TYPE_WEB_CRAWL: DataConnectionType
|
28
|
-
DATA_CONNECTION_TYPE_S3_CONNECTOR: DataConnectionType
|
29
|
-
DATA_CONNECTION_TYPE_GCS_CONNECTOR: DataConnectionType
|
30
|
-
DATA_CONNECTION_TYPE_AZURE_CONNECTOR: DataConnectionType
|
31
16
|
|
32
17
|
class S3Credentials(_message.Message):
|
33
18
|
__slots__ = ("access_key_id", "region")
|
@@ -60,9 +45,3 @@ class DataConnectorParameters(_message.Message):
|
|
60
45
|
gcs_credentials: GCSCredentials
|
61
46
|
azure_blob_credentials: AzureBlobCredentials
|
62
47
|
def __init__(self, s3_credentials: _Optional[_Union[S3Credentials, _Mapping]] = ..., gcs_credentials: _Optional[_Union[GCSCredentials, _Mapping]] = ..., azure_blob_credentials: _Optional[_Union[AzureBlobCredentials, _Mapping]] = ...) -> None: ...
|
63
|
-
|
64
|
-
class DataConnectionInfo(_message.Message):
|
65
|
-
__slots__ = ("type",)
|
66
|
-
TYPE_FIELD_NUMBER: _ClassVar[int]
|
67
|
-
type: DataConnectionType
|
68
|
-
def __init__(self, type: _Optional[_Union[DataConnectionType, str]] = ...) -> None: ...
|
File without changes
|
File without changes
|