From 6038aac5a2e5583f012150e791e11fdff280e048 Mon Sep 17 00:00:00 2001 From: jyejare Date: Wed, 16 Apr 2025 13:04:13 +0530 Subject: [PATCH 01/10] No vector length - Postgress Signed-off-by: jyejare --- .../infra/online_stores/postgres_online_store/postgres.py | 2 +- sdk/python/feast/infra/online_stores/vector_store.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sdk/python/feast/infra/online_stores/postgres_online_store/postgres.py b/sdk/python/feast/infra/online_stores/postgres_online_store/postgres.py index daa128264df..2fdc877c461 100644 --- a/sdk/python/feast/infra/online_stores/postgres_online_store/postgres.py +++ b/sdk/python/feast/infra/online_stores/postgres_online_store/postgres.py @@ -311,7 +311,7 @@ def update( for table in tables_to_keep: table_name = _table_id(project, table) if config.online_store.vector_enabled: - vector_value_type = f"vector({config.online_store.vector_len})" + vector_value_type = f"vector" else: # keep the vector_value_type as BYTEA if pgvector is not enabled, to maintain compatibility vector_value_type = "BYTEA" diff --git a/sdk/python/feast/infra/online_stores/vector_store.py b/sdk/python/feast/infra/online_stores/vector_store.py index f071cd4347d..c691d61dd3d 100644 --- a/sdk/python/feast/infra/online_stores/vector_store.py +++ b/sdk/python/feast/infra/online_stores/vector_store.py @@ -6,9 +6,6 @@ class VectorStoreConfig: # This is only applicable for online store. vector_enabled: Optional[bool] = False - # If vector is enabled, the length of the vector field - vector_len: Optional[int] = 512 - # The vector similarity metric to use in KNN search # It is helpful for vector database that does not support config at retrieval runtime # E.g. From 93cb9f5744f47f98ae8839def8cb22076ab3e4eb Mon Sep 17 00:00:00 2001 From: jyejare Date: Wed, 16 Apr 2025 17:12:07 +0530 Subject: [PATCH 02/10] Field of Vector length Signed-off-by: jyejare --- protos/feast/core/Feature.proto | 3 +++ sdk/python/feast/feature_store.py | 12 ++++++++++++ sdk/python/feast/field.py | 9 +++++++++ .../online_stores/postgres_online_store/postgres.py | 2 +- sdk/python/feast/protos/feast/core/Feature_pb2.py | 2 +- sdk/python/feast/protos/feast/core/Feature_pb2.pyi | 6 +++++- .../feature_repos/universal/online_store/postgres.py | 1 - 7 files changed, 31 insertions(+), 4 deletions(-) diff --git a/protos/feast/core/Feature.proto b/protos/feast/core/Feature.proto index 8a56d67905a..aafe2d9f8ef 100644 --- a/protos/feast/core/Feature.proto +++ b/protos/feast/core/Feature.proto @@ -42,4 +42,7 @@ message FeatureSpecV2 { // Metric used for vector similarity search. string vector_search_metric = 6; + + // Field indicating the vector length + int32 vector_len = 7; } diff --git a/sdk/python/feast/feature_store.py b/sdk/python/feast/feature_store.py index ff93e1003a8..928248ced47 100644 --- a/sdk/python/feast/feature_store.py +++ b/sdk/python/feast/feature_store.py @@ -1555,6 +1555,18 @@ def _get_feature_view_and_df_for_online_write( except Exception as _: raise DataFrameSerializationError(df) + if feature_view.features[0].vector_index and df is not None: + fv_vector_feature_name = feature_view.features[0].name + df_vector_feature_index = df.columns.get_loc(fv_vector_feature_name) + if feature_view.features[0].vector_len != 0: + if ( + feature_view.features[0].vector_len + != df.shape[df_vector_feature_index] + ): + raise ValueError( + f"The dataframe for {fv_vector_feature_name} column has {df.shape[1]} vectors, but the feature view {feature_view.name} expects {feature_view.features[0].vector_len}" + ) + # # Apply transformations if this is an OnDemandFeatureView with write_to_online_store=True if ( isinstance(feature_view, OnDemandFeatureView) diff --git a/sdk/python/feast/field.py b/sdk/python/feast/field.py index fda1fbffe54..57eed4125d6 100644 --- a/sdk/python/feast/field.py +++ b/sdk/python/feast/field.py @@ -33,6 +33,7 @@ class Field: description: A human-readable description. tags: User-defined metadata in dictionary form. vector_index: If set to True the field will be indexed for vector similarity search. + vector_len: The length of the vector if the vector index is set to True. vector_search_metric: The metric used for vector similarity search. """ @@ -41,6 +42,7 @@ class Field: description: str tags: Dict[str, str] vector_index: bool + vector_len: int vector_search_metric: Optional[str] def __init__( @@ -51,6 +53,7 @@ def __init__( description: str = "", tags: Optional[Dict[str, str]] = None, vector_index: bool = False, + vector_len: int = 0, vector_search_metric: Optional[str] = None, ): """ @@ -69,6 +72,7 @@ def __init__( self.description = description self.tags = tags or {} self.vector_index = vector_index + self.vector_len = vector_len self.vector_search_metric = vector_search_metric def __eq__(self, other): @@ -80,6 +84,7 @@ def __eq__(self, other): or self.dtype != other.dtype or self.description != other.description or self.tags != other.tags + or self.vector_len != other.vector_len # or self.vector_index != other.vector_index # or self.vector_search_metric != other.vector_search_metric ): @@ -100,6 +105,7 @@ def __repr__(self): f" description={self.description!r},\n" f" tags={self.tags!r}\n" f" vector_index={self.vector_index!r}\n" + f" vector_len={self.vector_len!r}\n" f" vector_search_metric={self.vector_search_metric!r}\n" f")" ) @@ -117,6 +123,7 @@ def to_proto(self) -> FieldProto: description=self.description, tags=self.tags, vector_index=self.vector_index, + vector_len=self.vector_len, vector_search_metric=vector_search_metric, ) @@ -131,12 +138,14 @@ def from_proto(cls, field_proto: FieldProto): value_type = ValueType(field_proto.value_type) vector_search_metric = getattr(field_proto, "vector_search_metric", "") vector_index = getattr(field_proto, "vector_index", False) + vector_len = getattr(field_proto, "vector_len", 0) return cls( name=field_proto.name, dtype=from_value_type(value_type=value_type), tags=dict(field_proto.tags), description=field_proto.description, vector_index=vector_index, + vector_len=vector_len, vector_search_metric=vector_search_metric, ) diff --git a/sdk/python/feast/infra/online_stores/postgres_online_store/postgres.py b/sdk/python/feast/infra/online_stores/postgres_online_store/postgres.py index 2fdc877c461..717712cf233 100644 --- a/sdk/python/feast/infra/online_stores/postgres_online_store/postgres.py +++ b/sdk/python/feast/infra/online_stores/postgres_online_store/postgres.py @@ -311,7 +311,7 @@ def update( for table in tables_to_keep: table_name = _table_id(project, table) if config.online_store.vector_enabled: - vector_value_type = f"vector" + vector_value_type = "vector" else: # keep the vector_value_type as BYTEA if pgvector is not enabled, to maintain compatibility vector_value_type = "BYTEA" diff --git a/sdk/python/feast/protos/feast/core/Feature_pb2.py b/sdk/python/feast/protos/feast/core/Feature_pb2.py index 6b1081fe811..7ea0a5f12b4 100644 --- a/sdk/python/feast/protos/feast/core/Feature_pb2.py +++ b/sdk/python/feast/protos/feast/core/Feature_pb2.py @@ -15,7 +15,7 @@ from feast.protos.feast.types import Value_pb2 as feast_dot_types_dot_Value__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x66\x65\x61st/core/Feature.proto\x12\nfeast.core\x1a\x17\x66\x65\x61st/types/Value.proto\"\xf7\x01\n\rFeatureSpecV2\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\nvalue_type\x18\x02 \x01(\x0e\x32\x1b.feast.types.ValueType.Enum\x12\x31\n\x04tags\x18\x03 \x03(\x0b\x32#.feast.core.FeatureSpecV2.TagsEntry\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x14\n\x0cvector_index\x18\x05 \x01(\x08\x12\x1c\n\x14vector_search_metric\x18\x06 \x01(\t\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42Q\n\x10\x66\x65\x61st.proto.coreB\x0c\x46\x65\x61tureProtoZ/github.com/feast-dev/feast/go/protos/feast/coreb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x66\x65\x61st/core/Feature.proto\x12\nfeast.core\x1a\x17\x66\x65\x61st/types/Value.proto\"\x8b\x02\n\rFeatureSpecV2\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\nvalue_type\x18\x02 \x01(\x0e\x32\x1b.feast.types.ValueType.Enum\x12\x31\n\x04tags\x18\x03 \x03(\x0b\x32#.feast.core.FeatureSpecV2.TagsEntry\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x14\n\x0cvector_index\x18\x05 \x01(\x08\x12\x1c\n\x14vector_search_metric\x18\x06 \x01(\t\x12\x12\n\nvector_len\x18\x07 \x01(\x05\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42Q\n\x10\x66\x65\x61st.proto.coreB\x0c\x46\x65\x61tureProtoZ/github.com/feast-dev/feast/go/protos/feast/coreb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) diff --git a/sdk/python/feast/protos/feast/core/Feature_pb2.pyi b/sdk/python/feast/protos/feast/core/Feature_pb2.pyi index 451f1aa61ce..e58815bcc70 100644 --- a/sdk/python/feast/protos/feast/core/Feature_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Feature_pb2.pyi @@ -55,6 +55,7 @@ class FeatureSpecV2(google.protobuf.message.Message): DESCRIPTION_FIELD_NUMBER: builtins.int VECTOR_INDEX_FIELD_NUMBER: builtins.int VECTOR_SEARCH_METRIC_FIELD_NUMBER: builtins.int + VECTOR_LEN_FIELD_NUMBER: builtins.int name: builtins.str """Name of the feature. Not updatable.""" value_type: feast.types.Value_pb2.ValueType.Enum.ValueType @@ -68,6 +69,8 @@ class FeatureSpecV2(google.protobuf.message.Message): """Field indicating the vector will be indexed for vector similarity search""" vector_search_metric: builtins.str """Metric used for vector similarity search.""" + vector_len: builtins.int + """Field indicating the vector length""" def __init__( self, *, @@ -77,7 +80,8 @@ class FeatureSpecV2(google.protobuf.message.Message): description: builtins.str = ..., vector_index: builtins.bool = ..., vector_search_metric: builtins.str = ..., + vector_len: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name", "tags", b"tags", "value_type", b"value_type", "vector_index", b"vector_index", "vector_search_metric", b"vector_search_metric"]) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name", "tags", b"tags", "value_type", b"value_type", "vector_index", b"vector_index", "vector_len", b"vector_len", "vector_search_metric", b"vector_search_metric"]) -> None: ... global___FeatureSpecV2 = FeatureSpecV2 diff --git a/sdk/python/tests/integration/feature_repos/universal/online_store/postgres.py b/sdk/python/tests/integration/feature_repos/universal/online_store/postgres.py index 7ff72a48a37..d11f563cb5c 100644 --- a/sdk/python/tests/integration/feature_repos/universal/online_store/postgres.py +++ b/sdk/python/tests/integration/feature_repos/universal/online_store/postgres.py @@ -68,7 +68,6 @@ def create_online_store(self) -> Dict[str, Any]: "password": "test!@#$%", "database": "test", "vector_enabled": True, - "vector_len": 2, "port": self.container.get_exposed_port(5432), } From 1c6590680baa80234cde5da008582e4e2d716e4c Mon Sep 17 00:00:00 2001 From: jyejare Date: Mon, 21 Apr 2025 15:16:16 +0530 Subject: [PATCH 03/10] SQLite vector length Signed-off-by: jyejare --- sdk/python/feast/feature_store.py | 15 +-------------- sdk/python/feast/infra/online_stores/sqlite.py | 12 ++++++++---- sdk/python/feast/utils.py | 14 ++++++++++++++ 3 files changed, 23 insertions(+), 18 deletions(-) diff --git a/sdk/python/feast/feature_store.py b/sdk/python/feast/feature_store.py index 928248ced47..e212bd3b2f1 100644 --- a/sdk/python/feast/feature_store.py +++ b/sdk/python/feast/feature_store.py @@ -62,7 +62,6 @@ from feast.feast_object import FeastObject from feast.feature_service import FeatureService from feast.feature_view import DUMMY_ENTITY, DUMMY_ENTITY_NAME, FeatureView -from feast.field import Field from feast.inference import ( update_data_sources_with_inferred_event_timestamp_col, update_feature_views_with_inferred_features_and_entities, @@ -91,7 +90,7 @@ from feast.stream_feature_view import StreamFeatureView from feast.transformation.pandas_transformation import PandasTransformation from feast.transformation.python_transformation import PythonTransformation -from feast.utils import _utc_now +from feast.utils import _utc_now, _get_feature_view_vector_field_metadata warnings.simplefilter("once", DeprecationWarning) @@ -2515,15 +2514,3 @@ def _validate_data_sources(data_sources: List[DataSource]): else: ds_names.add(case_insensitive_ds_name) - -def _get_feature_view_vector_field_metadata( - feature_view: FeatureView, -) -> Optional[Field]: - vector_fields = [field for field in feature_view.schema if field.vector_index] - if len(vector_fields) > 1: - raise ValueError( - f"Feature view {feature_view.name} has multiple vector fields. Only one vector field per feature view is supported." - ) - if not vector_fields: - return None - return vector_fields[0] diff --git a/sdk/python/feast/infra/online_stores/sqlite.py b/sdk/python/feast/infra/online_stores/sqlite.py index 12d94ff25fb..3a591715739 100644 --- a/sdk/python/feast/infra/online_stores/sqlite.py +++ b/sdk/python/feast/infra/online_stores/sqlite.py @@ -45,6 +45,7 @@ _build_retrieve_online_document_record, _serialize_vector_to_float_list, to_naive_utc, + _get_feature_view_vector_field_metadata, ) @@ -171,8 +172,9 @@ def online_write_batch( feature_type_dict.get(feature_name, None) in FEAST_VECTOR_TYPES ): + vector_field_length = _get_feature_view_vector_field_metadata(table).vector_len or 512 val_bin = serialize_f32( - val.float_list_val.val, config.online_store.vector_len + val.float_list_val.val, vector_field_length ) # type: ignore else: val_bin = feast_value_type_to_python_type(val) @@ -354,15 +356,17 @@ def retrieve_online_documents( conn = self._get_conn(config) cur = conn.cursor() + vector_field_length = _get_feature_view_vector_field_metadata(table).vector_len or 512 + # Convert the embedding to a binary format instead of using SerializeToString() - query_embedding_bin = serialize_f32(embedding, config.online_store.vector_len) + query_embedding_bin = serialize_f32(embedding, vector_field_length) table_name = _table_id(project, table) vector_field = _get_vector_field(table) cur.execute( f""" CREATE VIRTUAL TABLE vec_table using vec0( - vector_value float[{config.online_store.vector_len}] + vector_value float[{vector_field_length}] ); """ ) @@ -378,7 +382,7 @@ def retrieve_online_documents( cur.execute( f""" CREATE VIRTUAL TABLE IF NOT EXISTS vec_table using vec0( - vector_value float[{config.online_store.vector_len}] + vector_value float[{vector_field_length}] ); """ ) diff --git a/sdk/python/feast/utils.py b/sdk/python/feast/utils.py index cbb769cce4e..7a49e0a0cdc 100644 --- a/sdk/python/feast/utils.py +++ b/sdk/python/feast/utils.py @@ -45,6 +45,7 @@ from feast.types import ComplexFeastType, PrimitiveFeastType, from_feast_to_pyarrow_type from feast.value_type import ValueType from feast.version import get_version +from feast.field import Field if typing.TYPE_CHECKING: from feast.base_feature_view import BaseFeatureView @@ -1405,3 +1406,16 @@ def _build_retrieve_online_document_record( vector_value_proto, distance_value_proto, ) + + +def _get_feature_view_vector_field_metadata( + feature_view: FeatureView, +) -> Optional[Field]: + vector_fields = [field for field in feature_view.schema if field.vector_index] + if len(vector_fields) > 1: + raise ValueError( + f"Feature view {feature_view.name} has multiple vector fields. Only one vector field per feature view is supported." + ) + if not vector_fields: + return None + return vector_fields[0] From bdcc7594b26f1234bb782b9c415561b6395edccc Mon Sep 17 00:00:00 2001 From: jyejare Date: Mon, 21 Apr 2025 15:21:16 +0530 Subject: [PATCH 04/10] ElasticSearch vector length Signed-off-by: jyejare --- docs/reference/online-stores/elasticsearch.md | 2 +- .../elasticsearch_online_store/elasticsearch.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/reference/online-stores/elasticsearch.md b/docs/reference/online-stores/elasticsearch.md index 509913f8113..993a131affd 100644 --- a/docs/reference/online-stores/elasticsearch.md +++ b/docs/reference/online-stores/elasticsearch.md @@ -88,7 +88,7 @@ Currently, the indexing mapping in the ElasticSearch online store is configured "created_ts": {"type": "date"}, "vector_value": { "type": "dense_vector", - "dims": config.online_store.vector_len, + "dims": vector_field_length, "index": "true", "similarity": config.online_store.similarity, }, diff --git a/sdk/python/feast/infra/online_stores/elasticsearch_online_store/elasticsearch.py b/sdk/python/feast/infra/online_stores/elasticsearch_online_store/elasticsearch.py index d025486a976..fcd5ec3270b 100644 --- a/sdk/python/feast/infra/online_stores/elasticsearch_online_store/elasticsearch.py +++ b/sdk/python/feast/infra/online_stores/elasticsearch_online_store/elasticsearch.py @@ -18,7 +18,7 @@ from feast.protos.feast.types.EntityKey_pb2 import EntityKey as EntityKeyProto from feast.protos.feast.types.Value_pb2 import Value as ValueProto from feast.repo_config import FeastConfigBaseModel -from feast.utils import _build_retrieve_online_document_record, to_naive_utc +from feast.utils import _build_retrieve_online_document_record, to_naive_utc, _get_feature_view_vector_field_metadata class ElasticSearchOnlineStoreConfig(FeastConfigBaseModel, VectorStoreConfig): @@ -161,6 +161,8 @@ def create_index(self, config: RepoConfig, table: FeatureView): config: Feast repo configuration object. table: FeatureView table for which the index needs to be created. """ + vector_field_length = _get_feature_view_vector_field_metadata(table).vector_len or 512 + index_mapping = { "properties": { "entity_key": {"type": "binary"}, @@ -170,7 +172,7 @@ def create_index(self, config: RepoConfig, table: FeatureView): "created_ts": {"type": "date"}, "vector_value": { "type": "dense_vector", - "dims": config.online_store.vector_len, + "dims": vector_field_length, "index": "true", "similarity": config.online_store.similarity, }, From f4118dc674ed4f8c73dd025d8f739f4db50269dc Mon Sep 17 00:00:00 2001 From: jyejare Date: Mon, 21 Apr 2025 15:29:44 +0530 Subject: [PATCH 05/10] Qdrant Vector length Signed-off-by: jyejare --- .../feast/infra/online_stores/qdrant_online_store/qdrant.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdk/python/feast/infra/online_stores/qdrant_online_store/qdrant.py b/sdk/python/feast/infra/online_stores/qdrant_online_store/qdrant.py index 840458b5471..f1dd0c7bc68 100644 --- a/sdk/python/feast/infra/online_stores/qdrant_online_store/qdrant.py +++ b/sdk/python/feast/infra/online_stores/qdrant_online_store/qdrant.py @@ -19,7 +19,7 @@ from feast.protos.feast.types.EntityKey_pb2 import EntityKey as EntityKeyProto from feast.protos.feast.types.Value_pb2 import Value as ValueProto from feast.repo_config import FeastConfigBaseModel -from feast.utils import _build_retrieve_online_document_record, to_naive_utc +from feast.utils import _build_retrieve_online_document_record, to_naive_utc, _get_feature_view_vector_field_metadata SCROLL_SIZE = 1000 @@ -198,13 +198,15 @@ def create_collection(self, config: RepoConfig, table: FeatureView): table: FeatureView table for which the index needs to be created. """ + vector_field_length = _get_feature_view_vector_field_metadata(table) or 512 + client: QdrantClient = self._get_client(config) client.create_collection( collection_name=table.name, vectors_config={ config.online_store.vector_name: models.VectorParams( - size=config.online_store.vector_len, + size=vector_field_length, distance=DISTANCE_MAPPING[config.online_store.similarity.lower()], ) }, From df15f5ae2d5f5e536eb38e715f640c9844a224e4 Mon Sep 17 00:00:00 2001 From: jyejare Date: Mon, 21 Apr 2025 17:33:28 +0530 Subject: [PATCH 06/10] Test vector_length updates and related Fixes Signed-off-by: jyejare --- sdk/python/feast/feature_store.py | 9 ++++---- .../elasticsearch.py | 10 +++++++-- .../qdrant_online_store/qdrant.py | 10 +++++++-- .../feast/infra/online_stores/sqlite.py | 21 ++++++++++++------- sdk/python/feast/utils.py | 4 ++-- .../example_repos/example_feature_repo_1.py | 1 + .../online_store/test_online_retrieval.py | 2 -- .../test_on_demand_python_transformation.py | 1 + 8 files changed, 38 insertions(+), 20 deletions(-) diff --git a/sdk/python/feast/feature_store.py b/sdk/python/feast/feature_store.py index e212bd3b2f1..b2b28c0cd94 100644 --- a/sdk/python/feast/feature_store.py +++ b/sdk/python/feast/feature_store.py @@ -90,7 +90,7 @@ from feast.stream_feature_view import StreamFeatureView from feast.transformation.pandas_transformation import PandasTransformation from feast.transformation.python_transformation import PythonTransformation -from feast.utils import _utc_now, _get_feature_view_vector_field_metadata +from feast.utils import _get_feature_view_vector_field_metadata, _utc_now warnings.simplefilter("once", DeprecationWarning) @@ -1559,11 +1559,11 @@ def _get_feature_view_and_df_for_online_write( df_vector_feature_index = df.columns.get_loc(fv_vector_feature_name) if feature_view.features[0].vector_len != 0: if ( - feature_view.features[0].vector_len - != df.shape[df_vector_feature_index] + df.shape[df_vector_feature_index] + > feature_view.features[0].vector_len ): raise ValueError( - f"The dataframe for {fv_vector_feature_name} column has {df.shape[1]} vectors, but the feature view {feature_view.name} expects {feature_view.features[0].vector_len}" + f"The dataframe for {fv_vector_feature_name} column has {df.shape[1]} vectors which is greater than expected (i.e {feature_view.features[0].vector_len}) by feature view {feature_view.name}." ) # # Apply transformations if this is an OnDemandFeatureView with write_to_online_store=True @@ -2513,4 +2513,3 @@ def _validate_data_sources(data_sources: List[DataSource]): raise DataSourceRepeatNamesException(case_insensitive_ds_name) else: ds_names.add(case_insensitive_ds_name) - diff --git a/sdk/python/feast/infra/online_stores/elasticsearch_online_store/elasticsearch.py b/sdk/python/feast/infra/online_stores/elasticsearch_online_store/elasticsearch.py index fcd5ec3270b..7e52f85e589 100644 --- a/sdk/python/feast/infra/online_stores/elasticsearch_online_store/elasticsearch.py +++ b/sdk/python/feast/infra/online_stores/elasticsearch_online_store/elasticsearch.py @@ -18,7 +18,11 @@ from feast.protos.feast.types.EntityKey_pb2 import EntityKey as EntityKeyProto from feast.protos.feast.types.Value_pb2 import Value as ValueProto from feast.repo_config import FeastConfigBaseModel -from feast.utils import _build_retrieve_online_document_record, to_naive_utc, _get_feature_view_vector_field_metadata +from feast.utils import ( + _build_retrieve_online_document_record, + _get_feature_view_vector_field_metadata, + to_naive_utc, +) class ElasticSearchOnlineStoreConfig(FeastConfigBaseModel, VectorStoreConfig): @@ -161,7 +165,9 @@ def create_index(self, config: RepoConfig, table: FeatureView): config: Feast repo configuration object. table: FeatureView table for which the index needs to be created. """ - vector_field_length = _get_feature_view_vector_field_metadata(table).vector_len or 512 + vector_field_length = getattr( + _get_feature_view_vector_field_metadata(table), "vector_len", 512 + ) index_mapping = { "properties": { diff --git a/sdk/python/feast/infra/online_stores/qdrant_online_store/qdrant.py b/sdk/python/feast/infra/online_stores/qdrant_online_store/qdrant.py index f1dd0c7bc68..aa03f1be501 100644 --- a/sdk/python/feast/infra/online_stores/qdrant_online_store/qdrant.py +++ b/sdk/python/feast/infra/online_stores/qdrant_online_store/qdrant.py @@ -19,7 +19,11 @@ from feast.protos.feast.types.EntityKey_pb2 import EntityKey as EntityKeyProto from feast.protos.feast.types.Value_pb2 import Value as ValueProto from feast.repo_config import FeastConfigBaseModel -from feast.utils import _build_retrieve_online_document_record, to_naive_utc, _get_feature_view_vector_field_metadata +from feast.utils import ( + _build_retrieve_online_document_record, + _get_feature_view_vector_field_metadata, + to_naive_utc, +) SCROLL_SIZE = 1000 @@ -198,7 +202,9 @@ def create_collection(self, config: RepoConfig, table: FeatureView): table: FeatureView table for which the index needs to be created. """ - vector_field_length = _get_feature_view_vector_field_metadata(table) or 512 + vector_field_length = getattr( + _get_feature_view_vector_field_metadata(table), "vector_len", 512 + ) client: QdrantClient = self._get_client(config) diff --git a/sdk/python/feast/infra/online_stores/sqlite.py b/sdk/python/feast/infra/online_stores/sqlite.py index 3a591715739..6382735e9bb 100644 --- a/sdk/python/feast/infra/online_stores/sqlite.py +++ b/sdk/python/feast/infra/online_stores/sqlite.py @@ -43,9 +43,9 @@ from feast.types import FEAST_VECTOR_TYPES, PrimitiveFeastType from feast.utils import ( _build_retrieve_online_document_record, + _get_feature_view_vector_field_metadata, _serialize_vector_to_float_list, to_naive_utc, - _get_feature_view_vector_field_metadata, ) @@ -172,7 +172,11 @@ def online_write_batch( feature_type_dict.get(feature_name, None) in FEAST_VECTOR_TYPES ): - vector_field_length = _get_feature_view_vector_field_metadata(table).vector_len or 512 + vector_field_length = getattr( + _get_feature_view_vector_field_metadata(table), + "vector_len", + 512, + ) val_bin = serialize_f32( val.float_list_val.val, vector_field_length ) # type: ignore @@ -356,7 +360,9 @@ def retrieve_online_documents( conn = self._get_conn(config) cur = conn.cursor() - vector_field_length = _get_feature_view_vector_field_metadata(table).vector_len or 512 + vector_field_length = getattr( + _get_feature_view_vector_field_metadata(table), "vector_len", 512 + ) # Convert the embedding to a binary format instead of using SerializeToString() query_embedding_bin = serialize_f32(embedding, vector_field_length) @@ -480,18 +486,19 @@ def retrieve_online_documents_v2( conn = self._get_conn(config) cur = conn.cursor() - if online_store.vector_enabled and not online_store.vector_len: - raise ValueError("vector_len is not configured in the online store config") + vector_field_length = getattr( + _get_feature_view_vector_field_metadata(table), "vector_len", 512 + ) table_name = _table_id(config.project, table) vector_field = _get_vector_field(table) if online_store.vector_enabled: - query_embedding_bin = serialize_f32(query, online_store.vector_len) # type: ignore + query_embedding_bin = serialize_f32(query, vector_field_length) # type: ignore cur.execute( f""" CREATE VIRTUAL TABLE IF NOT EXISTS vec_table using vec0( - vector_value float[{online_store.vector_len}] + vector_value float[{vector_field_length}] ); """ ) diff --git a/sdk/python/feast/utils.py b/sdk/python/feast/utils.py index 7a49e0a0cdc..d8f075d16d4 100644 --- a/sdk/python/feast/utils.py +++ b/sdk/python/feast/utils.py @@ -32,6 +32,7 @@ FeatureViewNotFoundException, RequestDataNotFoundInEntityRowsException, ) +from feast.field import Field from feast.infra.key_encoding_utils import deserialize_entity_key from feast.protos.feast.serving.ServingService_pb2 import ( FieldStatus, @@ -45,7 +46,6 @@ from feast.types import ComplexFeastType, PrimitiveFeastType, from_feast_to_pyarrow_type from feast.value_type import ValueType from feast.version import get_version -from feast.field import Field if typing.TYPE_CHECKING: from feast.base_feature_view import BaseFeatureView @@ -1409,7 +1409,7 @@ def _build_retrieve_online_document_record( def _get_feature_view_vector_field_metadata( - feature_view: FeatureView, + feature_view, ) -> Optional[Field]: vector_fields = [field for field in feature_view.schema if field.vector_index] if len(vector_fields) > 1: diff --git a/sdk/python/tests/example_repos/example_feature_repo_1.py b/sdk/python/tests/example_repos/example_feature_repo_1.py index 1671bd0ae3a..b4984c11fc7 100644 --- a/sdk/python/tests/example_repos/example_feature_repo_1.py +++ b/sdk/python/tests/example_repos/example_feature_repo_1.py @@ -122,6 +122,7 @@ name="Embeddings", dtype=Array(Float32), vector_index=True, + vector_len=8, vector_search_metric="L2", ), Field(name="item_id", dtype=String), diff --git a/sdk/python/tests/unit/online_store/test_online_retrieval.py b/sdk/python/tests/unit/online_store/test_online_retrieval.py index 409a729ceee..ab785669df1 100644 --- a/sdk/python/tests/unit/online_store/test_online_retrieval.py +++ b/sdk/python/tests/unit/online_store/test_online_retrieval.py @@ -633,7 +633,6 @@ def test_sqlite_get_online_documents() -> None: get_example_repo("example_feature_repo_1.py"), "file" ) as store: store.config.online_store.vector_enabled = True - store.config.online_store.vector_len = vector_length # Write some data to two tables document_embeddings_fv = store.get_feature_view(name="document_embeddings") @@ -870,7 +869,6 @@ def test_sqlite_get_online_documents_v2() -> None: get_example_repo("example_feature_repo_1.py"), "file" ) as store: store.config.online_store.vector_enabled = True - store.config.online_store.vector_len = vector_length store.config.entity_key_serialization_version = 3 document_embeddings_fv = store.get_feature_view(name="document_embeddings") diff --git a/sdk/python/tests/unit/test_on_demand_python_transformation.py b/sdk/python/tests/unit/test_on_demand_python_transformation.py index 9f9dbd2dfea..d3bc073974d 100644 --- a/sdk/python/tests/unit/test_on_demand_python_transformation.py +++ b/sdk/python/tests/unit/test_on_demand_python_transformation.py @@ -1178,6 +1178,7 @@ def test_stored_writes_with_explode(self): name="vector", dtype=Array(Float32), vector_index=True, + vector_length=5, vector_search_metric="L2", ), ], From 1e7ef9ad65e12e507e22c59127edac53422a253f Mon Sep 17 00:00:00 2001 From: jyejare Date: Tue, 22 Apr 2025 20:42:09 +0530 Subject: [PATCH 07/10] Vector length cleanup for Store confgis Signed-off-by: jyejare --- sdk/python/feast/infra/online_stores/sqlite.py | 1 - .../tests/unit/test_on_demand_python_transformation.py | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sdk/python/feast/infra/online_stores/sqlite.py b/sdk/python/feast/infra/online_stores/sqlite.py index 6382735e9bb..58e665c5463 100644 --- a/sdk/python/feast/infra/online_stores/sqlite.py +++ b/sdk/python/feast/infra/online_stores/sqlite.py @@ -101,7 +101,6 @@ class SqliteOnlineStoreConfig(FeastConfigBaseModel, VectorStoreConfig): """ (optional) Path to sqlite db """ vector_enabled: bool = False - vector_len: Optional[int] = None text_search_enabled: bool = False diff --git a/sdk/python/tests/unit/test_on_demand_python_transformation.py b/sdk/python/tests/unit/test_on_demand_python_transformation.py index d3bc073974d..1c0617a16c1 100644 --- a/sdk/python/tests/unit/test_on_demand_python_transformation.py +++ b/sdk/python/tests/unit/test_on_demand_python_transformation.py @@ -1127,8 +1127,7 @@ def test_stored_writes_with_explode(self): entity_key_serialization_version=3, online_store=SqliteOnlineStoreConfig( path=os.path.join(data_dir, "online.db"), - vector_enabled=True, - vector_len=5, + vector_enabled=True ), ) ) @@ -1378,7 +1377,6 @@ def test_docling_transform(self): online_store=SqliteOnlineStoreConfig( path=os.path.join(data_dir, "online.db"), vector_enabled=True, - vector_len=VECTOR_LEN, ), ) ) @@ -1422,6 +1420,7 @@ def embed_chunk(input_string) -> dict[str, list[float]]: name="vector", dtype=Array(Float32), vector_index=True, + vector_len=VECTOR_LEN, vector_search_metric="L2", ), ], From 48e418412120e7993cfbff749a30e35829fe188f Mon Sep 17 00:00:00 2001 From: jyejare Date: Tue, 22 Apr 2025 20:46:44 +0530 Subject: [PATCH 08/10] All Protos regenerated Signed-off-by: jyejare --- .../protos/feast/core/Aggregation_pb2.py | 16 +- .../protos/feast/core/Aggregation_pb2_grpc.py | 20 + .../feast/protos/feast/core/DataFormat_pb2.py | 16 +- .../protos/feast/core/DataFormat_pb2_grpc.py | 20 + .../feast/protos/feast/core/DataSource_pb2.py | 22 +- .../protos/feast/core/DataSource_pb2_grpc.py | 20 + .../protos/feast/core/DatastoreTable_pb2.py | 16 +- .../feast/core/DatastoreTable_pb2_grpc.py | 20 + .../protos/feast/core/DynamoDBTable_pb2.py | 16 +- .../feast/core/DynamoDBTable_pb2_grpc.py | 20 + .../feast/protos/feast/core/Entity_pb2.py | 18 +- .../protos/feast/core/Entity_pb2_grpc.py | 20 + .../protos/feast/core/FeatureService_pb2.py | 20 +- .../feast/core/FeatureService_pb2_grpc.py | 20 + .../protos/feast/core/FeatureTable_pb2.py | 18 +- .../feast/core/FeatureTable_pb2_grpc.py | 20 + .../feast/core/FeatureViewProjection_pb2.py | 18 +- .../core/FeatureViewProjection_pb2_grpc.py | 20 + .../protos/feast/core/FeatureView_pb2.py | 18 +- .../protos/feast/core/FeatureView_pb2_grpc.py | 20 + .../feast/protos/feast/core/Feature_pb2.py | 24 +- .../protos/feast/core/Feature_pb2_grpc.py | 20 + .../protos/feast/core/InfraObject_pb2.py | 16 +- .../protos/feast/core/InfraObject_pb2_grpc.py | 20 + .../feast/core/OnDemandFeatureView_pb2.py | 24 +- .../core/OnDemandFeatureView_pb2_grpc.py | 20 + .../feast/protos/feast/core/Permission_pb2.py | 20 +- .../protos/feast/core/Permission_pb2_grpc.py | 20 + .../feast/protos/feast/core/Policy_pb2.py | 16 +- .../protos/feast/core/Policy_pb2_grpc.py | 20 + .../feast/protos/feast/core/Project_pb2.py | 18 +- .../protos/feast/core/Project_pb2_grpc.py | 20 + .../feast/protos/feast/core/Registry_pb2.py | 18 +- .../protos/feast/core/Registry_pb2_grpc.py | 20 + .../protos/feast/core/SavedDataset_pb2.py | 18 +- .../feast/core/SavedDataset_pb2_grpc.py | 20 + .../protos/feast/core/SqliteTable_pb2.py | 16 +- .../protos/feast/core/SqliteTable_pb2_grpc.py | 20 + .../feast/protos/feast/core/Store_pb2.py | 16 +- .../feast/protos/feast/core/Store_pb2_grpc.py | 20 + .../feast/core/StreamFeatureView_pb2.py | 20 +- .../feast/core/StreamFeatureView_pb2_grpc.py | 20 + .../protos/feast/core/Transformation_pb2.py | 16 +- .../feast/core/Transformation_pb2_grpc.py | 20 + .../feast/core/ValidationProfile_pb2.py | 18 +- .../feast/core/ValidationProfile_pb2_grpc.py | 20 + .../feast/registry/RegistryServer_pb2.py | 38 +- .../feast/registry/RegistryServer_pb2_grpc.py | 831 ++++++++++++++---- .../protos/feast/serving/Connector_pb2.py | 16 +- .../feast/serving/Connector_pb2_grpc.py | 39 +- .../protos/feast/serving/GrpcServer_pb2.py | 20 +- .../feast/serving/GrpcServer_pb2_grpc.py | 75 +- .../feast/serving/ServingService_pb2.py | 22 +- .../feast/serving/ServingService_pb2_grpc.py | 57 +- .../serving/TransformationService_pb2.py | 16 +- .../serving/TransformationService_pb2_grpc.py | 57 +- .../feast/protos/feast/storage/Redis_pb2.py | 16 +- .../protos/feast/storage/Redis_pb2_grpc.py | 20 + .../feast/protos/feast/types/EntityKey_pb2.py | 16 +- .../protos/feast/types/EntityKey_pb2_grpc.py | 20 + .../feast/protos/feast/types/Field_pb2.py | 18 +- .../protos/feast/types/Field_pb2_grpc.py | 20 + .../feast/protos/feast/types/Value_pb2.py | 16 +- .../protos/feast/types/Value_pb2_grpc.py | 20 + .../test_on_demand_python_transformation.py | 3 +- 65 files changed, 1846 insertions(+), 352 deletions(-) diff --git a/sdk/python/feast/protos/feast/core/Aggregation_pb2.py b/sdk/python/feast/protos/feast/core/Aggregation_pb2.py index 922f8f40aa2..96c2c217ea2 100644 --- a/sdk/python/feast/protos/feast/core/Aggregation_pb2.py +++ b/sdk/python/feast/protos/feast/core/Aggregation_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/Aggregation.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/Aggregation.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,8 +30,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Aggregation_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\020AggregationProtoZ/github.com/feast-dev/feast/go/protos/feast/core' _globals['_AGGREGATION']._serialized_start=77 _globals['_AGGREGATION']._serialized_end=223 diff --git a/sdk/python/feast/protos/feast/core/Aggregation_pb2_grpc.py b/sdk/python/feast/protos/feast/core/Aggregation_pb2_grpc.py index 2daafffebfc..79bef06578c 100644 --- a/sdk/python/feast/protos/feast/core/Aggregation_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Aggregation_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/Aggregation_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/DataFormat_pb2.py b/sdk/python/feast/protos/feast/core/DataFormat_pb2.py index a3883dcec3b..87b2fc02138 100644 --- a/sdk/python/feast/protos/feast/core/DataFormat_pb2.py +++ b/sdk/python/feast/protos/feast/core/DataFormat_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/DataFormat.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/DataFormat.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,8 +29,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.DataFormat_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\017DataFormatProtoZ/github.com/feast-dev/feast/go/protos/feast/core' _globals['_FILEFORMAT']._serialized_start=44 _globals['_FILEFORMAT']._serialized_end=222 diff --git a/sdk/python/feast/protos/feast/core/DataFormat_pb2_grpc.py b/sdk/python/feast/protos/feast/core/DataFormat_pb2_grpc.py index 2daafffebfc..49e324d0433 100644 --- a/sdk/python/feast/protos/feast/core/DataFormat_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/DataFormat_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/DataFormat_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/DataSource_pb2.py b/sdk/python/feast/protos/feast/core/DataSource_pb2.py index 68bee8d7609..bf202dff31a 100644 --- a/sdk/python/feast/protos/feast/core/DataSource_pb2.py +++ b/sdk/python/feast/protos/feast/core/DataSource_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/DataSource.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/DataSource.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -24,14 +34,14 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.DataSource_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\017DataSourceProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_DATASOURCE_TAGSENTRY']._options = None + _globals['_DATASOURCE_TAGSENTRY']._loaded_options = None _globals['_DATASOURCE_TAGSENTRY']._serialized_options = b'8\001' - _globals['_DATASOURCE_FIELDMAPPINGENTRY']._options = None + _globals['_DATASOURCE_FIELDMAPPINGENTRY']._loaded_options = None _globals['_DATASOURCE_FIELDMAPPINGENTRY']._serialized_options = b'8\001' - _globals['_DATASOURCE_REQUESTDATAOPTIONS_DEPRECATEDSCHEMAENTRY']._options = None + _globals['_DATASOURCE_REQUESTDATAOPTIONS_DEPRECATEDSCHEMAENTRY']._loaded_options = None _globals['_DATASOURCE_REQUESTDATAOPTIONS_DEPRECATEDSCHEMAENTRY']._serialized_options = b'8\001' _globals['_DATASOURCE']._serialized_start=189 _globals['_DATASOURCE']._serialized_end=3069 diff --git a/sdk/python/feast/protos/feast/core/DataSource_pb2_grpc.py b/sdk/python/feast/protos/feast/core/DataSource_pb2_grpc.py index 2daafffebfc..f7284abc770 100644 --- a/sdk/python/feast/protos/feast/core/DataSource_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/DataSource_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/DataSource_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.py b/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.py index c5dbc3ec64a..492f8377e25 100644 --- a/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.py +++ b/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/DatastoreTable.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/DatastoreTable.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,8 +30,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.DatastoreTable_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\023DatastoreTableProtoZ/github.com/feast-dev/feast/go/protos/feast/core' _globals['_DATASTORETABLE']._serialized_start=80 _globals['_DATASTORETABLE']._serialized_end=274 diff --git a/sdk/python/feast/protos/feast/core/DatastoreTable_pb2_grpc.py b/sdk/python/feast/protos/feast/core/DatastoreTable_pb2_grpc.py index 2daafffebfc..f51b44daf9d 100644 --- a/sdk/python/feast/protos/feast/core/DatastoreTable_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/DatastoreTable_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/DatastoreTable_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/DynamoDBTable_pb2.py b/sdk/python/feast/protos/feast/core/DynamoDBTable_pb2.py index 34b813f39a1..9ff525433df 100644 --- a/sdk/python/feast/protos/feast/core/DynamoDBTable_pb2.py +++ b/sdk/python/feast/protos/feast/core/DynamoDBTable_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/DynamoDBTable.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/DynamoDBTable.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,8 +29,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.DynamoDBTable_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\022DynamoDBTableProtoZ/github.com/feast-dev/feast/go/protos/feast/core' _globals['_DYNAMODBTABLE']._serialized_start=46 _globals['_DYNAMODBTABLE']._serialized_end=91 diff --git a/sdk/python/feast/protos/feast/core/DynamoDBTable_pb2_grpc.py b/sdk/python/feast/protos/feast/core/DynamoDBTable_pb2_grpc.py index 2daafffebfc..a24d268d5f1 100644 --- a/sdk/python/feast/protos/feast/core/DynamoDBTable_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/DynamoDBTable_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/DynamoDBTable_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/Entity_pb2.py b/sdk/python/feast/protos/feast/core/Entity_pb2.py index 2b3e7806736..408a7d07dd9 100644 --- a/sdk/python/feast/protos/feast/core/Entity_pb2.py +++ b/sdk/python/feast/protos/feast/core/Entity_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/Entity.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/Entity.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,10 +31,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Entity_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\013EntityProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_ENTITYSPECV2_TAGSENTRY']._options = None + _globals['_ENTITYSPECV2_TAGSENTRY']._loaded_options = None _globals['_ENTITYSPECV2_TAGSENTRY']._serialized_options = b'8\001' _globals['_ENTITY']._serialized_start=97 _globals['_ENTITY']._serialized_end=183 diff --git a/sdk/python/feast/protos/feast/core/Entity_pb2_grpc.py b/sdk/python/feast/protos/feast/core/Entity_pb2_grpc.py index 2daafffebfc..2bb3cc5d5df 100644 --- a/sdk/python/feast/protos/feast/core/Entity_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Entity_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/Entity_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/FeatureService_pb2.py b/sdk/python/feast/protos/feast/core/FeatureService_pb2.py index 7ef36079691..1de3a14c2e0 100644 --- a/sdk/python/feast/protos/feast/core/FeatureService_pb2.py +++ b/sdk/python/feast/protos/feast/core/FeatureService_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/FeatureService.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/FeatureService.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,12 +31,12 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.FeatureService_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\023FeatureServiceProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_FEATURESERVICESPEC_TAGSENTRY']._options = None + _globals['_FEATURESERVICESPEC_TAGSENTRY']._loaded_options = None _globals['_FEATURESERVICESPEC_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LOGGINGCONFIG_CUSTOMDESTINATION_CONFIGENTRY']._options = None + _globals['_LOGGINGCONFIG_CUSTOMDESTINATION_CONFIGENTRY']._loaded_options = None _globals['_LOGGINGCONFIG_CUSTOMDESTINATION_CONFIGENTRY']._serialized_options = b'8\001' _globals['_FEATURESERVICE']._serialized_start=120 _globals['_FEATURESERVICE']._serialized_end=228 diff --git a/sdk/python/feast/protos/feast/core/FeatureService_pb2_grpc.py b/sdk/python/feast/protos/feast/core/FeatureService_pb2_grpc.py index 2daafffebfc..f8482501545 100644 --- a/sdk/python/feast/protos/feast/core/FeatureService_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/FeatureService_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/FeatureService_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/FeatureTable_pb2.py b/sdk/python/feast/protos/feast/core/FeatureTable_pb2.py index 713e72b5d33..c57ed024a76 100644 --- a/sdk/python/feast/protos/feast/core/FeatureTable_pb2.py +++ b/sdk/python/feast/protos/feast/core/FeatureTable_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/FeatureTable.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/FeatureTable.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -23,10 +33,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.FeatureTable_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\021FeatureTableProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_FEATURETABLESPEC_LABELSENTRY']._options = None + _globals['_FEATURETABLESPEC_LABELSENTRY']._loaded_options = None _globals['_FEATURETABLESPEC_LABELSENTRY']._serialized_options = b'8\001' _globals['_FEATURETABLE']._serialized_start=165 _globals['_FEATURETABLE']._serialized_end=267 diff --git a/sdk/python/feast/protos/feast/core/FeatureTable_pb2_grpc.py b/sdk/python/feast/protos/feast/core/FeatureTable_pb2_grpc.py index 2daafffebfc..aa436d85317 100644 --- a/sdk/python/feast/protos/feast/core/FeatureTable_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/FeatureTable_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/FeatureTable_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.py b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.py index b47d4fe392f..14b25b3b103 100644 --- a/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.py +++ b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/FeatureViewProjection.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/FeatureViewProjection.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,10 +31,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.FeatureViewProjection_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\025FeatureReferenceProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_FEATUREVIEWPROJECTION_JOINKEYMAPENTRY']._options = None + _globals['_FEATUREVIEWPROJECTION_JOINKEYMAPENTRY']._loaded_options = None _globals['_FEATUREVIEWPROJECTION_JOINKEYMAPENTRY']._serialized_options = b'8\001' _globals['_FEATUREVIEWPROJECTION']._serialized_start=110 _globals['_FEATUREVIEWPROJECTION']._serialized_end=552 diff --git a/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2_grpc.py b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2_grpc.py index 2daafffebfc..7d7b6229dcf 100644 --- a/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/FeatureViewProjection_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/FeatureView_pb2.py b/sdk/python/feast/protos/feast/core/FeatureView_pb2.py index 80d04c1ec3f..a36629dc15c 100644 --- a/sdk/python/feast/protos/feast/core/FeatureView_pb2.py +++ b/sdk/python/feast/protos/feast/core/FeatureView_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/FeatureView.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/FeatureView.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -23,10 +33,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.FeatureView_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\020FeatureViewProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_FEATUREVIEWSPEC_TAGSENTRY']._options = None + _globals['_FEATUREVIEWSPEC_TAGSENTRY']._loaded_options = None _globals['_FEATUREVIEWSPEC_TAGSENTRY']._serialized_options = b'8\001' _globals['_FEATUREVIEW']._serialized_start=164 _globals['_FEATUREVIEW']._serialized_end=263 diff --git a/sdk/python/feast/protos/feast/core/FeatureView_pb2_grpc.py b/sdk/python/feast/protos/feast/core/FeatureView_pb2_grpc.py index 2daafffebfc..3603858758b 100644 --- a/sdk/python/feast/protos/feast/core/FeatureView_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/FeatureView_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/FeatureView_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/Feature_pb2.py b/sdk/python/feast/protos/feast/core/Feature_pb2.py index 7ea0a5f12b4..32bbcbacc06 100644 --- a/sdk/python/feast/protos/feast/core/Feature_pb2.py +++ b/sdk/python/feast/protos/feast/core/Feature_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/Feature.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/Feature.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,13 +30,13 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Feature_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\014FeatureProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_FEATURESPECV2_TAGSENTRY']._options = None + _globals['_FEATURESPECV2_TAGSENTRY']._loaded_options = None _globals['_FEATURESPECV2_TAGSENTRY']._serialized_options = b'8\001' _globals['_FEATURESPECV2']._serialized_start=66 - _globals['_FEATURESPECV2']._serialized_end=313 - _globals['_FEATURESPECV2_TAGSENTRY']._serialized_start=270 - _globals['_FEATURESPECV2_TAGSENTRY']._serialized_end=313 + _globals['_FEATURESPECV2']._serialized_end=333 + _globals['_FEATURESPECV2_TAGSENTRY']._serialized_start=290 + _globals['_FEATURESPECV2_TAGSENTRY']._serialized_end=333 # @@protoc_insertion_point(module_scope) diff --git a/sdk/python/feast/protos/feast/core/Feature_pb2_grpc.py b/sdk/python/feast/protos/feast/core/Feature_pb2_grpc.py index 2daafffebfc..df4509bf384 100644 --- a/sdk/python/feast/protos/feast/core/Feature_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Feature_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/Feature_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/InfraObject_pb2.py b/sdk/python/feast/protos/feast/core/InfraObject_pb2.py index 0804aecbf65..a73be99186d 100644 --- a/sdk/python/feast/protos/feast/core/InfraObject_pb2.py +++ b/sdk/python/feast/protos/feast/core/InfraObject_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/InfraObject.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/InfraObject.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -22,8 +32,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.InfraObject_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\020InfraObjectProtoZ/github.com/feast-dev/feast/go/protos/feast/core' _globals['_INFRA']._serialized_start=139 _globals['_INFRA']._serialized_end=194 diff --git a/sdk/python/feast/protos/feast/core/InfraObject_pb2_grpc.py b/sdk/python/feast/protos/feast/core/InfraObject_pb2_grpc.py index 2daafffebfc..aad3a2d6ead 100644 --- a/sdk/python/feast/protos/feast/core/InfraObject_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/InfraObject_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/InfraObject_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.py b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.py index 926b54df288..a7352dade36 100644 --- a/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.py +++ b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/OnDemandFeatureView.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/OnDemandFeatureView.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -25,16 +35,16 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.OnDemandFeatureView_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\030OnDemandFeatureViewProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_ONDEMANDFEATUREVIEWSPEC_SOURCESENTRY']._options = None + _globals['_ONDEMANDFEATUREVIEWSPEC_SOURCESENTRY']._loaded_options = None _globals['_ONDEMANDFEATUREVIEWSPEC_SOURCESENTRY']._serialized_options = b'8\001' - _globals['_ONDEMANDFEATUREVIEWSPEC_TAGSENTRY']._options = None + _globals['_ONDEMANDFEATUREVIEWSPEC_TAGSENTRY']._loaded_options = None _globals['_ONDEMANDFEATUREVIEWSPEC_TAGSENTRY']._serialized_options = b'8\001' - _globals['_ONDEMANDFEATUREVIEWSPEC'].fields_by_name['user_defined_function']._options = None + _globals['_ONDEMANDFEATUREVIEWSPEC'].fields_by_name['user_defined_function']._loaded_options = None _globals['_ONDEMANDFEATUREVIEWSPEC'].fields_by_name['user_defined_function']._serialized_options = b'\030\001' - _globals['_USERDEFINEDFUNCTION']._options = None + _globals['_USERDEFINEDFUNCTION']._loaded_options = None _globals['_USERDEFINEDFUNCTION']._serialized_options = b'\030\001' _globals['_ONDEMANDFEATUREVIEW']._serialized_start=243 _globals['_ONDEMANDFEATUREVIEW']._serialized_end=366 diff --git a/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2_grpc.py b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2_grpc.py index 2daafffebfc..c5c36c69ec9 100644 --- a/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/OnDemandFeatureView_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/Permission_pb2.py b/sdk/python/feast/protos/feast/core/Permission_pb2.py index 706fd2eec47..e68d233ac0c 100644 --- a/sdk/python/feast/protos/feast/core/Permission_pb2.py +++ b/sdk/python/feast/protos/feast/core/Permission_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/Permission.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/Permission.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,12 +31,12 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Permission_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\017PermissionProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_PERMISSIONSPEC_REQUIREDTAGSENTRY']._options = None + _globals['_PERMISSIONSPEC_REQUIREDTAGSENTRY']._loaded_options = None _globals['_PERMISSIONSPEC_REQUIREDTAGSENTRY']._serialized_options = b'8\001' - _globals['_PERMISSIONSPEC_TAGSENTRY']._options = None + _globals['_PERMISSIONSPEC_TAGSENTRY']._loaded_options = None _globals['_PERMISSIONSPEC_TAGSENTRY']._serialized_options = b'8\001' _globals['_PERMISSION']._serialized_start=101 _globals['_PERMISSION']._serialized_end=197 diff --git a/sdk/python/feast/protos/feast/core/Permission_pb2_grpc.py b/sdk/python/feast/protos/feast/core/Permission_pb2_grpc.py index 2daafffebfc..f864a626944 100644 --- a/sdk/python/feast/protos/feast/core/Permission_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Permission_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/Permission_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/Policy_pb2.py b/sdk/python/feast/protos/feast/core/Policy_pb2.py index 2fac866115c..36691eab1a1 100644 --- a/sdk/python/feast/protos/feast/core/Policy_pb2.py +++ b/sdk/python/feast/protos/feast/core/Policy_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/Policy.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/Policy.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,8 +29,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Policy_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\013PolicyProtoZ/github.com/feast-dev/feast/go/protos/feast/core' _globals['_POLICY']._serialized_start=39 _globals['_POLICY']._serialized_end=151 diff --git a/sdk/python/feast/protos/feast/core/Policy_pb2_grpc.py b/sdk/python/feast/protos/feast/core/Policy_pb2_grpc.py index 2daafffebfc..c927293a74b 100644 --- a/sdk/python/feast/protos/feast/core/Policy_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Policy_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/Policy_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/Project_pb2.py b/sdk/python/feast/protos/feast/core/Project_pb2.py index cfbf1220143..ec1f91f4aac 100644 --- a/sdk/python/feast/protos/feast/core/Project_pb2.py +++ b/sdk/python/feast/protos/feast/core/Project_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/Project.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/Project.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,10 +30,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Project_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\014ProjectProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_PROJECTSPEC_TAGSENTRY']._options = None + _globals['_PROJECTSPEC_TAGSENTRY']._loaded_options = None _globals['_PROJECTSPEC_TAGSENTRY']._serialized_options = b'8\001' _globals['_PROJECT']._serialized_start=73 _globals['_PROJECT']._serialized_end=160 diff --git a/sdk/python/feast/protos/feast/core/Project_pb2_grpc.py b/sdk/python/feast/protos/feast/core/Project_pb2_grpc.py index 2daafffebfc..327ed6774ee 100644 --- a/sdk/python/feast/protos/feast/core/Project_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Project_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/Project_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/Registry_pb2.py b/sdk/python/feast/protos/feast/core/Registry_pb2.py index 671958d80c7..45864aacaed 100644 --- a/sdk/python/feast/protos/feast/core/Registry_pb2.py +++ b/sdk/python/feast/protos/feast/core/Registry_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/Registry.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/Registry.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -32,10 +42,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Registry_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\rRegistryProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_REGISTRY'].fields_by_name['project_metadata']._options = None + _globals['_REGISTRY'].fields_by_name['project_metadata']._loaded_options = None _globals['_REGISTRY'].fields_by_name['project_metadata']._serialized_options = b'\030\001' _globals['_REGISTRY']._serialized_start=449 _globals['_REGISTRY']._serialized_end=1216 diff --git a/sdk/python/feast/protos/feast/core/Registry_pb2_grpc.py b/sdk/python/feast/protos/feast/core/Registry_pb2_grpc.py index 2daafffebfc..8958fb1bafe 100644 --- a/sdk/python/feast/protos/feast/core/Registry_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Registry_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/Registry_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/SavedDataset_pb2.py b/sdk/python/feast/protos/feast/core/SavedDataset_pb2.py index fe1e2d49eac..fde2a72711b 100644 --- a/sdk/python/feast/protos/feast/core/SavedDataset_pb2.py +++ b/sdk/python/feast/protos/feast/core/SavedDataset_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/SavedDataset.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/SavedDataset.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,10 +31,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.SavedDataset_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\021SavedDatasetProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_SAVEDDATASETSPEC_TAGSENTRY']._options = None + _globals['_SAVEDDATASETSPEC_TAGSENTRY']._loaded_options = None _globals['_SAVEDDATASETSPEC_TAGSENTRY']._serialized_options = b'8\001' _globals['_SAVEDDATASETSPEC']._serialized_start=108 _globals['_SAVEDDATASETSPEC']._serialized_end=401 diff --git a/sdk/python/feast/protos/feast/core/SavedDataset_pb2_grpc.py b/sdk/python/feast/protos/feast/core/SavedDataset_pb2_grpc.py index 2daafffebfc..18e204514bf 100644 --- a/sdk/python/feast/protos/feast/core/SavedDataset_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/SavedDataset_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/SavedDataset_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/SqliteTable_pb2.py b/sdk/python/feast/protos/feast/core/SqliteTable_pb2.py index 8cc14781c72..9696e89b36e 100644 --- a/sdk/python/feast/protos/feast/core/SqliteTable_pb2.py +++ b/sdk/python/feast/protos/feast/core/SqliteTable_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/SqliteTable.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/SqliteTable.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,8 +29,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.SqliteTable_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\020SqliteTableProtoZ/github.com/feast-dev/feast/go/protos/feast/core' _globals['_SQLITETABLE']._serialized_start=44 _globals['_SQLITETABLE']._serialized_end=85 diff --git a/sdk/python/feast/protos/feast/core/SqliteTable_pb2_grpc.py b/sdk/python/feast/protos/feast/core/SqliteTable_pb2_grpc.py index 2daafffebfc..e1facf061bd 100644 --- a/sdk/python/feast/protos/feast/core/SqliteTable_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/SqliteTable_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/SqliteTable_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/Store_pb2.py b/sdk/python/feast/protos/feast/core/Store_pb2.py index 7d24e11947f..3f83a90a31f 100644 --- a/sdk/python/feast/protos/feast/core/Store_pb2.py +++ b/sdk/python/feast/protos/feast/core/Store_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/Store.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/Store.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,8 +29,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Store_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\nStoreProtoZ/github.com/feast-dev/feast/go/protos/feast/core' _globals['_STORE']._serialized_start=39 _globals['_STORE']._serialized_end=932 diff --git a/sdk/python/feast/protos/feast/core/Store_pb2_grpc.py b/sdk/python/feast/protos/feast/core/Store_pb2_grpc.py index 2daafffebfc..31bec458bba 100644 --- a/sdk/python/feast/protos/feast/core/Store_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Store_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/Store_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.py b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.py index ba19088edd6..32e1c4f8e45 100644 --- a/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.py +++ b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/StreamFeatureView.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/StreamFeatureView.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -26,12 +36,12 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.StreamFeatureView_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\026StreamFeatureViewProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_STREAMFEATUREVIEWSPEC_TAGSENTRY']._options = None + _globals['_STREAMFEATUREVIEWSPEC_TAGSENTRY']._loaded_options = None _globals['_STREAMFEATUREVIEWSPEC_TAGSENTRY']._serialized_options = b'8\001' - _globals['_STREAMFEATUREVIEWSPEC'].fields_by_name['user_defined_function']._options = None + _globals['_STREAMFEATUREVIEWSPEC'].fields_by_name['user_defined_function']._loaded_options = None _globals['_STREAMFEATUREVIEWSPEC'].fields_by_name['user_defined_function']._serialized_options = b'\030\001' _globals['_STREAMFEATUREVIEW']._serialized_start=268 _globals['_STREAMFEATUREVIEW']._serialized_end=379 diff --git a/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2_grpc.py b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2_grpc.py index 2daafffebfc..995af6d56bc 100644 --- a/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/StreamFeatureView_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/Transformation_pb2.py b/sdk/python/feast/protos/feast/core/Transformation_pb2.py index 9fd11d3026b..897369886ad 100644 --- a/sdk/python/feast/protos/feast/core/Transformation_pb2.py +++ b/sdk/python/feast/protos/feast/core/Transformation_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/Transformation.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/Transformation.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,8 +29,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Transformation_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\032FeatureTransformationProtoZ/github.com/feast-dev/feast/go/protos/feast/core' _globals['_USERDEFINEDFUNCTIONV2']._serialized_start=47 _globals['_USERDEFINEDFUNCTIONV2']._serialized_end=117 diff --git a/sdk/python/feast/protos/feast/core/Transformation_pb2_grpc.py b/sdk/python/feast/protos/feast/core/Transformation_pb2_grpc.py index 2daafffebfc..5a1dcc17065 100644 --- a/sdk/python/feast/protos/feast/core/Transformation_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Transformation_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/Transformation_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.py b/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.py index 0fb27ceab16..48cbb1140ac 100644 --- a/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.py +++ b/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/core/ValidationProfile.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/core/ValidationProfile.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,10 +29,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.ValidationProfile_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\021ValidationProfileZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_VALIDATIONREFERENCE_TAGSENTRY']._options = None + _globals['_VALIDATIONREFERENCE_TAGSENTRY']._loaded_options = None _globals['_VALIDATIONREFERENCE_TAGSENTRY']._serialized_options = b'8\001' _globals['_GEVALIDATIONPROFILER']._serialized_start=51 _globals['_GEVALIDATIONPROFILER']._serialized_end=182 diff --git a/sdk/python/feast/protos/feast/core/ValidationProfile_pb2_grpc.py b/sdk/python/feast/protos/feast/core/ValidationProfile_pb2_grpc.py index 2daafffebfc..f4839ef7f71 100644 --- a/sdk/python/feast/protos/feast/core/ValidationProfile_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/ValidationProfile_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/core/ValidationProfile_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.py b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.py index 2d5f7b020ab..cfaa3db9734 100644 --- a/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.py +++ b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/registry/RegistryServer.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/registry/RegistryServer.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,30 +43,30 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.registry.RegistryServer_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/feast-dev/feast/go/protos/feast/registry' - _globals['_LISTENTITIESREQUEST_TAGSENTRY']._options = None + _globals['_LISTENTITIESREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTENTITIESREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTDATASOURCESREQUEST_TAGSENTRY']._options = None + _globals['_LISTDATASOURCESREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTDATASOURCESREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTFEATUREVIEWSREQUEST_TAGSENTRY']._options = None + _globals['_LISTFEATUREVIEWSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTFEATUREVIEWSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTALLFEATUREVIEWSREQUEST_TAGSENTRY']._options = None + _globals['_LISTALLFEATUREVIEWSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTALLFEATUREVIEWSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTSTREAMFEATUREVIEWSREQUEST_TAGSENTRY']._options = None + _globals['_LISTSTREAMFEATUREVIEWSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTSTREAMFEATUREVIEWSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTONDEMANDFEATUREVIEWSREQUEST_TAGSENTRY']._options = None + _globals['_LISTONDEMANDFEATUREVIEWSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTONDEMANDFEATUREVIEWSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTFEATURESERVICESREQUEST_TAGSENTRY']._options = None + _globals['_LISTFEATURESERVICESREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTFEATURESERVICESREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTSAVEDDATASETSREQUEST_TAGSENTRY']._options = None + _globals['_LISTSAVEDDATASETSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTSAVEDDATASETSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTVALIDATIONREFERENCESREQUEST_TAGSENTRY']._options = None + _globals['_LISTVALIDATIONREFERENCESREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTVALIDATIONREFERENCESREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTPERMISSIONSREQUEST_TAGSENTRY']._options = None + _globals['_LISTPERMISSIONSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTPERMISSIONSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTPROJECTSREQUEST_TAGSENTRY']._options = None + _globals['_LISTPROJECTSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTPROJECTSREQUEST_TAGSENTRY']._serialized_options = b'8\001' _globals['_REFRESHREQUEST']._serialized_start=487 _globals['_REFRESHREQUEST']._serialized_end=520 diff --git a/sdk/python/feast/protos/feast/registry/RegistryServer_pb2_grpc.py b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2_grpc.py index bab23c4394e..998fba31a7a 100644 --- a/sdk/python/feast/protos/feast/registry/RegistryServer_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2_grpc.py @@ -1,6 +1,7 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from feast.protos.feast.core import DataSource_pb2 as feast_dot_core_dot_DataSource__pb2 from feast.protos.feast.core import Entity_pb2 as feast_dot_core_dot_Entity__pb2 @@ -17,6 +18,25 @@ from feast.protos.feast.registry import RegistryServer_pb2 as feast_dot_registry_dot_RegistryServer__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/registry/RegistryServer_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class RegistryServerStub(object): """Missing associated documentation comment in .proto file.""" @@ -31,227 +51,227 @@ def __init__(self, channel): '/feast.registry.RegistryServer/ApplyEntity', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyEntityRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetEntity = channel.unary_unary( '/feast.registry.RegistryServer/GetEntity', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetEntityRequest.SerializeToString, response_deserializer=feast_dot_core_dot_Entity__pb2.Entity.FromString, - ) + _registered_method=True) self.ListEntities = channel.unary_unary( '/feast.registry.RegistryServer/ListEntities', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListEntitiesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListEntitiesResponse.FromString, - ) + _registered_method=True) self.DeleteEntity = channel.unary_unary( '/feast.registry.RegistryServer/DeleteEntity', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteEntityRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplyDataSource = channel.unary_unary( '/feast.registry.RegistryServer/ApplyDataSource', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyDataSourceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetDataSource = channel.unary_unary( '/feast.registry.RegistryServer/GetDataSource', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetDataSourceRequest.SerializeToString, response_deserializer=feast_dot_core_dot_DataSource__pb2.DataSource.FromString, - ) + _registered_method=True) self.ListDataSources = channel.unary_unary( '/feast.registry.RegistryServer/ListDataSources', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListDataSourcesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListDataSourcesResponse.FromString, - ) + _registered_method=True) self.DeleteDataSource = channel.unary_unary( '/feast.registry.RegistryServer/DeleteDataSource', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteDataSourceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplyFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/ApplyFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyFeatureViewRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.DeleteFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/DeleteFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteFeatureViewRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetAnyFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/GetAnyFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetAnyFeatureViewRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.GetAnyFeatureViewResponse.FromString, - ) + _registered_method=True) self.ListAllFeatureViews = channel.unary_unary( '/feast.registry.RegistryServer/ListAllFeatureViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListAllFeatureViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListAllFeatureViewsResponse.FromString, - ) + _registered_method=True) self.GetFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/GetFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetFeatureViewRequest.SerializeToString, response_deserializer=feast_dot_core_dot_FeatureView__pb2.FeatureView.FromString, - ) + _registered_method=True) self.ListFeatureViews = channel.unary_unary( '/feast.registry.RegistryServer/ListFeatureViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeatureViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeatureViewsResponse.FromString, - ) + _registered_method=True) self.GetStreamFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/GetStreamFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetStreamFeatureViewRequest.SerializeToString, response_deserializer=feast_dot_core_dot_StreamFeatureView__pb2.StreamFeatureView.FromString, - ) + _registered_method=True) self.ListStreamFeatureViews = channel.unary_unary( '/feast.registry.RegistryServer/ListStreamFeatureViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListStreamFeatureViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListStreamFeatureViewsResponse.FromString, - ) + _registered_method=True) self.GetOnDemandFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/GetOnDemandFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetOnDemandFeatureViewRequest.SerializeToString, response_deserializer=feast_dot_core_dot_OnDemandFeatureView__pb2.OnDemandFeatureView.FromString, - ) + _registered_method=True) self.ListOnDemandFeatureViews = channel.unary_unary( '/feast.registry.RegistryServer/ListOnDemandFeatureViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListOnDemandFeatureViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListOnDemandFeatureViewsResponse.FromString, - ) + _registered_method=True) self.ApplyFeatureService = channel.unary_unary( '/feast.registry.RegistryServer/ApplyFeatureService', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyFeatureServiceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetFeatureService = channel.unary_unary( '/feast.registry.RegistryServer/GetFeatureService', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetFeatureServiceRequest.SerializeToString, response_deserializer=feast_dot_core_dot_FeatureService__pb2.FeatureService.FromString, - ) + _registered_method=True) self.ListFeatureServices = channel.unary_unary( '/feast.registry.RegistryServer/ListFeatureServices', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeatureServicesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeatureServicesResponse.FromString, - ) + _registered_method=True) self.DeleteFeatureService = channel.unary_unary( '/feast.registry.RegistryServer/DeleteFeatureService', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteFeatureServiceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplySavedDataset = channel.unary_unary( '/feast.registry.RegistryServer/ApplySavedDataset', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplySavedDatasetRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetSavedDataset = channel.unary_unary( '/feast.registry.RegistryServer/GetSavedDataset', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetSavedDatasetRequest.SerializeToString, response_deserializer=feast_dot_core_dot_SavedDataset__pb2.SavedDataset.FromString, - ) + _registered_method=True) self.ListSavedDatasets = channel.unary_unary( '/feast.registry.RegistryServer/ListSavedDatasets', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListSavedDatasetsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListSavedDatasetsResponse.FromString, - ) + _registered_method=True) self.DeleteSavedDataset = channel.unary_unary( '/feast.registry.RegistryServer/DeleteSavedDataset', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteSavedDatasetRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplyValidationReference = channel.unary_unary( '/feast.registry.RegistryServer/ApplyValidationReference', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyValidationReferenceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetValidationReference = channel.unary_unary( '/feast.registry.RegistryServer/GetValidationReference', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetValidationReferenceRequest.SerializeToString, response_deserializer=feast_dot_core_dot_ValidationProfile__pb2.ValidationReference.FromString, - ) + _registered_method=True) self.ListValidationReferences = channel.unary_unary( '/feast.registry.RegistryServer/ListValidationReferences', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListValidationReferencesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListValidationReferencesResponse.FromString, - ) + _registered_method=True) self.DeleteValidationReference = channel.unary_unary( '/feast.registry.RegistryServer/DeleteValidationReference', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteValidationReferenceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplyPermission = channel.unary_unary( '/feast.registry.RegistryServer/ApplyPermission', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyPermissionRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetPermission = channel.unary_unary( '/feast.registry.RegistryServer/GetPermission', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetPermissionRequest.SerializeToString, response_deserializer=feast_dot_core_dot_Permission__pb2.Permission.FromString, - ) + _registered_method=True) self.ListPermissions = channel.unary_unary( '/feast.registry.RegistryServer/ListPermissions', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListPermissionsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListPermissionsResponse.FromString, - ) + _registered_method=True) self.DeletePermission = channel.unary_unary( '/feast.registry.RegistryServer/DeletePermission', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeletePermissionRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplyProject = channel.unary_unary( '/feast.registry.RegistryServer/ApplyProject', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyProjectRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetProject = channel.unary_unary( '/feast.registry.RegistryServer/GetProject', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetProjectRequest.SerializeToString, response_deserializer=feast_dot_core_dot_Project__pb2.Project.FromString, - ) + _registered_method=True) self.ListProjects = channel.unary_unary( '/feast.registry.RegistryServer/ListProjects', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListProjectsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListProjectsResponse.FromString, - ) + _registered_method=True) self.DeleteProject = channel.unary_unary( '/feast.registry.RegistryServer/DeleteProject', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteProjectRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplyMaterialization = channel.unary_unary( '/feast.registry.RegistryServer/ApplyMaterialization', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyMaterializationRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ListProjectMetadata = channel.unary_unary( '/feast.registry.RegistryServer/ListProjectMetadata', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListProjectMetadataRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListProjectMetadataResponse.FromString, - ) + _registered_method=True) self.UpdateInfra = channel.unary_unary( '/feast.registry.RegistryServer/UpdateInfra', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.UpdateInfraRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetInfra = channel.unary_unary( '/feast.registry.RegistryServer/GetInfra', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetInfraRequest.SerializeToString, response_deserializer=feast_dot_core_dot_InfraObject__pb2.Infra.FromString, - ) + _registered_method=True) self.Commit = channel.unary_unary( '/feast.registry.RegistryServer/Commit', request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.Refresh = channel.unary_unary( '/feast.registry.RegistryServer/Refresh', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.RefreshRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.Proto = channel.unary_unary( '/feast.registry.RegistryServer/Proto', request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, response_deserializer=feast_dot_core_dot_Registry__pb2.Registry.FromString, - ) + _registered_method=True) class RegistryServerServicer(object): @@ -770,6 +790,7 @@ def add_RegistryServerServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'feast.registry.RegistryServer', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('feast.registry.RegistryServer', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -787,11 +808,21 @@ def ApplyEntity(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ApplyEntity', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ApplyEntity', feast_dot_registry_dot_RegistryServer__pb2.ApplyEntityRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetEntity(request, @@ -804,11 +835,21 @@ def GetEntity(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetEntity', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetEntity', feast_dot_registry_dot_RegistryServer__pb2.GetEntityRequest.SerializeToString, feast_dot_core_dot_Entity__pb2.Entity.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListEntities(request, @@ -821,11 +862,21 @@ def ListEntities(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListEntities', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListEntities', feast_dot_registry_dot_RegistryServer__pb2.ListEntitiesRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListEntitiesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteEntity(request, @@ -838,11 +889,21 @@ def DeleteEntity(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/DeleteEntity', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/DeleteEntity', feast_dot_registry_dot_RegistryServer__pb2.DeleteEntityRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ApplyDataSource(request, @@ -855,11 +916,21 @@ def ApplyDataSource(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ApplyDataSource', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ApplyDataSource', feast_dot_registry_dot_RegistryServer__pb2.ApplyDataSourceRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetDataSource(request, @@ -872,11 +943,21 @@ def GetDataSource(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetDataSource', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetDataSource', feast_dot_registry_dot_RegistryServer__pb2.GetDataSourceRequest.SerializeToString, feast_dot_core_dot_DataSource__pb2.DataSource.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListDataSources(request, @@ -889,11 +970,21 @@ def ListDataSources(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListDataSources', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListDataSources', feast_dot_registry_dot_RegistryServer__pb2.ListDataSourcesRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListDataSourcesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteDataSource(request, @@ -906,11 +997,21 @@ def DeleteDataSource(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/DeleteDataSource', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/DeleteDataSource', feast_dot_registry_dot_RegistryServer__pb2.DeleteDataSourceRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ApplyFeatureView(request, @@ -923,11 +1024,21 @@ def ApplyFeatureView(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ApplyFeatureView', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ApplyFeatureView', feast_dot_registry_dot_RegistryServer__pb2.ApplyFeatureViewRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteFeatureView(request, @@ -940,11 +1051,21 @@ def DeleteFeatureView(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/DeleteFeatureView', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/DeleteFeatureView', feast_dot_registry_dot_RegistryServer__pb2.DeleteFeatureViewRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAnyFeatureView(request, @@ -957,11 +1078,21 @@ def GetAnyFeatureView(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetAnyFeatureView', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetAnyFeatureView', feast_dot_registry_dot_RegistryServer__pb2.GetAnyFeatureViewRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.GetAnyFeatureViewResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListAllFeatureViews(request, @@ -974,11 +1105,21 @@ def ListAllFeatureViews(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListAllFeatureViews', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListAllFeatureViews', feast_dot_registry_dot_RegistryServer__pb2.ListAllFeatureViewsRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListAllFeatureViewsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetFeatureView(request, @@ -991,11 +1132,21 @@ def GetFeatureView(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetFeatureView', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetFeatureView', feast_dot_registry_dot_RegistryServer__pb2.GetFeatureViewRequest.SerializeToString, feast_dot_core_dot_FeatureView__pb2.FeatureView.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListFeatureViews(request, @@ -1008,11 +1159,21 @@ def ListFeatureViews(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListFeatureViews', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListFeatureViews', feast_dot_registry_dot_RegistryServer__pb2.ListFeatureViewsRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListFeatureViewsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetStreamFeatureView(request, @@ -1025,11 +1186,21 @@ def GetStreamFeatureView(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetStreamFeatureView', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetStreamFeatureView', feast_dot_registry_dot_RegistryServer__pb2.GetStreamFeatureViewRequest.SerializeToString, feast_dot_core_dot_StreamFeatureView__pb2.StreamFeatureView.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListStreamFeatureViews(request, @@ -1042,11 +1213,21 @@ def ListStreamFeatureViews(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListStreamFeatureViews', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListStreamFeatureViews', feast_dot_registry_dot_RegistryServer__pb2.ListStreamFeatureViewsRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListStreamFeatureViewsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetOnDemandFeatureView(request, @@ -1059,11 +1240,21 @@ def GetOnDemandFeatureView(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetOnDemandFeatureView', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetOnDemandFeatureView', feast_dot_registry_dot_RegistryServer__pb2.GetOnDemandFeatureViewRequest.SerializeToString, feast_dot_core_dot_OnDemandFeatureView__pb2.OnDemandFeatureView.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListOnDemandFeatureViews(request, @@ -1076,11 +1267,21 @@ def ListOnDemandFeatureViews(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListOnDemandFeatureViews', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListOnDemandFeatureViews', feast_dot_registry_dot_RegistryServer__pb2.ListOnDemandFeatureViewsRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListOnDemandFeatureViewsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ApplyFeatureService(request, @@ -1093,11 +1294,21 @@ def ApplyFeatureService(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ApplyFeatureService', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ApplyFeatureService', feast_dot_registry_dot_RegistryServer__pb2.ApplyFeatureServiceRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetFeatureService(request, @@ -1110,11 +1321,21 @@ def GetFeatureService(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetFeatureService', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetFeatureService', feast_dot_registry_dot_RegistryServer__pb2.GetFeatureServiceRequest.SerializeToString, feast_dot_core_dot_FeatureService__pb2.FeatureService.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListFeatureServices(request, @@ -1127,11 +1348,21 @@ def ListFeatureServices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListFeatureServices', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListFeatureServices', feast_dot_registry_dot_RegistryServer__pb2.ListFeatureServicesRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListFeatureServicesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteFeatureService(request, @@ -1144,11 +1375,21 @@ def DeleteFeatureService(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/DeleteFeatureService', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/DeleteFeatureService', feast_dot_registry_dot_RegistryServer__pb2.DeleteFeatureServiceRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ApplySavedDataset(request, @@ -1161,11 +1402,21 @@ def ApplySavedDataset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ApplySavedDataset', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ApplySavedDataset', feast_dot_registry_dot_RegistryServer__pb2.ApplySavedDatasetRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetSavedDataset(request, @@ -1178,11 +1429,21 @@ def GetSavedDataset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetSavedDataset', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetSavedDataset', feast_dot_registry_dot_RegistryServer__pb2.GetSavedDatasetRequest.SerializeToString, feast_dot_core_dot_SavedDataset__pb2.SavedDataset.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListSavedDatasets(request, @@ -1195,11 +1456,21 @@ def ListSavedDatasets(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListSavedDatasets', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListSavedDatasets', feast_dot_registry_dot_RegistryServer__pb2.ListSavedDatasetsRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListSavedDatasetsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteSavedDataset(request, @@ -1212,11 +1483,21 @@ def DeleteSavedDataset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/DeleteSavedDataset', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/DeleteSavedDataset', feast_dot_registry_dot_RegistryServer__pb2.DeleteSavedDatasetRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ApplyValidationReference(request, @@ -1229,11 +1510,21 @@ def ApplyValidationReference(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ApplyValidationReference', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ApplyValidationReference', feast_dot_registry_dot_RegistryServer__pb2.ApplyValidationReferenceRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetValidationReference(request, @@ -1246,11 +1537,21 @@ def GetValidationReference(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetValidationReference', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetValidationReference', feast_dot_registry_dot_RegistryServer__pb2.GetValidationReferenceRequest.SerializeToString, feast_dot_core_dot_ValidationProfile__pb2.ValidationReference.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListValidationReferences(request, @@ -1263,11 +1564,21 @@ def ListValidationReferences(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListValidationReferences', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListValidationReferences', feast_dot_registry_dot_RegistryServer__pb2.ListValidationReferencesRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListValidationReferencesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteValidationReference(request, @@ -1280,11 +1591,21 @@ def DeleteValidationReference(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/DeleteValidationReference', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/DeleteValidationReference', feast_dot_registry_dot_RegistryServer__pb2.DeleteValidationReferenceRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ApplyPermission(request, @@ -1297,11 +1618,21 @@ def ApplyPermission(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ApplyPermission', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ApplyPermission', feast_dot_registry_dot_RegistryServer__pb2.ApplyPermissionRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetPermission(request, @@ -1314,11 +1645,21 @@ def GetPermission(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetPermission', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetPermission', feast_dot_registry_dot_RegistryServer__pb2.GetPermissionRequest.SerializeToString, feast_dot_core_dot_Permission__pb2.Permission.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListPermissions(request, @@ -1331,11 +1672,21 @@ def ListPermissions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListPermissions', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListPermissions', feast_dot_registry_dot_RegistryServer__pb2.ListPermissionsRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListPermissionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeletePermission(request, @@ -1348,11 +1699,21 @@ def DeletePermission(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/DeletePermission', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/DeletePermission', feast_dot_registry_dot_RegistryServer__pb2.DeletePermissionRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ApplyProject(request, @@ -1365,11 +1726,21 @@ def ApplyProject(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ApplyProject', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ApplyProject', feast_dot_registry_dot_RegistryServer__pb2.ApplyProjectRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetProject(request, @@ -1382,11 +1753,21 @@ def GetProject(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetProject', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetProject', feast_dot_registry_dot_RegistryServer__pb2.GetProjectRequest.SerializeToString, feast_dot_core_dot_Project__pb2.Project.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListProjects(request, @@ -1399,11 +1780,21 @@ def ListProjects(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListProjects', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListProjects', feast_dot_registry_dot_RegistryServer__pb2.ListProjectsRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListProjectsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteProject(request, @@ -1416,11 +1807,21 @@ def DeleteProject(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/DeleteProject', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/DeleteProject', feast_dot_registry_dot_RegistryServer__pb2.DeleteProjectRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ApplyMaterialization(request, @@ -1433,11 +1834,21 @@ def ApplyMaterialization(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ApplyMaterialization', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ApplyMaterialization', feast_dot_registry_dot_RegistryServer__pb2.ApplyMaterializationRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ListProjectMetadata(request, @@ -1450,11 +1861,21 @@ def ListProjectMetadata(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListProjectMetadata', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListProjectMetadata', feast_dot_registry_dot_RegistryServer__pb2.ListProjectMetadataRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListProjectMetadataResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def UpdateInfra(request, @@ -1467,11 +1888,21 @@ def UpdateInfra(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/UpdateInfra', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/UpdateInfra', feast_dot_registry_dot_RegistryServer__pb2.UpdateInfraRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetInfra(request, @@ -1484,11 +1915,21 @@ def GetInfra(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetInfra', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetInfra', feast_dot_registry_dot_RegistryServer__pb2.GetInfraRequest.SerializeToString, feast_dot_core_dot_InfraObject__pb2.Infra.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Commit(request, @@ -1501,11 +1942,21 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/Commit', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/Commit', google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Refresh(request, @@ -1518,11 +1969,21 @@ def Refresh(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/Refresh', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/Refresh', feast_dot_registry_dot_RegistryServer__pb2.RefreshRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Proto(request, @@ -1535,8 +1996,18 @@ def Proto(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/Proto', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/Proto', google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, feast_dot_core_dot_Registry__pb2.Registry.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/sdk/python/feast/protos/feast/serving/Connector_pb2.py b/sdk/python/feast/protos/feast/serving/Connector_pb2.py index b38471dea8d..11627e215ba 100644 --- a/sdk/python/feast/protos/feast/serving/Connector_pb2.py +++ b/sdk/python/feast/protos/feast/serving/Connector_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/serving/Connector.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/serving/Connector.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -23,8 +33,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.serving.Connector_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'Z2github.com/feast-dev/feast/go/protos/feast/serving' _globals['_CONNECTORFEATURE']._serialized_start=173 _globals['_CONNECTORFEATURE']._serialized_end=327 diff --git a/sdk/python/feast/protos/feast/serving/Connector_pb2_grpc.py b/sdk/python/feast/protos/feast/serving/Connector_pb2_grpc.py index dfadf982dd8..181d1968bd7 100644 --- a/sdk/python/feast/protos/feast/serving/Connector_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/Connector_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from feast.protos.feast.serving import Connector_pb2 as feast_dot_serving_dot_Connector__pb2 +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/serving/Connector_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class OnlineStoreStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,7 +38,7 @@ def __init__(self, channel): '/grpc.connector.OnlineStore/OnlineRead', request_serializer=feast_dot_serving_dot_Connector__pb2.OnlineReadRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_Connector__pb2.OnlineReadResponse.FromString, - ) + _registered_method=True) class OnlineStoreServicer(object): @@ -42,6 +62,7 @@ def add_OnlineStoreServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'grpc.connector.OnlineStore', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('grpc.connector.OnlineStore', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -59,8 +80,18 @@ def OnlineRead(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/grpc.connector.OnlineStore/OnlineRead', + return grpc.experimental.unary_unary( + request, + target, + '/grpc.connector.OnlineStore/OnlineRead', feast_dot_serving_dot_Connector__pb2.OnlineReadRequest.SerializeToString, feast_dot_serving_dot_Connector__pb2.OnlineReadResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py index ce4db37a658..a262fccddba 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/serving/GrpcServer.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/serving/GrpcServer.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,12 +30,12 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.serving.GrpcServer_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'Z2github.com/feast-dev/feast/go/protos/feast/serving' - _globals['_PUSHREQUEST_FEATURESENTRY']._options = None + _globals['_PUSHREQUEST_FEATURESENTRY']._loaded_options = None _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_options = b'8\001' - _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._options = None + _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._loaded_options = None _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_options = b'8\001' _globals['_PUSHREQUEST']._serialized_start=71 _globals['_PUSHREQUEST']._serialized_end=250 diff --git a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2_grpc.py b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2_grpc.py index b381cc0f417..baa3859fbab 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2_grpc.py @@ -1,10 +1,30 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from feast.protos.feast.serving import GrpcServer_pb2 as feast_dot_serving_dot_GrpcServer__pb2 from feast.protos.feast.serving import ServingService_pb2 as feast_dot_serving_dot_ServingService__pb2 +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/serving/GrpcServer_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class GrpcFeatureServerStub(object): """Missing associated documentation comment in .proto file.""" @@ -19,17 +39,17 @@ def __init__(self, channel): '/GrpcFeatureServer/Push', request_serializer=feast_dot_serving_dot_GrpcServer__pb2.PushRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_GrpcServer__pb2.PushResponse.FromString, - ) + _registered_method=True) self.WriteToOnlineStore = channel.unary_unary( '/GrpcFeatureServer/WriteToOnlineStore', request_serializer=feast_dot_serving_dot_GrpcServer__pb2.WriteToOnlineStoreRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_GrpcServer__pb2.WriteToOnlineStoreResponse.FromString, - ) + _registered_method=True) self.GetOnlineFeatures = channel.unary_unary( '/GrpcFeatureServer/GetOnlineFeatures', request_serializer=feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesResponse.FromString, - ) + _registered_method=True) class GrpcFeatureServerServicer(object): @@ -75,6 +95,7 @@ def add_GrpcFeatureServerServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'GrpcFeatureServer', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('GrpcFeatureServer', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -92,11 +113,21 @@ def Push(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/GrpcFeatureServer/Push', + return grpc.experimental.unary_unary( + request, + target, + '/GrpcFeatureServer/Push', feast_dot_serving_dot_GrpcServer__pb2.PushRequest.SerializeToString, feast_dot_serving_dot_GrpcServer__pb2.PushResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteToOnlineStore(request, @@ -109,11 +140,21 @@ def WriteToOnlineStore(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/GrpcFeatureServer/WriteToOnlineStore', + return grpc.experimental.unary_unary( + request, + target, + '/GrpcFeatureServer/WriteToOnlineStore', feast_dot_serving_dot_GrpcServer__pb2.WriteToOnlineStoreRequest.SerializeToString, feast_dot_serving_dot_GrpcServer__pb2.WriteToOnlineStoreResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetOnlineFeatures(request, @@ -126,8 +167,18 @@ def GetOnlineFeatures(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/GrpcFeatureServer/GetOnlineFeatures', + return grpc.experimental.unary_unary( + request, + target, + '/GrpcFeatureServer/GetOnlineFeatures', feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesRequest.SerializeToString, feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/sdk/python/feast/protos/feast/serving/ServingService_pb2.py b/sdk/python/feast/protos/feast/serving/ServingService_pb2.py index fa866640577..f0b6d855d6f 100644 --- a/sdk/python/feast/protos/feast/serving/ServingService_pb2.py +++ b/sdk/python/feast/protos/feast/serving/ServingService_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/serving/ServingService.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/serving/ServingService.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,14 +31,14 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.serving.ServingService_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\023feast.proto.servingB\017ServingAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/serving' - _globals['_GETONLINEFEATURESREQUESTV2_ENTITYROW_FIELDSENTRY']._options = None + _globals['_GETONLINEFEATURESREQUESTV2_ENTITYROW_FIELDSENTRY']._loaded_options = None _globals['_GETONLINEFEATURESREQUESTV2_ENTITYROW_FIELDSENTRY']._serialized_options = b'8\001' - _globals['_GETONLINEFEATURESREQUEST_ENTITIESENTRY']._options = None + _globals['_GETONLINEFEATURESREQUEST_ENTITIESENTRY']._loaded_options = None _globals['_GETONLINEFEATURESREQUEST_ENTITIESENTRY']._serialized_options = b'8\001' - _globals['_GETONLINEFEATURESREQUEST_REQUESTCONTEXTENTRY']._options = None + _globals['_GETONLINEFEATURESREQUEST_REQUESTCONTEXTENTRY']._loaded_options = None _globals['_GETONLINEFEATURESREQUEST_REQUESTCONTEXTENTRY']._serialized_options = b'8\001' _globals['_FIELDSTATUS']._serialized_start=1560 _globals['_FIELDSTATUS']._serialized_end=1651 diff --git a/sdk/python/feast/protos/feast/serving/ServingService_pb2_grpc.py b/sdk/python/feast/protos/feast/serving/ServingService_pb2_grpc.py index d3cd055f665..26fa802c61f 100644 --- a/sdk/python/feast/protos/feast/serving/ServingService_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/ServingService_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from feast.protos.feast.serving import ServingService_pb2 as feast_dot_serving_dot_ServingService__pb2 +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/serving/ServingService_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class ServingServiceStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,12 +38,12 @@ def __init__(self, channel): '/feast.serving.ServingService/GetFeastServingInfo', request_serializer=feast_dot_serving_dot_ServingService__pb2.GetFeastServingInfoRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_ServingService__pb2.GetFeastServingInfoResponse.FromString, - ) + _registered_method=True) self.GetOnlineFeatures = channel.unary_unary( '/feast.serving.ServingService/GetOnlineFeatures', request_serializer=feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesResponse.FromString, - ) + _registered_method=True) class ServingServiceServicer(object): @@ -60,6 +80,7 @@ def add_ServingServiceServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'feast.serving.ServingService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('feast.serving.ServingService', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -77,11 +98,21 @@ def GetFeastServingInfo(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.serving.ServingService/GetFeastServingInfo', + return grpc.experimental.unary_unary( + request, + target, + '/feast.serving.ServingService/GetFeastServingInfo', feast_dot_serving_dot_ServingService__pb2.GetFeastServingInfoRequest.SerializeToString, feast_dot_serving_dot_ServingService__pb2.GetFeastServingInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetOnlineFeatures(request, @@ -94,8 +125,18 @@ def GetOnlineFeatures(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.serving.ServingService/GetOnlineFeatures', + return grpc.experimental.unary_unary( + request, + target, + '/feast.serving.ServingService/GetOnlineFeatures', feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesRequest.SerializeToString, feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/sdk/python/feast/protos/feast/serving/TransformationService_pb2.py b/sdk/python/feast/protos/feast/serving/TransformationService_pb2.py index bc060e9a776..08ce288fafb 100644 --- a/sdk/python/feast/protos/feast/serving/TransformationService_pb2.py +++ b/sdk/python/feast/protos/feast/serving/TransformationService_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/serving/TransformationService.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/serving/TransformationService.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,8 +29,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.serving.TransformationService_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\023feast.proto.servingB\035TransformationServiceAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/serving' _globals['_TRANSFORMATIONSERVICETYPE']._serialized_start=529 _globals['_TRANSFORMATIONSERVICETYPE']._serialized_end=677 diff --git a/sdk/python/feast/protos/feast/serving/TransformationService_pb2_grpc.py b/sdk/python/feast/protos/feast/serving/TransformationService_pb2_grpc.py index 30099e39cae..6fabaec1149 100644 --- a/sdk/python/feast/protos/feast/serving/TransformationService_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/TransformationService_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from feast.protos.feast.serving import TransformationService_pb2 as feast_dot_serving_dot_TransformationService__pb2 +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/serving/TransformationService_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class TransformationServiceStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,12 +38,12 @@ def __init__(self, channel): '/feast.serving.TransformationService/GetTransformationServiceInfo', request_serializer=feast_dot_serving_dot_TransformationService__pb2.GetTransformationServiceInfoRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_TransformationService__pb2.GetTransformationServiceInfoResponse.FromString, - ) + _registered_method=True) self.TransformFeatures = channel.unary_unary( '/feast.serving.TransformationService/TransformFeatures', request_serializer=feast_dot_serving_dot_TransformationService__pb2.TransformFeaturesRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_TransformationService__pb2.TransformFeaturesResponse.FromString, - ) + _registered_method=True) class TransformationServiceServicer(object): @@ -58,6 +78,7 @@ def add_TransformationServiceServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'feast.serving.TransformationService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('feast.serving.TransformationService', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -75,11 +96,21 @@ def GetTransformationServiceInfo(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.serving.TransformationService/GetTransformationServiceInfo', + return grpc.experimental.unary_unary( + request, + target, + '/feast.serving.TransformationService/GetTransformationServiceInfo', feast_dot_serving_dot_TransformationService__pb2.GetTransformationServiceInfoRequest.SerializeToString, feast_dot_serving_dot_TransformationService__pb2.GetTransformationServiceInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def TransformFeatures(request, @@ -92,8 +123,18 @@ def TransformFeatures(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.serving.TransformationService/TransformFeatures', + return grpc.experimental.unary_unary( + request, + target, + '/feast.serving.TransformationService/TransformFeatures', feast_dot_serving_dot_TransformationService__pb2.TransformFeaturesRequest.SerializeToString, feast_dot_serving_dot_TransformationService__pb2.TransformFeaturesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/sdk/python/feast/protos/feast/storage/Redis_pb2.py b/sdk/python/feast/protos/feast/storage/Redis_pb2.py index 37d59c9df5a..91d8710959b 100644 --- a/sdk/python/feast/protos/feast/storage/Redis_pb2.py +++ b/sdk/python/feast/protos/feast/storage/Redis_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/storage/Redis.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/storage/Redis.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,8 +30,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.storage.Redis_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\023feast.proto.storageB\nRedisProtoZ2github.com/feast-dev/feast/go/protos/feast/storage' _globals['_REDISKEYV2']._serialized_start=69 _globals['_REDISKEYV2']._serialized_end=163 diff --git a/sdk/python/feast/protos/feast/storage/Redis_pb2_grpc.py b/sdk/python/feast/protos/feast/storage/Redis_pb2_grpc.py index 2daafffebfc..fb3584ee10c 100644 --- a/sdk/python/feast/protos/feast/storage/Redis_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/storage/Redis_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/storage/Redis_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/types/EntityKey_pb2.py b/sdk/python/feast/protos/feast/types/EntityKey_pb2.py index a6e1abf7302..b42c50dcee6 100644 --- a/sdk/python/feast/protos/feast/types/EntityKey_pb2.py +++ b/sdk/python/feast/protos/feast/types/EntityKey_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/types/EntityKey.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/types/EntityKey.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,8 +30,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.types.EntityKey_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\021feast.proto.typesB\016EntityKeyProtoZ0github.com/feast-dev/feast/go/protos/feast/types' _globals['_ENTITYKEY']._serialized_start=69 _globals['_ENTITYKEY']._serialized_end=142 diff --git a/sdk/python/feast/protos/feast/types/EntityKey_pb2_grpc.py b/sdk/python/feast/protos/feast/types/EntityKey_pb2_grpc.py index 2daafffebfc..74496ae7c2f 100644 --- a/sdk/python/feast/protos/feast/types/EntityKey_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/types/EntityKey_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/types/EntityKey_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/types/Field_pb2.py b/sdk/python/feast/protos/feast/types/Field_pb2.py index 973fdc6cdea..ed3032c6cad 100644 --- a/sdk/python/feast/protos/feast/types/Field_pb2.py +++ b/sdk/python/feast/protos/feast/types/Field_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/types/Field.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/types/Field.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,10 +30,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.types.Field_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\021feast.proto.typesB\nFieldProtoZ0github.com/feast-dev/feast/go/protos/feast/types' - _globals['_FIELD_TAGSENTRY']._options = None + _globals['_FIELD_TAGSENTRY']._loaded_options = None _globals['_FIELD_TAGSENTRY']._serialized_options = b'8\001' _globals['_FIELD']._serialized_start=66 _globals['_FIELD']._serialized_end=241 diff --git a/sdk/python/feast/protos/feast/types/Field_pb2_grpc.py b/sdk/python/feast/protos/feast/types/Field_pb2_grpc.py index 2daafffebfc..c0a219becab 100644 --- a/sdk/python/feast/protos/feast/types/Field_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/types/Field_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/types/Field_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/types/Value_pb2.py b/sdk/python/feast/protos/feast/types/Value_pb2.py index 18ee3311808..d1f755efea1 100644 --- a/sdk/python/feast/protos/feast/types/Value_pb2.py +++ b/sdk/python/feast/protos/feast/types/Value_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: feast/types/Value.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'feast/types/Value.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,8 +29,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.types.Value_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\021feast.proto.typesB\nValueProtoZ0github.com/feast-dev/feast/go/protos/feast/types' _globals['_NULL']._serialized_start=1200 _globals['_NULL']._serialized_end=1216 diff --git a/sdk/python/feast/protos/feast/types/Value_pb2_grpc.py b/sdk/python/feast/protos/feast/types/Value_pb2_grpc.py index 2daafffebfc..cf2e09a3cae 100644 --- a/sdk/python/feast/protos/feast/types/Value_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/types/Value_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.71.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in feast/types/Value_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/tests/unit/test_on_demand_python_transformation.py b/sdk/python/tests/unit/test_on_demand_python_transformation.py index 1c0617a16c1..45776dad0d0 100644 --- a/sdk/python/tests/unit/test_on_demand_python_transformation.py +++ b/sdk/python/tests/unit/test_on_demand_python_transformation.py @@ -1126,8 +1126,7 @@ def test_stored_writes_with_explode(self): provider="local", entity_key_serialization_version=3, online_store=SqliteOnlineStoreConfig( - path=os.path.join(data_dir, "online.db"), - vector_enabled=True + path=os.path.join(data_dir, "online.db"), vector_enabled=True ), ) ) From b4742f64e4b0cb5875a92afd6da0a6e1baad62f8 Mon Sep 17 00:00:00 2001 From: jyejare Date: Wed, 23 Apr 2025 14:09:37 +0530 Subject: [PATCH 09/10] Vector len param renamed to Vector length Signed-off-by: jyejare --- docs/reference/online-stores/elasticsearch.md | 1 - docs/reference/online-stores/postgres.md | 3 +-- docs/reference/online-stores/qdrant.md | 1 - protos/feast/core/Feature.proto | 2 +- sdk/python/feast/feature_store.py | 7 +++---- sdk/python/feast/field.py | 18 +++++++++--------- .../elasticsearch.py | 2 +- .../qdrant_online_store/qdrant.py | 2 +- sdk/python/feast/infra/online_stores/sqlite.py | 6 +++--- .../feast/protos/feast/core/Feature_pb2.py | 8 ++++---- .../feast/protos/feast/core/Feature_pb2.pyi | 8 ++++---- .../example_repos/example_feature_repo_1.py | 2 +- .../universal/online_store/elasticsearch.py | 2 +- .../universal/online_store/qdrant.py | 2 +- .../test_on_demand_python_transformation.py | 6 +++--- 15 files changed, 33 insertions(+), 37 deletions(-) diff --git a/docs/reference/online-stores/elasticsearch.md b/docs/reference/online-stores/elasticsearch.md index 993a131affd..22874dedfd9 100644 --- a/docs/reference/online-stores/elasticsearch.md +++ b/docs/reference/online-stores/elasticsearch.md @@ -21,7 +21,6 @@ online_store: port: ES_PORT user: ES_USERNAME password: ES_PASSWORD - vector_len: 512 write_batch_size: 1000 ``` {% endcode %} diff --git a/docs/reference/online-stores/postgres.md b/docs/reference/online-stores/postgres.md index 53feaff3dfe..fb2253d043e 100644 --- a/docs/reference/online-stores/postgres.md +++ b/docs/reference/online-stores/postgres.md @@ -31,7 +31,6 @@ online_store: sslcert_path: /path/to/client-cert.pem sslrootcert_path: /path/to/server-ca.pem vector_enabled: false - vector_len: 512 ``` {% endcode %} @@ -67,7 +66,7 @@ To compare this set of functionality against other online stores, please see the The Postgres online store supports the use of [PGVector](https://github.com/pgvector/pgvector) for storing feature values. To enable PGVector, set `vector_enabled: true` in the online store configuration. -The `vector_len` parameter can be used to specify the length of the vector. The default value is 512. +The `vector_length` parameter can be used to specify the length of the vector in the Field. Please make sure to follow the instructions in the repository, which, as the time of this writing, requires you to run `CREATE EXTENSION vector;` in the database. diff --git a/docs/reference/online-stores/qdrant.md b/docs/reference/online-stores/qdrant.md index 18ddbb7fc0d..54c4c80517c 100644 --- a/docs/reference/online-stores/qdrant.md +++ b/docs/reference/online-stores/qdrant.md @@ -20,7 +20,6 @@ online_store: type: qdrant host: localhost port: 6333 - vector_len: 384 write_batch_size: 100 ``` diff --git a/protos/feast/core/Feature.proto b/protos/feast/core/Feature.proto index aafe2d9f8ef..9f7708c65e7 100644 --- a/protos/feast/core/Feature.proto +++ b/protos/feast/core/Feature.proto @@ -44,5 +44,5 @@ message FeatureSpecV2 { string vector_search_metric = 6; // Field indicating the vector length - int32 vector_len = 7; + int32 vector_length = 7; } diff --git a/sdk/python/feast/feature_store.py b/sdk/python/feast/feature_store.py index b2b28c0cd94..32bff5f793e 100644 --- a/sdk/python/feast/feature_store.py +++ b/sdk/python/feast/feature_store.py @@ -855,7 +855,6 @@ def apply( if not isinstance(objects, Iterable): objects = [objects] assert isinstance(objects, list) - if not objects_to_delete: objects_to_delete = [] @@ -1557,13 +1556,13 @@ def _get_feature_view_and_df_for_online_write( if feature_view.features[0].vector_index and df is not None: fv_vector_feature_name = feature_view.features[0].name df_vector_feature_index = df.columns.get_loc(fv_vector_feature_name) - if feature_view.features[0].vector_len != 0: + if feature_view.features[0].vector_length != 0: if ( df.shape[df_vector_feature_index] - > feature_view.features[0].vector_len + > feature_view.features[0].vector_length ): raise ValueError( - f"The dataframe for {fv_vector_feature_name} column has {df.shape[1]} vectors which is greater than expected (i.e {feature_view.features[0].vector_len}) by feature view {feature_view.name}." + f"The dataframe for {fv_vector_feature_name} column has {df.shape[1]} vectors which is greater than expected (i.e {feature_view.features[0].vector_length}) by feature view {feature_view.name}." ) # # Apply transformations if this is an OnDemandFeatureView with write_to_online_store=True diff --git a/sdk/python/feast/field.py b/sdk/python/feast/field.py index 57eed4125d6..27552878afc 100644 --- a/sdk/python/feast/field.py +++ b/sdk/python/feast/field.py @@ -33,7 +33,7 @@ class Field: description: A human-readable description. tags: User-defined metadata in dictionary form. vector_index: If set to True the field will be indexed for vector similarity search. - vector_len: The length of the vector if the vector index is set to True. + vector_length: The length of the vector if the vector index is set to True. vector_search_metric: The metric used for vector similarity search. """ @@ -42,7 +42,7 @@ class Field: description: str tags: Dict[str, str] vector_index: bool - vector_len: int + vector_length: int vector_search_metric: Optional[str] def __init__( @@ -53,7 +53,7 @@ def __init__( description: str = "", tags: Optional[Dict[str, str]] = None, vector_index: bool = False, - vector_len: int = 0, + vector_length: int = 0, vector_search_metric: Optional[str] = None, ): """ @@ -72,7 +72,7 @@ def __init__( self.description = description self.tags = tags or {} self.vector_index = vector_index - self.vector_len = vector_len + self.vector_length = vector_length self.vector_search_metric = vector_search_metric def __eq__(self, other): @@ -84,7 +84,7 @@ def __eq__(self, other): or self.dtype != other.dtype or self.description != other.description or self.tags != other.tags - or self.vector_len != other.vector_len + or self.vector_length != other.vector_length # or self.vector_index != other.vector_index # or self.vector_search_metric != other.vector_search_metric ): @@ -105,7 +105,7 @@ def __repr__(self): f" description={self.description!r},\n" f" tags={self.tags!r}\n" f" vector_index={self.vector_index!r}\n" - f" vector_len={self.vector_len!r}\n" + f" vector_length={self.vector_length!r}\n" f" vector_search_metric={self.vector_search_metric!r}\n" f")" ) @@ -123,7 +123,7 @@ def to_proto(self) -> FieldProto: description=self.description, tags=self.tags, vector_index=self.vector_index, - vector_len=self.vector_len, + vector_length=self.vector_length, vector_search_metric=vector_search_metric, ) @@ -138,14 +138,14 @@ def from_proto(cls, field_proto: FieldProto): value_type = ValueType(field_proto.value_type) vector_search_metric = getattr(field_proto, "vector_search_metric", "") vector_index = getattr(field_proto, "vector_index", False) - vector_len = getattr(field_proto, "vector_len", 0) + vector_length = getattr(field_proto, "vector_length", 0) return cls( name=field_proto.name, dtype=from_value_type(value_type=value_type), tags=dict(field_proto.tags), description=field_proto.description, vector_index=vector_index, - vector_len=vector_len, + vector_length=vector_length, vector_search_metric=vector_search_metric, ) diff --git a/sdk/python/feast/infra/online_stores/elasticsearch_online_store/elasticsearch.py b/sdk/python/feast/infra/online_stores/elasticsearch_online_store/elasticsearch.py index 7e52f85e589..4080e4932c0 100644 --- a/sdk/python/feast/infra/online_stores/elasticsearch_online_store/elasticsearch.py +++ b/sdk/python/feast/infra/online_stores/elasticsearch_online_store/elasticsearch.py @@ -166,7 +166,7 @@ def create_index(self, config: RepoConfig, table: FeatureView): table: FeatureView table for which the index needs to be created. """ vector_field_length = getattr( - _get_feature_view_vector_field_metadata(table), "vector_len", 512 + _get_feature_view_vector_field_metadata(table), "vector_length", 512 ) index_mapping = { diff --git a/sdk/python/feast/infra/online_stores/qdrant_online_store/qdrant.py b/sdk/python/feast/infra/online_stores/qdrant_online_store/qdrant.py index aa03f1be501..29a6edf30ad 100644 --- a/sdk/python/feast/infra/online_stores/qdrant_online_store/qdrant.py +++ b/sdk/python/feast/infra/online_stores/qdrant_online_store/qdrant.py @@ -203,7 +203,7 @@ def create_collection(self, config: RepoConfig, table: FeatureView): """ vector_field_length = getattr( - _get_feature_view_vector_field_metadata(table), "vector_len", 512 + _get_feature_view_vector_field_metadata(table), "vector_length", 512 ) client: QdrantClient = self._get_client(config) diff --git a/sdk/python/feast/infra/online_stores/sqlite.py b/sdk/python/feast/infra/online_stores/sqlite.py index 58e665c5463..a5c8397e0d3 100644 --- a/sdk/python/feast/infra/online_stores/sqlite.py +++ b/sdk/python/feast/infra/online_stores/sqlite.py @@ -173,7 +173,7 @@ def online_write_batch( ): vector_field_length = getattr( _get_feature_view_vector_field_metadata(table), - "vector_len", + "vector_length", 512, ) val_bin = serialize_f32( @@ -360,7 +360,7 @@ def retrieve_online_documents( cur = conn.cursor() vector_field_length = getattr( - _get_feature_view_vector_field_metadata(table), "vector_len", 512 + _get_feature_view_vector_field_metadata(table), "vector_length", 512 ) # Convert the embedding to a binary format instead of using SerializeToString() @@ -486,7 +486,7 @@ def retrieve_online_documents_v2( cur = conn.cursor() vector_field_length = getattr( - _get_feature_view_vector_field_metadata(table), "vector_len", 512 + _get_feature_view_vector_field_metadata(table), "vector_length", 512 ) table_name = _table_id(config.project, table) diff --git a/sdk/python/feast/protos/feast/core/Feature_pb2.py b/sdk/python/feast/protos/feast/core/Feature_pb2.py index 32bbcbacc06..6a2c4e15b4d 100644 --- a/sdk/python/feast/protos/feast/core/Feature_pb2.py +++ b/sdk/python/feast/protos/feast/core/Feature_pb2.py @@ -25,7 +25,7 @@ from feast.protos.feast.types import Value_pb2 as feast_dot_types_dot_Value__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x66\x65\x61st/core/Feature.proto\x12\nfeast.core\x1a\x17\x66\x65\x61st/types/Value.proto\"\x8b\x02\n\rFeatureSpecV2\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\nvalue_type\x18\x02 \x01(\x0e\x32\x1b.feast.types.ValueType.Enum\x12\x31\n\x04tags\x18\x03 \x03(\x0b\x32#.feast.core.FeatureSpecV2.TagsEntry\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x14\n\x0cvector_index\x18\x05 \x01(\x08\x12\x1c\n\x14vector_search_metric\x18\x06 \x01(\t\x12\x12\n\nvector_len\x18\x07 \x01(\x05\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42Q\n\x10\x66\x65\x61st.proto.coreB\x0c\x46\x65\x61tureProtoZ/github.com/feast-dev/feast/go/protos/feast/coreb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x66\x65\x61st/core/Feature.proto\x12\nfeast.core\x1a\x17\x66\x65\x61st/types/Value.proto\"\x8e\x02\n\rFeatureSpecV2\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\nvalue_type\x18\x02 \x01(\x0e\x32\x1b.feast.types.ValueType.Enum\x12\x31\n\x04tags\x18\x03 \x03(\x0b\x32#.feast.core.FeatureSpecV2.TagsEntry\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x14\n\x0cvector_index\x18\x05 \x01(\x08\x12\x1c\n\x14vector_search_metric\x18\x06 \x01(\t\x12\x15\n\rvector_length\x18\x07 \x01(\x05\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42Q\n\x10\x66\x65\x61st.proto.coreB\x0c\x46\x65\x61tureProtoZ/github.com/feast-dev/feast/go/protos/feast/coreb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -36,7 +36,7 @@ _globals['_FEATURESPECV2_TAGSENTRY']._loaded_options = None _globals['_FEATURESPECV2_TAGSENTRY']._serialized_options = b'8\001' _globals['_FEATURESPECV2']._serialized_start=66 - _globals['_FEATURESPECV2']._serialized_end=333 - _globals['_FEATURESPECV2_TAGSENTRY']._serialized_start=290 - _globals['_FEATURESPECV2_TAGSENTRY']._serialized_end=333 + _globals['_FEATURESPECV2']._serialized_end=336 + _globals['_FEATURESPECV2_TAGSENTRY']._serialized_start=293 + _globals['_FEATURESPECV2_TAGSENTRY']._serialized_end=336 # @@protoc_insertion_point(module_scope) diff --git a/sdk/python/feast/protos/feast/core/Feature_pb2.pyi b/sdk/python/feast/protos/feast/core/Feature_pb2.pyi index e58815bcc70..aa56630424f 100644 --- a/sdk/python/feast/protos/feast/core/Feature_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Feature_pb2.pyi @@ -55,7 +55,7 @@ class FeatureSpecV2(google.protobuf.message.Message): DESCRIPTION_FIELD_NUMBER: builtins.int VECTOR_INDEX_FIELD_NUMBER: builtins.int VECTOR_SEARCH_METRIC_FIELD_NUMBER: builtins.int - VECTOR_LEN_FIELD_NUMBER: builtins.int + VECTOR_LENGTH_FIELD_NUMBER: builtins.int name: builtins.str """Name of the feature. Not updatable.""" value_type: feast.types.Value_pb2.ValueType.Enum.ValueType @@ -69,7 +69,7 @@ class FeatureSpecV2(google.protobuf.message.Message): """Field indicating the vector will be indexed for vector similarity search""" vector_search_metric: builtins.str """Metric used for vector similarity search.""" - vector_len: builtins.int + vector_length: builtins.int """Field indicating the vector length""" def __init__( self, @@ -80,8 +80,8 @@ class FeatureSpecV2(google.protobuf.message.Message): description: builtins.str = ..., vector_index: builtins.bool = ..., vector_search_metric: builtins.str = ..., - vector_len: builtins.int = ..., + vector_length: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name", "tags", b"tags", "value_type", b"value_type", "vector_index", b"vector_index", "vector_len", b"vector_len", "vector_search_metric", b"vector_search_metric"]) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name", "tags", b"tags", "value_type", b"value_type", "vector_index", b"vector_index", "vector_length", b"vector_length", "vector_search_metric", b"vector_search_metric"]) -> None: ... global___FeatureSpecV2 = FeatureSpecV2 diff --git a/sdk/python/tests/example_repos/example_feature_repo_1.py b/sdk/python/tests/example_repos/example_feature_repo_1.py index b4984c11fc7..07bffc911cb 100644 --- a/sdk/python/tests/example_repos/example_feature_repo_1.py +++ b/sdk/python/tests/example_repos/example_feature_repo_1.py @@ -122,7 +122,7 @@ name="Embeddings", dtype=Array(Float32), vector_index=True, - vector_len=8, + vector_length=8, vector_search_metric="L2", ), Field(name="item_id", dtype=String), diff --git a/sdk/python/tests/integration/feature_repos/universal/online_store/elasticsearch.py b/sdk/python/tests/integration/feature_repos/universal/online_store/elasticsearch.py index cfbc7611a1f..3197adaf1f4 100644 --- a/sdk/python/tests/integration/feature_repos/universal/online_store/elasticsearch.py +++ b/sdk/python/tests/integration/feature_repos/universal/online_store/elasticsearch.py @@ -20,7 +20,7 @@ def create_online_store(self) -> Dict[str, Any]: "host": "localhost", "type": "elasticsearch", "port": self.container.get_exposed_port(9200), - "vector_len": 2, + "vector_length": 2, "similarity": "cosine", } diff --git a/sdk/python/tests/integration/feature_repos/universal/online_store/qdrant.py b/sdk/python/tests/integration/feature_repos/universal/online_store/qdrant.py index f65725f41d5..82a027b416d 100644 --- a/sdk/python/tests/integration/feature_repos/universal/online_store/qdrant.py +++ b/sdk/python/tests/integration/feature_repos/universal/online_store/qdrant.py @@ -20,7 +20,7 @@ def create_online_store(self) -> Dict[str, Any]: "host": self.container.get_container_host_ip(), "type": "qdrant", "port": self.container.exposed_rest_port, - "vector_len": 2, + "vector_length": 2, "similarity": "cosine", } diff --git a/sdk/python/tests/unit/test_on_demand_python_transformation.py b/sdk/python/tests/unit/test_on_demand_python_transformation.py index 45776dad0d0..eb29c645e53 100644 --- a/sdk/python/tests/unit/test_on_demand_python_transformation.py +++ b/sdk/python/tests/unit/test_on_demand_python_transformation.py @@ -1359,7 +1359,7 @@ def test_docling_transform(self): from transformers import AutoTokenizer EMBED_MODEL_ID = "sentence-transformers/all-MiniLM-L6-v2" - VECTOR_LEN = 10 + VECTOR_LENGTH = 10 MAX_TOKENS = 5 # Small token limit for demonstration tokenizer = AutoTokenizer.from_pretrained(EMBED_MODEL_ID) chunker = HybridChunker( @@ -1395,7 +1395,7 @@ def test_docling_transform(self): ) def embed_chunk(input_string) -> dict[str, list[float]]: - output = {"query_embedding": [0.5] * VECTOR_LEN} + output = {"query_embedding": [0.5] * VECTOR_LENGTH} return output input_request_pdf = RequestSource( @@ -1419,7 +1419,7 @@ def embed_chunk(input_string) -> dict[str, list[float]]: name="vector", dtype=Array(Float32), vector_index=True, - vector_len=VECTOR_LEN, + vector_length=VECTOR_LENGTH, vector_search_metric="L2", ), ], From b4310744e2a8c9562126870da63b6b65a03f40eb Mon Sep 17 00:00:00 2001 From: jyejare Date: Wed, 23 Apr 2025 18:22:51 +0530 Subject: [PATCH 10/10] On Demand feature view transformation updated Signed-off-by: jyejare --- sdk/python/feast/on_demand_feature_view.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/python/feast/on_demand_feature_view.py b/sdk/python/feast/on_demand_feature_view.py index 5154ca19715..79db6334ffd 100644 --- a/sdk/python/feast/on_demand_feature_view.py +++ b/sdk/python/feast/on_demand_feature_view.py @@ -463,6 +463,7 @@ def from_proto( name=feature.name, dtype=from_value_type(ValueType(feature.value_type)), vector_index=feature.vector_index, + vector_length=feature.vector_length, vector_search_metric=feature.vector_search_metric, ) for feature in on_demand_feature_view_proto.spec.features