corvic-engine 0.3.0rc52__tar.gz → 0.3.0rc54__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/Cargo.lock +24 -24
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/Cargo.toml +1 -1
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/PKG-INFO +1 -1
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/pyproject.toml +2 -2
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_pipeline.py +0 -30
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_proto_orm_convert.py +31 -23
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_resource.py +11 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/orm/__init__.py +0 -6
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/pa_scalar/_to_value.py +11 -16
- corvic_engine-0.3.0rc54/python/corvic_generated/model/v1alpha/models_pb2.py +54 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/model/v1alpha/models_pb2.pyi +6 -13
- corvic_engine-0.3.0rc52/python/corvic_generated/model/v1alpha/models_pb2.py +0 -58
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/LICENSE +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/README.md +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/Cargo.toml +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/expression_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/expression_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/expression_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/expression_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/priv/private_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/priv/private_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/priv/private_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/priv/private_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/validate_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/validate_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/validate_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/validate_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/context/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/context/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/embed/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/embed/node2vec.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/embed/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/embedding_metric/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/embedding_metric/embeddings.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/embedding_metric/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/engine/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/engine/_native.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/engine/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_agent.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_base_model.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_completion_model.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_defaults.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_errors.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_feature_type.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_feature_view.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_room.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_source.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_space.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/_schema.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/_transformations.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/aggregation.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/encoders.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/errors.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/feature_types.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/ops.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/row_filters/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/row_filters/_jsonlogic.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/row_filters/_row_filters.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/op_graph/sample_strategy.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/orm/_proto_columns.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/orm/base.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/orm/errors.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/orm/func/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/orm/func/utc_func.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/orm/func/uuid_func.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/orm/ids.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/orm/keys.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/orm/mixins.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/orm/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/pa_scalar/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/pa_scalar/_const.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/pa_scalar/_from_value.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/pa_scalar/_temporal.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/pa_scalar/_types.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/pa_scalar/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/proto_wrapper/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/proto_wrapper/_errors.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/proto_wrapper/_wrappers.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/proto_wrapper/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/result/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/result/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/sql/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/sql/parse_ops.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/sql/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system/_dimension_reduction.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system/_embedder.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system/_image_embedder.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system/_planner.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system/_text_embedder.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system/client.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system/in_memory_executor.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system/op_graph_executor.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system/staging.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system/storage.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system_sqlite/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system_sqlite/client.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system_sqlite/fs_blob_store.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system_sqlite/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system_sqlite/rdbms_blob_store.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/system_sqlite/staging.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/table/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/table/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/table/table.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/version/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/version/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/well_known_types/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/well_known_types/py.typed +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/algorithm/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/algorithm/graph/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/algorithm/graph/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/algorithm/graph/v1/graph_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/algorithm/graph/v1/graph_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/algorithm/graph/v1/graph_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/algorithm/graph/v1/graph_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/chat/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/chat/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/chat/v1/service_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/chat/v1/service_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/chat/v1/service_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/chat/v1/service_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/completion/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/completion/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/completion/v1/service_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/completion/v1/service_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/completion/v1/service_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/completion/v1/service_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/config/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/config/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/config/v1/settings_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/config/v1/settings_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/config/v1/settings_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/config/v1/settings_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/embedding/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/embedding/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/embedding/v1/models_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/embedding/v1/models_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/embedding/v1/models_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/embedding/v1/models_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v1/experiment_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v1/experiment_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v1/experiment_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v1/experiment_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v1/space_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v1/space_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v1/space_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v1/space_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v2/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v2/feature_view_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v2/feature_view_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v2/feature_view_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v2/feature_view_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v2/space_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v2/space_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v2/space_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/feature/v2/space_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v1/service_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v1/service_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v1/service_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v1/service_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/pipeline_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/pipeline_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/pipeline_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/pipeline_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/quick_mode_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/quick_mode_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/quick_mode_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/quick_mode_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/resource_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/resource_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/resource_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/resource_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/room_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/room_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/room_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/room_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/source_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/source_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/source_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/source_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/table_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/table_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/table_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/ingest/v2/table_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/model/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/model/v1alpha/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/model/v1alpha/models_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/model/v1alpha/models_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/agent_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/agent_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/agent_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/agent_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/common_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/common_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/common_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/common_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/completion_model_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/completion_model_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/completion_model_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/completion_model_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/feature_view_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/feature_view_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/feature_view_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/feature_view_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/pipeline_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/pipeline_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/pipeline_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/pipeline_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/space_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/space_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/space_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/space_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/table_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/table_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/table_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/orm/v1/table_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/platform/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/platform/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/platform/v1/platform_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/platform/v1/platform_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/platform/v1/platform_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/platform/v1/platform_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/query/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/query/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/query/v1/query_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/query/v1/query_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/query/v1/query_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/query/v1/query_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/status/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/status/v1/__init__.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/status/v1/event_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/status/v1/event_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/status/v1/event_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/status/v1/event_pb2_grpc.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/status/v1/service_pb2.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/status/v1/service_pb2.pyi +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/status/v1/service_pb2_grpc.py +0 -0
- {corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic_generated/status/v1/service_pb2_grpc.pyi +0 -0
@@ -10,9 +10,9 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
|
10
10
|
|
11
11
|
[[package]]
|
12
12
|
name = "bitflags"
|
13
|
-
version = "2.
|
13
|
+
version = "2.9.0"
|
14
14
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
15
|
-
checksum = "
|
15
|
+
checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd"
|
16
16
|
|
17
17
|
[[package]]
|
18
18
|
name = "cfg-if"
|
@@ -22,7 +22,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
22
22
|
|
23
23
|
[[package]]
|
24
24
|
name = "corvic-engine"
|
25
|
-
version = "0.3.0-rc.
|
25
|
+
version = "0.3.0-rc.54"
|
26
26
|
dependencies = [
|
27
27
|
"numpy",
|
28
28
|
"pyo3",
|
@@ -57,13 +57,13 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
|
57
57
|
|
58
58
|
[[package]]
|
59
59
|
name = "either"
|
60
|
-
version = "1.
|
60
|
+
version = "1.15.0"
|
61
61
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
62
|
-
checksum = "
|
62
|
+
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
|
63
63
|
|
64
64
|
[[package]]
|
65
65
|
name = "engine-walk"
|
66
|
-
version = "0.3.0-rc.
|
66
|
+
version = "0.3.0-rc.54"
|
67
67
|
dependencies = [
|
68
68
|
"version_check",
|
69
69
|
]
|
@@ -76,15 +76,15 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
|
76
76
|
|
77
77
|
[[package]]
|
78
78
|
name = "indoc"
|
79
|
-
version = "2.0.
|
79
|
+
version = "2.0.6"
|
80
80
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
81
|
-
checksum = "
|
81
|
+
checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
|
82
82
|
|
83
83
|
[[package]]
|
84
84
|
name = "libc"
|
85
|
-
version = "0.2.
|
85
|
+
version = "0.2.170"
|
86
86
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
87
|
-
checksum = "
|
87
|
+
checksum = "875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c06828"
|
88
88
|
|
89
89
|
[[package]]
|
90
90
|
name = "lock_api"
|
@@ -201,15 +201,15 @@ dependencies = [
|
|
201
201
|
|
202
202
|
[[package]]
|
203
203
|
name = "portable-atomic"
|
204
|
-
version = "1.
|
204
|
+
version = "1.11.0"
|
205
205
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
206
|
-
checksum = "
|
206
|
+
checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
|
207
207
|
|
208
208
|
[[package]]
|
209
209
|
name = "proc-macro2"
|
210
|
-
version = "1.0.
|
210
|
+
version = "1.0.94"
|
211
211
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
212
|
-
checksum = "
|
212
|
+
checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
|
213
213
|
dependencies = [
|
214
214
|
"unicode-ident",
|
215
215
|
]
|
@@ -279,9 +279,9 @@ dependencies = [
|
|
279
279
|
|
280
280
|
[[package]]
|
281
281
|
name = "quote"
|
282
|
-
version = "1.0.
|
282
|
+
version = "1.0.39"
|
283
283
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
284
|
-
checksum = "
|
284
|
+
checksum = "c1f1914ce909e1658d9907913b4b91947430c7d9be598b15a1912935b8c04801"
|
285
285
|
dependencies = [
|
286
286
|
"proc-macro2",
|
287
287
|
]
|
@@ -314,9 +314,9 @@ dependencies = [
|
|
314
314
|
|
315
315
|
[[package]]
|
316
316
|
name = "redox_syscall"
|
317
|
-
version = "0.5.
|
317
|
+
version = "0.5.10"
|
318
318
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
319
|
-
checksum = "
|
319
|
+
checksum = "0b8c0c260b63a8219631167be35e6a988e9554dbd323f8bd08439c8ed1302bd1"
|
320
320
|
dependencies = [
|
321
321
|
"bitflags",
|
322
322
|
]
|
@@ -341,9 +341,9 @@ checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd"
|
|
341
341
|
|
342
342
|
[[package]]
|
343
343
|
name = "syn"
|
344
|
-
version = "2.0.
|
344
|
+
version = "2.0.99"
|
345
345
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
346
|
-
checksum = "
|
346
|
+
checksum = "e02e925281e18ffd9d640e234264753c43edc62d64b2d4cf898f1bc5e75f3fc2"
|
347
347
|
dependencies = [
|
348
348
|
"proc-macro2",
|
349
349
|
"quote",
|
@@ -368,15 +368,15 @@ dependencies = [
|
|
368
368
|
|
369
369
|
[[package]]
|
370
370
|
name = "unicode-ident"
|
371
|
-
version = "1.0.
|
371
|
+
version = "1.0.18"
|
372
372
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
373
|
-
checksum = "
|
373
|
+
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
|
374
374
|
|
375
375
|
[[package]]
|
376
376
|
name = "unindent"
|
377
|
-
version = "0.2.
|
377
|
+
version = "0.2.4"
|
378
378
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
379
|
-
checksum = "
|
379
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
380
380
|
|
381
381
|
[[package]]
|
382
382
|
name = "version_check"
|
@@ -20,7 +20,7 @@ authors = [
|
|
20
20
|
]
|
21
21
|
readme = "README.md"
|
22
22
|
description = "Seamless embedding generation and retrieval."
|
23
|
-
version = "0.3.0-rc.
|
23
|
+
version = "0.3.0-rc.54" # sync this with tool.poetry.version below
|
24
24
|
|
25
25
|
# TODO(ddn): Pull dependencies from tool.poetry.dependencies. We use maturin as
|
26
26
|
# the build system but poetry for the development environment.
|
@@ -74,7 +74,7 @@ packages = [
|
|
74
74
|
]
|
75
75
|
description = ""
|
76
76
|
authors = []
|
77
|
-
version = "0.3.0-rc.
|
77
|
+
version = "0.3.0-rc.54"
|
78
78
|
|
79
79
|
[tool.poetry.scripts]
|
80
80
|
check = "corvic_check.cli:main"
|
@@ -22,7 +22,6 @@ from corvic.model._proto_orm_convert import (
|
|
22
22
|
pipeline_orm_to_proto,
|
23
23
|
pipeline_proto_to_orm,
|
24
24
|
)
|
25
|
-
from corvic.model._resource import Resource, ResourceID
|
26
25
|
from corvic.model._source import Source
|
27
26
|
from corvic.result import InvalidArgumentError, NotFoundError, Ok
|
28
27
|
from corvic_generated.model.v1alpha import models_pb2
|
@@ -122,9 +121,6 @@ class Pipeline(BaseModel[PipelineID, models_pb2.Pipeline, orm.Pipeline]):
|
|
122
121
|
@classmethod
|
123
122
|
def orm_load_options(cls) -> list[LoaderOption]:
|
124
123
|
return [
|
125
|
-
sa_orm.selectinload(orm.Pipeline.inputs)
|
126
|
-
.selectinload(orm.PipelineInput.resource)
|
127
|
-
.selectinload(orm.Resource.pipeline_ref),
|
128
124
|
sa_orm.selectinload(orm.Pipeline.outputs)
|
129
125
|
.selectinload(orm.PipelineOutput.source)
|
130
126
|
.selectinload(orm.Source.pipeline_ref),
|
@@ -168,13 +164,6 @@ class Pipeline(BaseModel[PipelineID, models_pb2.Pipeline, orm.Pipeline]):
|
|
168
164
|
def description(self):
|
169
165
|
return self.proto_self.description
|
170
166
|
|
171
|
-
@functools.cached_property
|
172
|
-
def inputs(self) -> Mapping[str, Resource]:
|
173
|
-
return {
|
174
|
-
name: Resource(self.client, proto_resource)
|
175
|
-
for name, proto_resource in self.proto_self.resource_inputs.items()
|
176
|
-
}
|
177
|
-
|
178
167
|
@functools.cached_property
|
179
168
|
def outputs(self) -> Mapping[str, Source]:
|
180
169
|
return {
|
@@ -187,25 +176,6 @@ class Pipeline(BaseModel[PipelineID, models_pb2.Pipeline, orm.Pipeline]):
|
|
187
176
|
new_proto.name = name
|
188
177
|
return self.__class__(self.client, proto_self=new_proto)
|
189
178
|
|
190
|
-
def with_input(
|
191
|
-
self, resource: Resource | ResourceID
|
192
|
-
) -> Ok[Self] | NotFoundError | InvalidArgumentError:
|
193
|
-
if isinstance(resource, ResourceID):
|
194
|
-
match Resource.from_id(resource, self.client):
|
195
|
-
case NotFoundError() as err:
|
196
|
-
return err
|
197
|
-
case Ok(obj):
|
198
|
-
resource = obj
|
199
|
-
|
200
|
-
if resource.room_id != self.room_id:
|
201
|
-
return InvalidArgumentError("cannot add inputs from other rooms")
|
202
|
-
|
203
|
-
input_name = f"output-{uuid.uuid4()}"
|
204
|
-
new_proto = copy.deepcopy(self.proto_self)
|
205
|
-
new_proto.resource_inputs[input_name].CopyFrom(resource.proto_self)
|
206
|
-
|
207
|
-
return Ok(self.__class__(self.client, proto_self=new_proto))
|
208
|
-
|
209
179
|
|
210
180
|
class UnknownTransformationPipeline(Pipeline):
|
211
181
|
"""A pipeline that this version of the code doesn't know what to do with."""
|
{corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/model/_proto_orm_convert.py
RENAMED
@@ -103,6 +103,11 @@ def timestamp_orm_to_proto(
|
|
103
103
|
|
104
104
|
|
105
105
|
def resource_orm_to_proto(resource_orm: orm.Resource) -> models_pb2.Resource:
|
106
|
+
pipeline_input_name = ""
|
107
|
+
pipeline_id = ""
|
108
|
+
if resource_orm.pipeline_ref:
|
109
|
+
pipeline_input_name = resource_orm.pipeline_ref.name
|
110
|
+
pipeline_id = str(resource_orm.pipeline_ref.pipeline_id)
|
106
111
|
return models_pb2.Resource(
|
107
112
|
id=str(resource_orm.id),
|
108
113
|
name=resource_orm.name,
|
@@ -115,9 +120,8 @@ def resource_orm_to_proto(resource_orm: orm.Resource) -> models_pb2.Resource:
|
|
115
120
|
room_id=str(resource_orm.room_id),
|
116
121
|
org_id=str(resource_orm.org_id),
|
117
122
|
recent_events=[resource_orm.latest_event] if resource_orm.latest_event else [],
|
118
|
-
pipeline_id=
|
119
|
-
|
120
|
-
else "",
|
123
|
+
pipeline_id=pipeline_id,
|
124
|
+
pipeline_input_name=pipeline_input_name,
|
121
125
|
created_at=timestamp_orm_to_proto(resource_orm.created_at),
|
122
126
|
)
|
123
127
|
|
@@ -192,10 +196,6 @@ def pipeline_orm_to_proto(
|
|
192
196
|
id=str(pipeline_orm.id),
|
193
197
|
name=pipeline_orm.name,
|
194
198
|
room_id=str(pipeline_orm.room_id),
|
195
|
-
resource_inputs={
|
196
|
-
input_obj.name: resource_orm_to_proto(input_obj.resource)
|
197
|
-
for input_obj in pipeline_orm.inputs
|
198
|
-
},
|
199
199
|
source_outputs={
|
200
200
|
output_obj.name: source_orm_to_proto(output_obj.source)
|
201
201
|
for output_obj in pipeline_orm.outputs
|
@@ -279,7 +279,30 @@ def resource_proto_to_orm(
|
|
279
279
|
latest_event=proto_obj.recent_events[-1] if proto_obj.recent_events else None,
|
280
280
|
room_id=room_id,
|
281
281
|
)
|
282
|
-
|
282
|
+
_add_orm_to_session(orm_obj, proto_obj.org_id, session)
|
283
|
+
|
284
|
+
if proto_obj.pipeline_id:
|
285
|
+
match _translate_orm_id(proto_obj.pipeline_id, orm.PipelineID):
|
286
|
+
case orm.InvalidORMIdentifierError() as err:
|
287
|
+
return err
|
288
|
+
case Ok(pipeline_id):
|
289
|
+
pass
|
290
|
+
if not pipeline_id:
|
291
|
+
return InvalidArgumentError("resource's pipeline cannot be anonymous")
|
292
|
+
session.flush()
|
293
|
+
if not orm_obj.id:
|
294
|
+
raise InternalError("internal assertion did not hold")
|
295
|
+
pipeline_input = orm.PipelineInput(
|
296
|
+
resource_id=orm_obj.id,
|
297
|
+
name=proto_obj.pipeline_input_name,
|
298
|
+
pipeline_id=pipeline_id,
|
299
|
+
room_id=room_id,
|
300
|
+
)
|
301
|
+
if orm_obj.org_id:
|
302
|
+
pipeline_input.org_id = orm_obj.org_id
|
303
|
+
orm_obj.pipeline_ref = session.merge(pipeline_input)
|
304
|
+
|
305
|
+
return Ok(orm_obj)
|
283
306
|
|
284
307
|
|
285
308
|
def _ensure_id(
|
@@ -329,21 +352,6 @@ def pipeline_proto_to_orm( # noqa: C901
|
|
329
352
|
if not orm_obj.id:
|
330
353
|
raise InternalError("internal assertion did not hold")
|
331
354
|
|
332
|
-
for name, val in proto_obj.resource_inputs.items():
|
333
|
-
match _ensure_id(val, resource_proto_to_orm, orm.ResourceID, session):
|
334
|
-
case orm.InvalidORMIdentifierError() | InvalidArgumentError() as err:
|
335
|
-
return err
|
336
|
-
case Ok(resource_id):
|
337
|
-
pass
|
338
|
-
inputs.append(
|
339
|
-
orm.PipelineInput(
|
340
|
-
resource_id=resource_id,
|
341
|
-
name=name,
|
342
|
-
pipeline_id=orm_obj.id,
|
343
|
-
room_id=room_id,
|
344
|
-
)
|
345
|
-
)
|
346
|
-
|
347
355
|
outputs = list[orm.PipelineOutput]()
|
348
356
|
for name, val in proto_obj.source_outputs.items():
|
349
357
|
match _ensure_id(val, source_proto_to_orm, orm.SourceID, session):
|
@@ -236,3 +236,14 @@ class Resource(BaseModel[ResourceID, models_pb2.Resource, orm.Resource]):
|
|
236
236
|
blob.content_type = "application/octet-stream"
|
237
237
|
blob.patch()
|
238
238
|
return cls.from_blob(blob.url, blob, client, room_id=room_id)
|
239
|
+
|
240
|
+
def as_input_to(self, pipeline_id: orm.PipelineID) -> Self:
|
241
|
+
new_proto = copy.deepcopy(self.proto_self)
|
242
|
+
new_proto.pipeline_id = str(pipeline_id)
|
243
|
+
new_proto.pipeline_input_name = f"output-{uuid.uuid4()}"
|
244
|
+
|
245
|
+
return self.__class__(self.client, proto_self=new_proto)
|
246
|
+
|
247
|
+
@property
|
248
|
+
def pipeline_input_name(self) -> str:
|
249
|
+
return self.proto_self.pipeline_input_name
|
@@ -163,12 +163,6 @@ class Pipeline(BelongsToOrgMixin, BelongsToRoomMixin, Base):
|
|
163
163
|
description: sa_orm.Mapped[str | None] = sa_orm.mapped_column()
|
164
164
|
id: sa_orm.Mapped[PipelineID | None] = primary_key_identity_column()
|
165
165
|
|
166
|
-
inputs: sa_orm.Mapped[list[PipelineInput]] = sa_orm.relationship(
|
167
|
-
viewonly=True,
|
168
|
-
init=False,
|
169
|
-
default_factory=list,
|
170
|
-
)
|
171
|
-
|
172
166
|
outputs: sa_orm.Mapped[list[PipelineOutput]] = sa_orm.relationship(
|
173
167
|
viewonly=True,
|
174
168
|
init=False,
|
@@ -414,28 +414,23 @@ def _visit(
|
|
414
414
|
|
415
415
|
|
416
416
|
def to_value(
|
417
|
-
scalar: Scalar |
|
417
|
+
scalar: Scalar | _PyValue | struct_pb2.Value,
|
418
418
|
) -> struct_pb2.Value:
|
419
419
|
"""Convert Scalar (or convenient Scalar equivalents) to struct_pb2.Value."""
|
420
420
|
match scalar:
|
421
|
-
# Order matters: bools are ints but ints are not bools
|
422
|
-
case bool():
|
423
|
-
return struct_pb2.Value(bool_value=scalar)
|
424
|
-
case int():
|
425
|
-
return struct_pb2.Value(string_value=str(scalar))
|
426
|
-
case float():
|
427
|
-
if _is_invalid_float(scalar):
|
428
|
-
return to_value(None)
|
429
|
-
return struct_pb2.Value(number_value=scalar)
|
430
|
-
case str():
|
431
|
-
return struct_pb2.Value(string_value=scalar)
|
432
|
-
case None:
|
433
|
-
return struct_pb2.Value(null_value=struct_pb2.NULL_VALUE)
|
434
421
|
case struct_pb2.Value():
|
435
422
|
return scalar
|
436
|
-
case
|
423
|
+
case pa.Scalar():
|
437
424
|
value = cast(_PyValue, scalar.as_py())
|
438
|
-
return _visit(value, scalar.type)
|
425
|
+
return _visit(value, cast(Scalar, scalar).type)
|
426
|
+
case _:
|
427
|
+
try:
|
428
|
+
# Attempt to convert the python value into a pyarrow scalar and
|
429
|
+
# then go through our visitor
|
430
|
+
pa_value = cast(Scalar, pa.scalar(cast(Any, scalar)))
|
431
|
+
return to_value(pa_value)
|
432
|
+
except Exception:
|
433
|
+
return struct_pb2.Value(null_value=struct_pb2.NULL_VALUE)
|
439
434
|
|
440
435
|
|
441
436
|
def _to_py(scalar: Scalar) -> Any:
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: corvic/model/v1alpha/models.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
5
|
+
"""Generated protocol buffer code."""
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
10
|
+
# @@protoc_insertion_point(imports)
|
11
|
+
|
12
|
+
_sym_db = _symbol_database.Default()
|
13
|
+
|
14
|
+
|
15
|
+
from corvic_generated.orm.v1 import agent_pb2 as corvic_dot_orm_dot_v1_dot_agent__pb2
|
16
|
+
from corvic_generated.orm.v1 import completion_model_pb2 as corvic_dot_orm_dot_v1_dot_completion__model__pb2
|
17
|
+
from corvic_generated.orm.v1 import feature_view_pb2 as corvic_dot_orm_dot_v1_dot_feature__view__pb2
|
18
|
+
from corvic_generated.orm.v1 import pipeline_pb2 as corvic_dot_orm_dot_v1_dot_pipeline__pb2
|
19
|
+
from corvic_generated.orm.v1 import space_pb2 as corvic_dot_orm_dot_v1_dot_space__pb2
|
20
|
+
from corvic_generated.orm.v1 import table_pb2 as corvic_dot_orm_dot_v1_dot_table__pb2
|
21
|
+
from corvic_generated.status.v1 import event_pb2 as corvic_dot_status_dot_v1_dot_event__pb2
|
22
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
23
|
+
|
24
|
+
|
25
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!corvic/model/v1alpha/models.proto\x12\x14\x63orvic.model.v1alpha\x1a\x19\x63orvic/orm/v1/agent.proto\x1a$corvic/orm/v1/completion_model.proto\x1a corvic/orm/v1/feature_view.proto\x1a\x1c\x63orvic/orm/v1/pipeline.proto\x1a\x19\x63orvic/orm/v1/space.proto\x1a\x19\x63orvic/orm/v1/table.proto\x1a\x1c\x63orvic/status/v1/event.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x15\n\x06org_id\x18\x03 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xd8\x03\n\x08Resource\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmime_type\x18\x04 \x01(\tR\x08mimeType\x12\x10\n\x03url\x18\x05 \x01(\tR\x03url\x12\x12\n\x04size\x18\x06 \x01(\x04R\x04size\x12\x10\n\x03md5\x18\x07 \x01(\tR\x03md5\x12#\n\roriginal_path\x18\x08 \x01(\tR\x0coriginalPath\x12\x17\n\x07room_id\x18\t \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x0b \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\r \x01(\tR\npipelineId\x12.\n\x13pipeline_input_name\x18\x0f \x01(\tR\x11pipelineInputName\x12<\n\rrecent_events\x18\x0e \x03(\x0b\x32\x17.corvic.status.v1.EventR\x0crecentEvents\x12>\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\x91\x02\n\x06Source\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x06 \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\x08 \x01(\tR\npipelineId\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xe9\x03\n\x08Pipeline\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\t \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12X\n\x0esource_outputs\x18\x05 \x03(\x0b\x32\x31.corvic.model.v1alpha.Pipeline.SourceOutputsEntryR\rsourceOutputs\x12^\n\x17pipeline_transformation\x18\x06 \x01(\x0b\x32%.corvic.orm.v1.PipelineTransformationR\x16pipelineTransformation\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x1a^\n\x12SourceOutputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x05value:\x02\x38\x01\x42\r\n\x0b_created_at\"\xca\x02\n\x11\x46\x65\x61tureViewSource\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x34\n\x06source\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x06source\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12+\n\x11\x64rop_disconnected\x18\x04 \x01(\x08R\x10\x64ropDisconnected\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x12\x17\n\x07room_id\x18\x07 \x01(\tR\x06roomIdB\r\n\x0b_created_at\"\x9c\x03\n\x0b\x46\x65\x61tureView\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12P\n\x13\x66\x65\x61ture_view_output\x18\x05 \x01(\x0b\x32 .corvic.orm.v1.FeatureViewOutputR\x11\x66\x65\x61tureViewOutput\x12Y\n\x14\x66\x65\x61ture_view_sources\x18\x06 \x03(\x0b\x32\'.corvic.model.v1alpha.FeatureViewSourceR\x12\x66\x65\x61tureViewSources\x12\x1b\n\tspace_ids\x18\x07 \x03(\tR\x08spaceIds\x12\x15\n\x06org_id\x18\x08 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xfa\x02\n\x05Space\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12I\n\x10space_parameters\x18\x05 \x01(\x0b\x32\x1e.corvic.orm.v1.SpaceParametersR\x0fspaceParameters\x12\x44\n\x0c\x66\x65\x61ture_view\x18\x06 \x01(\x0b\x32!.corvic.model.v1alpha.FeatureViewR\x0b\x66\x65\x61tureView\x12\x1b\n\tauto_sync\x18\t \x01(\x08R\x08\x61utoSync\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\x85\x02\n\x05\x41gent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12I\n\x10\x61gent_parameters\x18\x04 \x01(\x0b\x32\x1e.corvic.orm.v1.AgentParametersR\x0f\x61gentParameters\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_atJ\x04\x08\x06\x10\x07R\x08messages\"\xad\x02\n\x0f\x43ompletionModel\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x15\n\x06org_id\x18\x04 \x01(\tR\x05orgId\x12H\n\nparameters\x18\x05 \x01(\x0b\x32(.corvic.orm.v1.CompletionModelParametersR\nparameters\x12$\n\x0esecret_api_key\x18\x06 \x01(\tR\x0csecretApiKey\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_atb\x06proto3')
|
26
|
+
|
27
|
+
_globals = globals()
|
28
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
29
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'corvic.model.v1alpha.models_pb2', _globals)
|
30
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
31
|
+
DESCRIPTOR._options = None
|
32
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._options = None
|
33
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_options = b'8\001'
|
34
|
+
_globals['_ROOM']._serialized_start=306
|
35
|
+
_globals['_ROOM']._serialized_end=450
|
36
|
+
_globals['_RESOURCE']._serialized_start=453
|
37
|
+
_globals['_RESOURCE']._serialized_end=925
|
38
|
+
_globals['_SOURCE']._serialized_start=928
|
39
|
+
_globals['_SOURCE']._serialized_end=1201
|
40
|
+
_globals['_PIPELINE']._serialized_start=1204
|
41
|
+
_globals['_PIPELINE']._serialized_end=1693
|
42
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_start=1584
|
43
|
+
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_end=1678
|
44
|
+
_globals['_FEATUREVIEWSOURCE']._serialized_start=1696
|
45
|
+
_globals['_FEATUREVIEWSOURCE']._serialized_end=2026
|
46
|
+
_globals['_FEATUREVIEW']._serialized_start=2029
|
47
|
+
_globals['_FEATUREVIEW']._serialized_end=2441
|
48
|
+
_globals['_SPACE']._serialized_start=2444
|
49
|
+
_globals['_SPACE']._serialized_end=2822
|
50
|
+
_globals['_AGENT']._serialized_start=2825
|
51
|
+
_globals['_AGENT']._serialized_end=3086
|
52
|
+
_globals['_COMPLETIONMODEL']._serialized_start=3089
|
53
|
+
_globals['_COMPLETIONMODEL']._serialized_end=3390
|
54
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -26,7 +26,7 @@ class Room(_message.Message):
|
|
26
26
|
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
27
27
|
|
28
28
|
class Resource(_message.Message):
|
29
|
-
__slots__ = ("id", "name", "description", "mime_type", "url", "size", "md5", "original_path", "room_id", "org_id", "pipeline_id", "recent_events", "created_at")
|
29
|
+
__slots__ = ("id", "name", "description", "mime_type", "url", "size", "md5", "original_path", "room_id", "org_id", "pipeline_id", "pipeline_input_name", "recent_events", "created_at")
|
30
30
|
ID_FIELD_NUMBER: _ClassVar[int]
|
31
31
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
32
32
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
@@ -38,6 +38,7 @@ class Resource(_message.Message):
|
|
38
38
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
39
39
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
40
40
|
PIPELINE_ID_FIELD_NUMBER: _ClassVar[int]
|
41
|
+
PIPELINE_INPUT_NAME_FIELD_NUMBER: _ClassVar[int]
|
41
42
|
RECENT_EVENTS_FIELD_NUMBER: _ClassVar[int]
|
42
43
|
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
43
44
|
id: str
|
@@ -51,9 +52,10 @@ class Resource(_message.Message):
|
|
51
52
|
room_id: str
|
52
53
|
org_id: str
|
53
54
|
pipeline_id: str
|
55
|
+
pipeline_input_name: str
|
54
56
|
recent_events: _containers.RepeatedCompositeFieldContainer[_event_pb2.Event]
|
55
57
|
created_at: _timestamp_pb2.Timestamp
|
56
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., mime_type: _Optional[str] = ..., url: _Optional[str] = ..., size: _Optional[int] = ..., md5: _Optional[str] = ..., original_path: _Optional[str] = ..., room_id: _Optional[str] = ..., org_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., recent_events: _Optional[_Iterable[_Union[_event_pb2.Event, _Mapping]]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
58
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., mime_type: _Optional[str] = ..., url: _Optional[str] = ..., size: _Optional[int] = ..., md5: _Optional[str] = ..., original_path: _Optional[str] = ..., room_id: _Optional[str] = ..., org_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., pipeline_input_name: _Optional[str] = ..., recent_events: _Optional[_Iterable[_Union[_event_pb2.Event, _Mapping]]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
57
59
|
|
58
60
|
class Source(_message.Message):
|
59
61
|
__slots__ = ("id", "name", "table_op_graph", "room_id", "org_id", "pipeline_id", "created_at")
|
@@ -74,14 +76,7 @@ class Source(_message.Message):
|
|
74
76
|
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., table_op_graph: _Optional[_Union[_table_pb2.TableComputeOp, _Mapping]] = ..., room_id: _Optional[str] = ..., org_id: _Optional[str] = ..., pipeline_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
75
77
|
|
76
78
|
class Pipeline(_message.Message):
|
77
|
-
__slots__ = ("id", "name", "description", "room_id", "
|
78
|
-
class ResourceInputsEntry(_message.Message):
|
79
|
-
__slots__ = ("key", "value")
|
80
|
-
KEY_FIELD_NUMBER: _ClassVar[int]
|
81
|
-
VALUE_FIELD_NUMBER: _ClassVar[int]
|
82
|
-
key: str
|
83
|
-
value: Resource
|
84
|
-
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[Resource, _Mapping]] = ...) -> None: ...
|
79
|
+
__slots__ = ("id", "name", "description", "room_id", "source_outputs", "pipeline_transformation", "org_id", "created_at")
|
85
80
|
class SourceOutputsEntry(_message.Message):
|
86
81
|
__slots__ = ("key", "value")
|
87
82
|
KEY_FIELD_NUMBER: _ClassVar[int]
|
@@ -93,7 +88,6 @@ class Pipeline(_message.Message):
|
|
93
88
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
94
89
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
95
90
|
ROOM_ID_FIELD_NUMBER: _ClassVar[int]
|
96
|
-
RESOURCE_INPUTS_FIELD_NUMBER: _ClassVar[int]
|
97
91
|
SOURCE_OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
98
92
|
PIPELINE_TRANSFORMATION_FIELD_NUMBER: _ClassVar[int]
|
99
93
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
@@ -102,12 +96,11 @@ class Pipeline(_message.Message):
|
|
102
96
|
name: str
|
103
97
|
description: str
|
104
98
|
room_id: str
|
105
|
-
resource_inputs: _containers.MessageMap[str, Resource]
|
106
99
|
source_outputs: _containers.MessageMap[str, Source]
|
107
100
|
pipeline_transformation: _pipeline_pb2.PipelineTransformation
|
108
101
|
org_id: str
|
109
102
|
created_at: _timestamp_pb2.Timestamp
|
110
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ...,
|
103
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., room_id: _Optional[str] = ..., source_outputs: _Optional[_Mapping[str, Source]] = ..., pipeline_transformation: _Optional[_Union[_pipeline_pb2.PipelineTransformation, _Mapping]] = ..., org_id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
111
104
|
|
112
105
|
class FeatureViewSource(_message.Message):
|
113
106
|
__slots__ = ("id", "source", "table_op_graph", "drop_disconnected", "org_id", "created_at", "room_id")
|
@@ -1,58 +0,0 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# source: corvic/model/v1alpha/models.proto
|
4
|
-
# Protobuf Python Version: 4.25.3
|
5
|
-
"""Generated protocol buffer code."""
|
6
|
-
from google.protobuf import descriptor as _descriptor
|
7
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
-
from google.protobuf import symbol_database as _symbol_database
|
9
|
-
from google.protobuf.internal import builder as _builder
|
10
|
-
# @@protoc_insertion_point(imports)
|
11
|
-
|
12
|
-
_sym_db = _symbol_database.Default()
|
13
|
-
|
14
|
-
|
15
|
-
from corvic_generated.orm.v1 import agent_pb2 as corvic_dot_orm_dot_v1_dot_agent__pb2
|
16
|
-
from corvic_generated.orm.v1 import completion_model_pb2 as corvic_dot_orm_dot_v1_dot_completion__model__pb2
|
17
|
-
from corvic_generated.orm.v1 import feature_view_pb2 as corvic_dot_orm_dot_v1_dot_feature__view__pb2
|
18
|
-
from corvic_generated.orm.v1 import pipeline_pb2 as corvic_dot_orm_dot_v1_dot_pipeline__pb2
|
19
|
-
from corvic_generated.orm.v1 import space_pb2 as corvic_dot_orm_dot_v1_dot_space__pb2
|
20
|
-
from corvic_generated.orm.v1 import table_pb2 as corvic_dot_orm_dot_v1_dot_table__pb2
|
21
|
-
from corvic_generated.status.v1 import event_pb2 as corvic_dot_status_dot_v1_dot_event__pb2
|
22
|
-
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
23
|
-
|
24
|
-
|
25
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!corvic/model/v1alpha/models.proto\x12\x14\x63orvic.model.v1alpha\x1a\x19\x63orvic/orm/v1/agent.proto\x1a$corvic/orm/v1/completion_model.proto\x1a corvic/orm/v1/feature_view.proto\x1a\x1c\x63orvic/orm/v1/pipeline.proto\x1a\x19\x63orvic/orm/v1/space.proto\x1a\x19\x63orvic/orm/v1/table.proto\x1a\x1c\x63orvic/status/v1/event.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x15\n\x06org_id\x18\x03 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xa8\x03\n\x08Resource\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmime_type\x18\x04 \x01(\tR\x08mimeType\x12\x10\n\x03url\x18\x05 \x01(\tR\x03url\x12\x12\n\x04size\x18\x06 \x01(\x04R\x04size\x12\x10\n\x03md5\x18\x07 \x01(\tR\x03md5\x12#\n\roriginal_path\x18\x08 \x01(\tR\x0coriginalPath\x12\x17\n\x07room_id\x18\t \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x0b \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\r \x01(\tR\npipelineId\x12<\n\rrecent_events\x18\x0e \x03(\x0b\x32\x17.corvic.status.v1.EventR\x0crecentEvents\x12>\n\ncreated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\x91\x02\n\x06Source\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12\x15\n\x06org_id\x18\x06 \x01(\tR\x05orgId\x12\x1f\n\x0bpipeline_id\x18\x08 \x01(\tR\npipelineId\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xa9\x05\n\x08Pipeline\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\t \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12[\n\x0fresource_inputs\x18\x04 \x03(\x0b\x32\x32.corvic.model.v1alpha.Pipeline.ResourceInputsEntryR\x0eresourceInputs\x12X\n\x0esource_outputs\x18\x05 \x03(\x0b\x32\x31.corvic.model.v1alpha.Pipeline.SourceOutputsEntryR\rsourceOutputs\x12^\n\x17pipeline_transformation\x18\x06 \x01(\x0b\x32%.corvic.orm.v1.PipelineTransformationR\x16pipelineTransformation\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x1a\x61\n\x13ResourceInputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.corvic.model.v1alpha.ResourceR\x05value:\x02\x38\x01\x1a^\n\x12SourceOutputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x05value:\x02\x38\x01\x42\r\n\x0b_created_at\"\xca\x02\n\x11\x46\x65\x61tureViewSource\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x34\n\x06source\x18\x02 \x01(\x0b\x32\x1c.corvic.model.v1alpha.SourceR\x06source\x12\x43\n\x0etable_op_graph\x18\x03 \x01(\x0b\x32\x1d.corvic.orm.v1.TableComputeOpR\x0ctableOpGraph\x12+\n\x11\x64rop_disconnected\x18\x04 \x01(\x08R\x10\x64ropDisconnected\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x12\x17\n\x07room_id\x18\x07 \x01(\tR\x06roomIdB\r\n\x0b_created_at\"\x9c\x03\n\x0b\x46\x65\x61tureView\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12P\n\x13\x66\x65\x61ture_view_output\x18\x05 \x01(\x0b\x32 .corvic.orm.v1.FeatureViewOutputR\x11\x66\x65\x61tureViewOutput\x12Y\n\x14\x66\x65\x61ture_view_sources\x18\x06 \x03(\x0b\x32\'.corvic.model.v1alpha.FeatureViewSourceR\x12\x66\x65\x61tureViewSources\x12\x1b\n\tspace_ids\x18\x07 \x03(\tR\x08spaceIds\x12\x15\n\x06org_id\x18\x08 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\xfa\x02\n\x05Space\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07room_id\x18\x04 \x01(\tR\x06roomId\x12I\n\x10space_parameters\x18\x05 \x01(\x0b\x32\x1e.corvic.orm.v1.SpaceParametersR\x0fspaceParameters\x12\x44\n\x0c\x66\x65\x61ture_view\x18\x06 \x01(\x0b\x32!.corvic.model.v1alpha.FeatureViewR\x0b\x66\x65\x61tureView\x12\x1b\n\tauto_sync\x18\t \x01(\x08R\x08\x61utoSync\x12\x15\n\x06org_id\x18\x07 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_at\"\x85\x02\n\x05\x41gent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07room_id\x18\x03 \x01(\tR\x06roomId\x12I\n\x10\x61gent_parameters\x18\x04 \x01(\x0b\x32\x1e.corvic.orm.v1.AgentParametersR\x0f\x61gentParameters\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId\x12>\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_atJ\x04\x08\x06\x10\x07R\x08messages\"\xad\x02\n\x0f\x43ompletionModel\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x15\n\x06org_id\x18\x04 \x01(\tR\x05orgId\x12H\n\nparameters\x18\x05 \x01(\x0b\x32(.corvic.orm.v1.CompletionModelParametersR\nparameters\x12$\n\x0esecret_api_key\x18\x06 \x01(\tR\x0csecretApiKey\x12>\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x42\r\n\x0b_created_atb\x06proto3')
|
26
|
-
|
27
|
-
_globals = globals()
|
28
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
29
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'corvic.model.v1alpha.models_pb2', _globals)
|
30
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
31
|
-
DESCRIPTOR._options = None
|
32
|
-
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._options = None
|
33
|
-
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_options = b'8\001'
|
34
|
-
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._options = None
|
35
|
-
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_options = b'8\001'
|
36
|
-
_globals['_ROOM']._serialized_start=306
|
37
|
-
_globals['_ROOM']._serialized_end=450
|
38
|
-
_globals['_RESOURCE']._serialized_start=453
|
39
|
-
_globals['_RESOURCE']._serialized_end=877
|
40
|
-
_globals['_SOURCE']._serialized_start=880
|
41
|
-
_globals['_SOURCE']._serialized_end=1153
|
42
|
-
_globals['_PIPELINE']._serialized_start=1156
|
43
|
-
_globals['_PIPELINE']._serialized_end=1837
|
44
|
-
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_start=1629
|
45
|
-
_globals['_PIPELINE_RESOURCEINPUTSENTRY']._serialized_end=1726
|
46
|
-
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_start=1728
|
47
|
-
_globals['_PIPELINE_SOURCEOUTPUTSENTRY']._serialized_end=1822
|
48
|
-
_globals['_FEATUREVIEWSOURCE']._serialized_start=1840
|
49
|
-
_globals['_FEATUREVIEWSOURCE']._serialized_end=2170
|
50
|
-
_globals['_FEATUREVIEW']._serialized_start=2173
|
51
|
-
_globals['_FEATUREVIEW']._serialized_end=2585
|
52
|
-
_globals['_SPACE']._serialized_start=2588
|
53
|
-
_globals['_SPACE']._serialized_end=2966
|
54
|
-
_globals['_AGENT']._serialized_start=2969
|
55
|
-
_globals['_AGENT']._serialized_end=3230
|
56
|
-
_globals['_COMPLETIONMODEL']._serialized_start=3233
|
57
|
-
_globals['_COMPLETIONMODEL']._serialized_end=3534
|
58
|
-
# @@protoc_insertion_point(module_scope)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/expression_pb2_grpc.py
RENAMED
File without changes
|
{corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/expression_pb2_grpc.pyi
RENAMED
File without changes
|
File without changes
|
{corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/priv/private_pb2.pyi
RENAMED
File without changes
|
{corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/priv/private_pb2_grpc.py
RENAMED
File without changes
|
{corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/priv/private_pb2_grpc.pyi
RENAMED
File without changes
|
File without changes
|
File without changes
|
{corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/validate_pb2_grpc.py
RENAMED
File without changes
|
{corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/buf/validate/validate_pb2_grpc.pyi
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/embedding_metric/__init__.py
RENAMED
File without changes
|
{corvic_engine-0.3.0rc52 → corvic_engine-0.3.0rc54}/python/corvic/embedding_metric/embeddings.py
RENAMED
File without changes
|