From 5221e6a16b29802fa6b9e4486dd25c11ce1f5337 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 28 Aug 2026 13:56:11 +0200 Subject: [PATCH] feat(online-store): expose created/ingestion timestamp in online response --- .../feast/core/PrecomputedFeatureVector.proto | 1 + protos/feast/serving/ServingService.proto | 1 + sdk/python/feast/feature_store.py | 17 +- .../feast/infra/online_stores/online_store.py | 2 +- sdk/python/feast/infra/online_stores/redis.py | 4 +- .../feast/infra/online_stores/snowflake.py | 15 +- .../feast/infra/online_stores/sqlite.py | 39 +- sdk/python/feast/online_response.py | 25 +- .../protos/feast/core/Aggregation_pb2.py | 16 +- .../protos/feast/core/Aggregation_pb2_grpc.py | 20 + .../feast/protos/feast/core/DataFormat_pb2.py | 24 +- .../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 + .../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 + .../feast/core/FeatureViewVersion_pb2.py | 16 +- .../feast/core/FeatureViewVersion_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 | 18 +- .../protos/feast/core/Feature_pb2_grpc.py | 20 + .../protos/feast/core/InfraObject_pb2.py | 16 +- .../protos/feast/core/InfraObject_pb2_grpc.py | 20 + .../feast/protos/feast/core/LabelView_pb2.py | 20 +- .../protos/feast/core/LabelView_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 + .../core/PrecomputedFeatureVector_pb2.py | 22 +- .../core/PrecomputedFeatureVector_pb2.pyi | 8 +- .../core/PrecomputedFeatureVector_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 +- .../feast/protos/feast/core/Registry_pb2.pyi | 26 +- .../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 | 44 +- .../feast/registry/RegistryServer_pb2_grpc.py | 1017 +++++++++++++---- .../protos/feast/serving/Connector_pb2.py | 16 +- .../feast/serving/Connector_pb2_grpc.py | 45 +- .../protos/feast/serving/GrpcServer_pb2.py | 24 +- .../feast/serving/GrpcServer_pb2_grpc.py | 81 +- .../feast/serving/ServingService_pb2.py | 44 +- .../feast/serving/ServingService_pb2.pyi | 6 +- .../feast/serving/ServingService_pb2_grpc.py | 63 +- .../serving/TransformationService_pb2.py | 16 +- .../serving/TransformationService_pb2_grpc.py | 63 +- .../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 | 18 +- .../protos/feast/types/Value_pb2_grpc.py | 20 + sdk/python/feast/utils.py | 19 +- sdk/python/tests/unit/test_online_response.py | 51 + 81 files changed, 2259 insertions(+), 478 deletions(-) create mode 100644 sdk/python/tests/unit/test_online_response.py diff --git a/protos/feast/core/PrecomputedFeatureVector.proto b/protos/feast/core/PrecomputedFeatureVector.proto index 798df0b8d1e..fe7c13d6108 100644 --- a/protos/feast/core/PrecomputedFeatureVector.proto +++ b/protos/feast/core/PrecomputedFeatureVector.proto @@ -28,4 +28,5 @@ message PrecomputedFeatureVector { message FeatureViewTimestamp { string feature_view_name = 1; google.protobuf.Timestamp event_timestamp = 2; + google.protobuf.Timestamp created_timestamp = 3; } diff --git a/protos/feast/serving/ServingService.proto b/protos/feast/serving/ServingService.proto index 87e35ac4edf..5552e4d32e5 100644 --- a/protos/feast/serving/ServingService.proto +++ b/protos/feast/serving/ServingService.proto @@ -107,6 +107,7 @@ message GetOnlineFeaturesResponse { repeated feast.types.Value values = 1; repeated FieldStatus statuses = 2; repeated google.protobuf.Timestamp event_timestamps = 3; + repeated google.protobuf.Timestamp created_timestamps = 4; } bool status = 3; diff --git a/sdk/python/feast/feature_store.py b/sdk/python/feast/feature_store.py index 546f6f7680d..921567dd3d1 100644 --- a/sdk/python/feast/feature_store.py +++ b/sdk/python/feast/feature_store.py @@ -3223,7 +3223,13 @@ def precompute_feature_service( # Read features for each FV via base class online_read. fv_data: Dict[ str, - List[Tuple[Optional[datetime], Optional[Dict[str, ValueProto]]]], + List[ + Tuple[ + Optional[datetime], + Optional[Dict[str, ValueProto]], + Optional[datetime], + ] + ], ] = {} for fv_obj, proj in feature_views: req_features = [f.name for f in proj.features] @@ -3242,11 +3248,18 @@ def precompute_feature_service( for _fv, proj in feature_views: fv_name = proj.name_to_use() - fv_row_ts, feat_dict = fv_data[fv_name][entity_idx] + fv_row_ts, feat_dict, fv_created_ts = fv_data[fv_name][ + entity_idx + ] if fv_row_ts: fv_ts = Timestamp() fv_ts.FromDatetime(utils.make_tzaware(fv_row_ts)) + created_ts_proto = Timestamp() + if fv_created_ts: + created_ts_proto.FromDatetime( + utils.make_tzaware(fv_created_ts) + ) fv_timestamps.append( FeatureViewTimestamp( feature_view_name=fv_name, diff --git a/sdk/python/feast/infra/online_stores/online_store.py b/sdk/python/feast/infra/online_stores/online_store.py index cdf06639fe0..e656e2f4281 100644 --- a/sdk/python/feast/infra/online_stores/online_store.py +++ b/sdk/python/feast/infra/online_stores/online_store.py @@ -812,7 +812,7 @@ def read_precomputed_vectors( return [None] * len(entity_keys) result: List[Optional[bytes]] = [] - for _ts, feature_dict in rows: + for _ts, feature_dict, _created_ts in rows: if feature_dict and "vector" in feature_dict: val = feature_dict["vector"] if val.HasField("bytes_val"): diff --git a/sdk/python/feast/infra/online_stores/redis.py b/sdk/python/feast/infra/online_stores/redis.py index b50161bd6de..eaa46c4aaf7 100644 --- a/sdk/python/feast/infra/online_stores/redis.py +++ b/sdk/python/feast/infra/online_stores/redis.py @@ -568,7 +568,9 @@ def online_read( table: FeatureView, entity_keys: List[EntityKeyProto], requested_features: Optional[List[str]] = None, - ) -> List[Tuple[Optional[datetime], Optional[Dict[str, ValueProto]]]]: + ) -> List[ + Tuple[Optional[datetime], Optional[Dict[str, ValueProto]], Optional[datetime]] + ]: online_store_config = config.online_store assert isinstance(online_store_config, RedisOnlineStoreConfig) diff --git a/sdk/python/feast/infra/online_stores/snowflake.py b/sdk/python/feast/infra/online_stores/snowflake.py index d2df674ed94..3a868ad8889 100644 --- a/sdk/python/feast/infra/online_stores/snowflake.py +++ b/sdk/python/feast/infra/online_stores/snowflake.py @@ -160,7 +160,9 @@ def online_read( table: FeatureView, entity_keys: List[EntityKeyProto], requested_features: Optional[List[str]] = None, - ) -> List[Tuple[Optional[datetime], Optional[Dict[str, ValueProto]]]]: + ) -> List[ + Tuple[Optional[datetime], Optional[Dict[str, ValueProto]], Optional[datetime]] + ]: assert isinstance(config.online_store, SnowflakeOnlineStoreConfig) result: List[Tuple[Optional[datetime], Optional[Dict[str, ValueProto]]]] = [] @@ -194,7 +196,7 @@ def online_read( with GetSnowflakeConnection(config.online_store) as conn: query = f""" SELECT - "entity_key", "feature_name", "value", "event_ts" + "entity_key", "feature_name", "value", "event_ts", "created_ts" FROM {online_path}."[online-transient] {config.project}_{table.name}" WHERE @@ -210,11 +212,16 @@ def online_read( val.ParseFromString(row["value"]) res[row["feature_name"]] = val res_ts = row["event_ts"].to_pydatetime() + res_created_ts = ( + row["created_ts"].to_pydatetime() + if "created_ts" in row and pd.notnull(row["created_ts"]) + else None + ) if not res: - result.append((None, None)) + result.append((None, None, None)) else: - result.append((res_ts, res)) + result.append((res_ts, res, res_created_ts)) return result def update( diff --git a/sdk/python/feast/infra/online_stores/sqlite.py b/sdk/python/feast/infra/online_stores/sqlite.py index 000e3d7bc5a..f7eb0b94a5a 100644 --- a/sdk/python/feast/infra/online_stores/sqlite.py +++ b/sdk/python/feast/infra/online_stores/sqlite.py @@ -376,11 +376,17 @@ def online_read( table: FeatureView, entity_keys: List[EntityKeyProto], requested_features: Optional[List[str]] = None, - ) -> List[Tuple[Optional[datetime], Optional[Dict[str, ValueProto]]]]: + ) -> List[ + Tuple[Optional[datetime], Optional[Dict[str, ValueProto]], Optional[datetime]] + ]: conn = self._get_conn(config) cur = conn.cursor() - result: List[Tuple[Optional[datetime], Optional[Dict[str, ValueProto]]]] = [] + result: List[ + Tuple[ + Optional[datetime], Optional[Dict[str, ValueProto]], Optional[datetime] + ] + ] = [] serialized_entity_keys = [ serialize_entity_key( @@ -391,7 +397,7 @@ def online_read( ] # Fetch all entities in one go cur.execute( - f"SELECT entity_key, feature_name, value, event_ts " + f"SELECT entity_key, feature_name, value, event_ts, created_ts " f"FROM {_quote_id(_table_id(config.project, table, config.registry.enable_online_feature_view_versioning))} " f"WHERE entity_key IN ({','.join('?' * len(entity_keys))}) " f"ORDER BY entity_key", @@ -404,20 +410,29 @@ def online_read( for entity_key_bin in serialized_entity_keys: res = {} res_ts = None - for _, feature_name, val_bin, ts in rows.get(entity_key_bin, []): + res_created_ts = None + for _, feature_name, val_bin, ts, created_ts in rows.get( + entity_key_bin, [] + ): val = ValueProto() val.ParseFromString(val_bin) res[feature_name] = val - ts = cast(datetime, ts) - if ts.tzinfo is not None: - res_ts = ts.astimezone(timezone.utc) - else: - res_ts = ts.replace(tzinfo=timezone.utc) - + if ts is not None: + ts = cast(datetime, ts) + if ts.tzinfo is not None: + res_ts = ts.astimezone(timezone.utc) + else: + res_ts = ts.replace(tzinfo=timezone.utc) + if created_ts is not None: + created_ts = cast(datetime, created_ts) + if created_ts.tzinfo is not None: + res_created_ts = created_ts.astimezone(timezone.utc) + else: + res_created_ts = created_ts.replace(tzinfo=timezone.utc) if not res: - result.append((None, None)) + result.append((None, None, None)) else: - result.append((res_ts, res)) + result.append((res_ts, res, res_created_ts)) return result def update( diff --git a/sdk/python/feast/online_response.py b/sdk/python/feast/online_response.py index 7b6b4806e4d..af04bd58964 100644 --- a/sdk/python/feast/online_response.py +++ b/sdk/python/feast/online_response.py @@ -61,7 +61,11 @@ def __init__( break - def to_dict(self, include_event_timestamps: bool = False) -> Dict[str, Any]: + def to_dict( + self, + include_event_timestamps: bool = False, + include_created_timestamps: bool = False, + ) -> Dict[str, Any]: """ Converts GetOnlineFeaturesResponse features into a dictionary form. @@ -84,10 +88,18 @@ def to_dict(self, include_event_timestamps: bool = False) -> Dict[str, Any]: response[timestamp_ref] = [ ts.seconds for ts in feature_vector.event_timestamps ] - + if include_created_timestamps: + created_timestamp_ref = feature_ref + "__created_timestamp" + response[created_timestamp_ref] = [ + ts.seconds for ts in feature_vector.created_timestamps + ] return response - def to_df(self, include_event_timestamps: bool = False) -> pd.DataFrame: + def to_df( + self, + include_event_timestamps: bool = False, + include_created_timestamps: bool = False, + ) -> pd.DataFrame: """ Converts GetOnlineFeaturesResponse features into Panda dataframe form. @@ -95,7 +107,12 @@ def to_df(self, include_event_timestamps: bool = False) -> pd.DataFrame: include_event_timestamps: bool Optionally include feature timestamps in the dataframe """ - return pd.DataFrame(self.to_dict(include_event_timestamps)) + return pd.DataFrame( + self.to_dict( + include_event_timestamps, + include_created_timestamps=include_created_timestamps, + ) + ) def to_arrow(self, include_event_timestamps: bool = False) -> pa.Table: """ diff --git a/sdk/python/feast/protos/feast/core/Aggregation_pb2.py b/sdk/python/feast/protos/feast/core/Aggregation_pb2.py index 44013acd55d..8b90a4bb9dc 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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=237 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..2120d95b811 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.81.1' +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},' + + ' 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 b90958cb325..42e4495de2f 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: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/core/DataFormat.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,16 +29,16 @@ _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'].fields_by_name['delta_format']._options = None + _globals['_FILEFORMAT'].fields_by_name['delta_format']._loaded_options = None _globals['_FILEFORMAT'].fields_by_name['delta_format']._serialized_options = b'\030\001' - _globals['_TABLEFORMAT_ICEBERGFORMAT_PROPERTIESENTRY']._options = None + _globals['_TABLEFORMAT_ICEBERGFORMAT_PROPERTIESENTRY']._loaded_options = None _globals['_TABLEFORMAT_ICEBERGFORMAT_PROPERTIESENTRY']._serialized_options = b'8\001' - _globals['_TABLEFORMAT_DELTAFORMAT_PROPERTIESENTRY']._options = None + _globals['_TABLEFORMAT_DELTAFORMAT_PROPERTIESENTRY']._loaded_options = None _globals['_TABLEFORMAT_DELTAFORMAT_PROPERTIESENTRY']._serialized_options = b'8\001' - _globals['_TABLEFORMAT_HUDIFORMAT_PROPERTIESENTRY']._options = None + _globals['_TABLEFORMAT_HUDIFORMAT_PROPERTIESENTRY']._loaded_options = None _globals['_TABLEFORMAT_HUDIFORMAT_PROPERTIESENTRY']._serialized_options = b'8\001' _globals['_FILEFORMAT']._serialized_start=44 _globals['_FILEFORMAT']._serialized_end=212 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..69b2da479c8 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.81.1' +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},' + + ' 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 3ad9ab1807b..0f316b213f6 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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=3319 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..e90d928bf50 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.81.1' +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},' + + ' 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..baa056be15b 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..4d9f1d73637 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.81.1' +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},' + + ' 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/Entity_pb2.py b/sdk/python/feast/protos/feast/core/Entity_pb2.py index 2b3e7806736..d70d3c314c6 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..b70706e4a7f 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.81.1' +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},' + + ' 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 24940b4ca33..4c95b94e768 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..3c7a141975f 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.81.1' +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},' + + ' 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..76eff561b02 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..4bd647c9537 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.81.1' +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},' + + ' 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 67839983d81..6cd539e27d8 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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=613 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..32661ed1a31 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.81.1' +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},' + + ' 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/FeatureViewVersion_pb2.py b/sdk/python/feast/protos/feast/core/FeatureViewVersion_pb2.py index 88bc21c2a8f..77028b933ce 100644 --- a/sdk/python/feast/protos/feast/core/FeatureViewVersion_pb2.py +++ b/sdk/python/feast/protos/feast/core/FeatureViewVersion_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/FeatureViewVersion.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/core/FeatureViewVersion.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.FeatureViewVersion_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\027FeatureViewVersionProtoZ/github.com/feast-dev/feast/go/protos/feast/core' _globals['_FEATUREVIEWVERSIONRECORD']._serialized_start=85 _globals['_FEATUREVIEWVERSIONRECORD']._serialized_end=333 diff --git a/sdk/python/feast/protos/feast/core/FeatureViewVersion_pb2_grpc.py b/sdk/python/feast/protos/feast/core/FeatureViewVersion_pb2_grpc.py index 2daafffebfc..478d30f58f3 100644 --- a/sdk/python/feast/protos/feast/core/FeatureViewVersion_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/FeatureViewVersion_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.81.1' +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},' + + ' but the generated code in feast/core/FeatureViewVersion_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 71766558c82..ce43e2ee51f 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: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/core/FeatureView.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -24,10 +34,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['_FEATUREVIEWSTATE']._serialized_start=1463 _globals['_FEATUREVIEWSTATE']._serialized_end=1573 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..d606eb0cfac 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.81.1' +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},' + + ' 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 a02bb7ff403..63700ae1ef5 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: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/core/Feature.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.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=336 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..e8629b60cf6 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.81.1' +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},' + + ' 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 aeea27f2e00..4b6ffbe9360 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: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/core/InfraObject.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,8 +31,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=107 _globals['_INFRA']._serialized_end=162 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..b7e4928a2b3 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.81.1' +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},' + + ' 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/LabelView_pb2.py b/sdk/python/feast/protos/feast/core/LabelView_pb2.py index d8fb720a1e2..3cf6aa15212 100644 --- a/sdk/python/feast/protos/feast/core/LabelView_pb2.py +++ b/sdk/python/feast/protos/feast/core/LabelView_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/LabelView.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/core/LabelView.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -23,12 +33,12 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.LabelView_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\016LabelViewProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_LABELVIEWSPEC_TAGSENTRY']._options = None + _globals['_LABELVIEWSPEC_TAGSENTRY']._loaded_options = None _globals['_LABELVIEWSPEC_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LABELVIEWSPEC'].fields_by_name['retain_history']._options = None + _globals['_LABELVIEWSPEC'].fields_by_name['retain_history']._loaded_options = None _globals['_LABELVIEWSPEC'].fields_by_name['retain_history']._serialized_options = b'\030\001' _globals['_CONFLICTRESOLUTIONPOLICY']._serialized_start=927 _globals['_CONFLICTRESOLUTIONPOLICY']._serialized_end=1015 diff --git a/sdk/python/feast/protos/feast/core/LabelView_pb2_grpc.py b/sdk/python/feast/protos/feast/core/LabelView_pb2_grpc.py index 2daafffebfc..a9c5d490b27 100644 --- a/sdk/python/feast/protos/feast/core/LabelView_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/LabelView_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.81.1' +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},' + + ' but the generated code in feast/core/LabelView_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 1c264ec06c5..31722d39c5a 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: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/core/OnDemandFeatureView.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -26,16 +36,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=273 _globals['_ONDEMANDFEATUREVIEW']._serialized_end=396 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..8cf4b80ce6b 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.81.1' +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},' + + ' 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 f44540c45e0..102fa535a5d 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..321f9aea046 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.81.1' +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},' + + ' 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 e40eaccc12a..7815138083e 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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=40 _globals['_POLICY']._serialized_end=365 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..360d5396186 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.81.1' +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},' + + ' 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/PrecomputedFeatureVector_pb2.py b/sdk/python/feast/protos/feast/core/PrecomputedFeatureVector_pb2.py index f86f32238cb..2f0022b4cff 100644 --- a/sdk/python/feast/protos/feast/core/PrecomputedFeatureVector_pb2.py +++ b/sdk/python/feast/protos/feast/core/PrecomputedFeatureVector_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/PrecomputedFeatureVector.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/core/PrecomputedFeatureVector.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,16 +26,16 @@ from feast.protos.feast.types import Value_pb2 as feast_dot_types_dot_Value__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)feast/core/PrecomputedFeatureVector.proto\x12\nfeast.core\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17\x66\x65\x61st/types/Value.proto\"\xc2\x01\n\x18PrecomputedFeatureVector\x12\x15\n\rfeature_names\x18\x01 \x03(\t\x12\"\n\x06values\x18\x02 \x03(\x0b\x32\x12.feast.types.Value\x12\x37\n\rfv_timestamps\x18\x03 \x03(\x0b\x32 .feast.core.FeatureViewTimestamp\x12\x32\n\x0eprecomputed_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"f\n\x14\x46\x65\x61tureViewTimestamp\x12\x19\n\x11\x66\x65\x61ture_view_name\x18\x01 \x01(\t\x12\x33\n\x0f\x65vent_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampBb\n\x10\x66\x65\x61st.proto.coreB\x1dPrecomputedFeatureVectorProtoZ/github.com/feast-dev/feast/go/protos/feast/coreb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)feast/core/PrecomputedFeatureVector.proto\x12\nfeast.core\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17\x66\x65\x61st/types/Value.proto\"\xc2\x01\n\x18PrecomputedFeatureVector\x12\x15\n\rfeature_names\x18\x01 \x03(\t\x12\"\n\x06values\x18\x02 \x03(\x0b\x32\x12.feast.types.Value\x12\x37\n\rfv_timestamps\x18\x03 \x03(\x0b\x32 .feast.core.FeatureViewTimestamp\x12\x32\n\x0eprecomputed_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x9d\x01\n\x14\x46\x65\x61tureViewTimestamp\x12\x19\n\x11\x66\x65\x61ture_view_name\x18\x01 \x01(\t\x12\x33\n\x0f\x65vent_timestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11\x63reated_timestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampBb\n\x10\x66\x65\x61st.proto.coreB\x1dPrecomputedFeatureVectorProtoZ/github.com/feast-dev/feast/go/protos/feast/coreb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.PrecomputedFeatureVector_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\035PrecomputedFeatureVectorProtoZ/github.com/feast-dev/feast/go/protos/feast/core' _globals['_PRECOMPUTEDFEATUREVECTOR']._serialized_start=116 _globals['_PRECOMPUTEDFEATUREVECTOR']._serialized_end=310 - _globals['_FEATUREVIEWTIMESTAMP']._serialized_start=312 - _globals['_FEATUREVIEWTIMESTAMP']._serialized_end=414 + _globals['_FEATUREVIEWTIMESTAMP']._serialized_start=313 + _globals['_FEATUREVIEWTIMESTAMP']._serialized_end=470 # @@protoc_insertion_point(module_scope) diff --git a/sdk/python/feast/protos/feast/core/PrecomputedFeatureVector_pb2.pyi b/sdk/python/feast/protos/feast/core/PrecomputedFeatureVector_pb2.pyi index 919f1b59973..b23e275a5df 100644 --- a/sdk/python/feast/protos/feast/core/PrecomputedFeatureVector_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/PrecomputedFeatureVector_pb2.pyi @@ -61,16 +61,20 @@ class FeatureViewTimestamp(google.protobuf.message.Message): FEATURE_VIEW_NAME_FIELD_NUMBER: builtins.int EVENT_TIMESTAMP_FIELD_NUMBER: builtins.int + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int feature_view_name: builtins.str @property def event_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, feature_view_name: builtins.str = ..., event_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["event_timestamp", b"event_timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["event_timestamp", b"event_timestamp", "feature_view_name", b"feature_view_name"]) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "event_timestamp", b"event_timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "event_timestamp", b"event_timestamp", "feature_view_name", b"feature_view_name"]) -> None: ... global___FeatureViewTimestamp = FeatureViewTimestamp diff --git a/sdk/python/feast/protos/feast/core/PrecomputedFeatureVector_pb2_grpc.py b/sdk/python/feast/protos/feast/core/PrecomputedFeatureVector_pb2_grpc.py index 2daafffebfc..bbf585cda37 100644 --- a/sdk/python/feast/protos/feast/core/PrecomputedFeatureVector_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/PrecomputedFeatureVector_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.81.1' +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},' + + ' but the generated code in feast/core/PrecomputedFeatureVector_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..a10fc2084e6 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..9b4db538cfb 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.81.1' +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},' + + ' 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 1c20c3ae654..29ad45f2fa8 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: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/core/Registry.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,10 +44,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=514 _globals['_REGISTRY']._serialized_end=1402 diff --git a/sdk/python/feast/protos/feast/core/Registry_pb2.pyi b/sdk/python/feast/protos/feast/core/Registry_pb2.pyi index 55c6e5600d8..09c2dc4d50e 100644 --- a/sdk/python/feast/protos/feast/core/Registry_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Registry_pb2.pyi @@ -1,19 +1,19 @@ """ @generated by mypy-protobuf. Do not edit manually! isort:skip_file - -* Copyright 2020 The Feast Authors -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* https://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and + +* Copyright 2020 The Feast Authors +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* https://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and * limitations under the License. """ import builtins 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..70db5647e7e 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.81.1' +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},' + + ' 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 8e394dec7ec..5028861a3fb 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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=461 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..4aa8519594b 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.81.1' +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},' + + ' 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..eeb62c7709b 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..0fa458e91da 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.81.1' +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},' + + ' 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..5cf07164b19 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..07a7a0e04fc 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.81.1' +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},' + + ' 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 9222c1bd2ae..c3860875c64 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..37f1a806b6d 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.81.1' +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},' + + ' 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 c322bc1925c..933ece9c77f 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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=131 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..d8b535f508f 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.81.1' +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},' + + ' 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..22e3bf084f4 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..1c32da289c0 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.81.1' +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},' + + ' 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 95e5c449912..686d57bc78f 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: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/registry/RegistryServer.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,36 +44,36 @@ _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['_LISTLABELVIEWSREQUEST_TAGSENTRY']._options = None + _globals['_LISTLABELVIEWSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTLABELVIEWSREQUEST_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['_CREATEDATASETFROMRETRIEVALREQUEST_TAGSENTRY']._options = None + _globals['_CREATEDATASETFROMRETRIEVALREQUEST_TAGSENTRY']._loaded_options = None _globals['_CREATEDATASETFROMRETRIEVALREQUEST_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['_FEATURE_TAGSENTRY']._options = None + _globals['_FEATURE_TAGSENTRY']._loaded_options = None _globals['_FEATURE_TAGSENTRY']._serialized_options = b'8\001' _globals['_PAGINATIONPARAMS']._serialized_start=515 _globals['_PAGINATIONPARAMS']._serialized_end=562 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 e06f3a811df..3301d72628e 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 @@ -18,8 +19,27 @@ 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.81.1' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False -class RegistryServerStub(object): +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},' + + ' 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: """Missing associated documentation comment in .proto file.""" def __init__(self, channel): @@ -32,280 +52,280 @@ 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.GetLabelView = channel.unary_unary( '/feast.registry.RegistryServer/GetLabelView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetLabelViewRequest.SerializeToString, response_deserializer=feast_dot_core_dot_LabelView__pb2.LabelView.FromString, - ) + _registered_method=True) self.ListLabelViews = channel.unary_unary( '/feast.registry.RegistryServer/ListLabelViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListLabelViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListLabelViewsResponse.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.CreateDatasetFromRetrieval = channel.unary_unary( '/feast.registry.RegistryServer/CreateDatasetFromRetrieval', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.CreateDatasetFromRetrievalRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.CreateDatasetFromRetrievalResponse.FromString, - ) + _registered_method=True) self.GetDatasetData = channel.unary_unary( '/feast.registry.RegistryServer/GetDatasetData', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetDatasetDataRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.GetDatasetDataResponse.FromString, - ) + _registered_method=True) self.GetDatasetJobStatus = channel.unary_unary( '/feast.registry.RegistryServer/GetDatasetJobStatus', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetDatasetJobStatusRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.GetDatasetJobStatusResponse.FromString, - ) + _registered_method=True) self.ListDatasetJobs = channel.unary_unary( '/feast.registry.RegistryServer/ListDatasetJobs', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListDatasetJobsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListDatasetJobsResponse.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) self.GetRegistryLineage = channel.unary_unary( '/feast.registry.RegistryServer/GetRegistryLineage', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetRegistryLineageRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.GetRegistryLineageResponse.FromString, - ) + _registered_method=True) self.GetObjectRelationships = channel.unary_unary( '/feast.registry.RegistryServer/GetObjectRelationships', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetObjectRelationshipsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.GetObjectRelationshipsResponse.FromString, - ) + _registered_method=True) self.ListFeatures = channel.unary_unary( '/feast.registry.RegistryServer/ListFeatures', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeaturesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeaturesResponse.FromString, - ) + _registered_method=True) self.GetFeature = channel.unary_unary( '/feast.registry.RegistryServer/GetFeature', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetFeatureRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.Feature.FromString, - ) + _registered_method=True) -class RegistryServerServicer(object): +class RegistryServerServicer: """Missing associated documentation comment in .proto file.""" def ApplyEntity(self, request, context): @@ -935,10 +955,11 @@ 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. -class RegistryServer(object): +class RegistryServer: """Missing associated documentation comment in .proto file.""" @staticmethod @@ -952,11 +973,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, @@ -969,11 +1000,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, @@ -986,11 +1027,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, @@ -1003,11 +1054,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, @@ -1020,11 +1081,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, @@ -1037,11 +1108,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, @@ -1054,11 +1135,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, @@ -1071,11 +1162,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, @@ -1088,11 +1189,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, @@ -1105,11 +1216,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, @@ -1122,11 +1243,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, @@ -1139,11 +1270,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, @@ -1156,11 +1297,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, @@ -1173,11 +1324,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, @@ -1190,11 +1351,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, @@ -1207,11 +1378,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, @@ -1224,11 +1405,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, @@ -1241,11 +1432,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 GetLabelView(request, @@ -1258,11 +1459,21 @@ def GetLabelView(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetLabelView', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetLabelView', feast_dot_registry_dot_RegistryServer__pb2.GetLabelViewRequest.SerializeToString, feast_dot_core_dot_LabelView__pb2.LabelView.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 ListLabelViews(request, @@ -1275,11 +1486,21 @@ def ListLabelViews(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListLabelViews', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListLabelViews', feast_dot_registry_dot_RegistryServer__pb2.ListLabelViewsRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListLabelViewsResponse.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, @@ -1292,11 +1513,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, @@ -1309,11 +1540,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, @@ -1326,11 +1567,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, @@ -1343,11 +1594,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, @@ -1360,11 +1621,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, @@ -1377,11 +1648,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, @@ -1394,11 +1675,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, @@ -1411,11 +1702,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 CreateDatasetFromRetrieval(request, @@ -1428,11 +1729,21 @@ def CreateDatasetFromRetrieval(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/CreateDatasetFromRetrieval', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/CreateDatasetFromRetrieval', feast_dot_registry_dot_RegistryServer__pb2.CreateDatasetFromRetrievalRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.CreateDatasetFromRetrievalResponse.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 GetDatasetData(request, @@ -1445,11 +1756,21 @@ def GetDatasetData(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetDatasetData', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetDatasetData', feast_dot_registry_dot_RegistryServer__pb2.GetDatasetDataRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.GetDatasetDataResponse.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 GetDatasetJobStatus(request, @@ -1462,11 +1783,21 @@ def GetDatasetJobStatus(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetDatasetJobStatus', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetDatasetJobStatus', feast_dot_registry_dot_RegistryServer__pb2.GetDatasetJobStatusRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.GetDatasetJobStatusResponse.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 ListDatasetJobs(request, @@ -1479,11 +1810,21 @@ def ListDatasetJobs(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListDatasetJobs', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListDatasetJobs', feast_dot_registry_dot_RegistryServer__pb2.ListDatasetJobsRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListDatasetJobsResponse.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, @@ -1496,11 +1837,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, @@ -1513,11 +1864,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, @@ -1530,11 +1891,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, @@ -1547,11 +1918,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, @@ -1564,11 +1945,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, @@ -1581,11 +1972,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, @@ -1598,11 +1999,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, @@ -1615,11 +2026,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, @@ -1632,11 +2053,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, @@ -1649,11 +2080,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, @@ -1666,11 +2107,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, @@ -1683,11 +2134,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, @@ -1700,11 +2161,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, @@ -1717,11 +2188,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, @@ -1734,11 +2215,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, @@ -1751,11 +2242,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, @@ -1768,11 +2269,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, @@ -1785,11 +2296,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, @@ -1802,11 +2323,21 @@ 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) @staticmethod def GetRegistryLineage(request, @@ -1819,11 +2350,21 @@ def GetRegistryLineage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetRegistryLineage', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetRegistryLineage', feast_dot_registry_dot_RegistryServer__pb2.GetRegistryLineageRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.GetRegistryLineageResponse.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 GetObjectRelationships(request, @@ -1836,11 +2377,21 @@ def GetObjectRelationships(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetObjectRelationships', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetObjectRelationships', feast_dot_registry_dot_RegistryServer__pb2.GetObjectRelationshipsRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.GetObjectRelationshipsResponse.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 ListFeatures(request, @@ -1853,11 +2404,21 @@ def ListFeatures(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListFeatures', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListFeatures', feast_dot_registry_dot_RegistryServer__pb2.ListFeaturesRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListFeaturesResponse.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 GetFeature(request, @@ -1870,8 +2431,18 @@ def GetFeature(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/GetFeature', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/GetFeature', feast_dot_registry_dot_RegistryServer__pb2.GetFeatureRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.Feature.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..68fcbd21b63 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..92f5c6ebe05 100644 --- a/sdk/python/feast/protos/feast/serving/Connector_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/Connector_pb2_grpc.py @@ -1,11 +1,31 @@ # 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.81.1' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False -class OnlineStoreStub(object): +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},' + + ' 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: """Missing associated documentation comment in .proto file.""" def __init__(self, channel): @@ -18,10 +38,10 @@ 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): +class OnlineStoreServicer: """Missing associated documentation comment in .proto file.""" def OnlineRead(self, request, context): @@ -42,10 +62,11 @@ 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. -class OnlineStore(object): +class OnlineStore: """Missing associated documentation comment in .proto file.""" @staticmethod @@ -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 586938289ae..8ac1022cbfe 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: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/serving/GrpcServer.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,16 +31,16 @@ _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'\n\023feast.proto.servingB\022GrpcServerAPIProtoZ2github.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['_PUSHREQUEST_TYPEDFEATURESENTRY']._options = None + _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._loaded_options = None _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._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['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._options = None + _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._loaded_options = None _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._serialized_options = b'8\001' _globals['_PUSHREQUEST']._serialized_start=96 _globals['_PUSHREQUEST']._serialized_end=406 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..24315453d23 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2_grpc.py @@ -1,12 +1,32 @@ # 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.81.1' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False -class GrpcFeatureServerStub(object): +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},' + + ' 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: """Missing associated documentation comment in .proto file.""" def __init__(self, channel): @@ -19,20 +39,20 @@ 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): +class GrpcFeatureServerServicer: """Missing associated documentation comment in .proto file.""" def Push(self, request, context): @@ -75,10 +95,11 @@ 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. -class GrpcFeatureServer(object): +class GrpcFeatureServer: """Missing associated documentation comment in .proto file.""" @staticmethod @@ -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 82ade7eb988..0863e90608b 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: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/serving/ServingService.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,22 +26,22 @@ from feast.protos.feast.types import Value_pb2 as feast_dot_types_dot_Value__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"feast/serving/ServingService.proto\x12\rfeast.serving\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17\x66\x65\x61st/types/Value.proto\"\x1c\n\x1aGetFeastServingInfoRequest\".\n\x1bGetFeastServingInfoResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\"E\n\x12\x46\x65\x61tureReferenceV2\x12\x19\n\x11\x66\x65\x61ture_view_name\x18\x01 \x01(\t\x12\x14\n\x0c\x66\x65\x61ture_name\x18\x02 \x01(\t\"\xfd\x02\n\x1aGetOnlineFeaturesRequestV2\x12\x33\n\x08\x66\x65\x61tures\x18\x04 \x03(\x0b\x32!.feast.serving.FeatureReferenceV2\x12H\n\x0b\x65ntity_rows\x18\x02 \x03(\x0b\x32\x33.feast.serving.GetOnlineFeaturesRequestV2.EntityRow\x12\x0f\n\x07project\x18\x05 \x01(\t\x1a\xce\x01\n\tEntityRow\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12O\n\x06\x66ields\x18\x02 \x03(\x0b\x32?.feast.serving.GetOnlineFeaturesRequestV2.EntityRow.FieldsEntry\x1a\x41\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.feast.types.Value:\x02\x38\x01\"\x1a\n\x0b\x46\x65\x61tureList\x12\x0b\n\x03val\x18\x01 \x03(\t\"\xf7\x03\n\x18GetOnlineFeaturesRequest\x12\x19\n\x0f\x66\x65\x61ture_service\x18\x01 \x01(\tH\x00\x12.\n\x08\x66\x65\x61tures\x18\x02 \x01(\x0b\x32\x1a.feast.serving.FeatureListH\x00\x12G\n\x08\x65ntities\x18\x03 \x03(\x0b\x32\x35.feast.serving.GetOnlineFeaturesRequest.EntitiesEntry\x12\x1a\n\x12\x66ull_feature_names\x18\x04 \x01(\x08\x12T\n\x0frequest_context\x18\x05 \x03(\x0b\x32;.feast.serving.GetOnlineFeaturesRequest.RequestContextEntry\x12-\n%include_feature_view_version_metadata\x18\x06 \x01(\x08\x1aK\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.feast.types.RepeatedValue:\x02\x38\x01\x1aQ\n\x13RequestContextEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.feast.types.RepeatedValue:\x02\x38\x01\x42\x06\n\x04kind\"\xd2\x02\n\x19GetOnlineFeaturesResponse\x12\x42\n\x08metadata\x18\x01 \x01(\x0b\x32\x30.feast.serving.GetOnlineFeaturesResponseMetadata\x12G\n\x07results\x18\x02 \x03(\x0b\x32\x36.feast.serving.GetOnlineFeaturesResponse.FeatureVector\x12\x0e\n\x06status\x18\x03 \x01(\x08\x1a\x97\x01\n\rFeatureVector\x12\"\n\x06values\x18\x01 \x03(\x0b\x32\x12.feast.types.Value\x12,\n\x08statuses\x18\x02 \x03(\x0e\x32\x1a.feast.serving.FieldStatus\x12\x34\n\x10\x65vent_timestamps\x18\x03 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\"4\n\x13\x46\x65\x61tureViewMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x05\"\x99\x01\n!GetOnlineFeaturesResponseMetadata\x12\x31\n\rfeature_names\x18\x01 \x01(\x0b\x32\x1a.feast.serving.FeatureList\x12\x41\n\x15\x66\x65\x61ture_view_metadata\x18\x02 \x03(\x0b\x32\".feast.serving.FeatureViewMetadata*[\n\x0b\x46ieldStatus\x12\x0b\n\x07INVALID\x10\x00\x12\x0b\n\x07PRESENT\x10\x01\x12\x0e\n\nNULL_VALUE\x10\x02\x12\r\n\tNOT_FOUND\x10\x03\x12\x13\n\x0fOUTSIDE_MAX_AGE\x10\x04\x32\xe6\x01\n\x0eServingService\x12l\n\x13GetFeastServingInfo\x12).feast.serving.GetFeastServingInfoRequest\x1a*.feast.serving.GetFeastServingInfoResponse\x12\x66\n\x11GetOnlineFeatures\x12\'.feast.serving.GetOnlineFeaturesRequest\x1a(.feast.serving.GetOnlineFeaturesResponseBZ\n\x13\x66\x65\x61st.proto.servingB\x0fServingAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/servingb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"feast/serving/ServingService.proto\x12\rfeast.serving\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17\x66\x65\x61st/types/Value.proto\"\x1c\n\x1aGetFeastServingInfoRequest\".\n\x1bGetFeastServingInfoResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\"E\n\x12\x46\x65\x61tureReferenceV2\x12\x19\n\x11\x66\x65\x61ture_view_name\x18\x01 \x01(\t\x12\x14\n\x0c\x66\x65\x61ture_name\x18\x02 \x01(\t\"\xfd\x02\n\x1aGetOnlineFeaturesRequestV2\x12\x33\n\x08\x66\x65\x61tures\x18\x04 \x03(\x0b\x32!.feast.serving.FeatureReferenceV2\x12H\n\x0b\x65ntity_rows\x18\x02 \x03(\x0b\x32\x33.feast.serving.GetOnlineFeaturesRequestV2.EntityRow\x12\x0f\n\x07project\x18\x05 \x01(\t\x1a\xce\x01\n\tEntityRow\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12O\n\x06\x66ields\x18\x02 \x03(\x0b\x32?.feast.serving.GetOnlineFeaturesRequestV2.EntityRow.FieldsEntry\x1a\x41\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.feast.types.Value:\x02\x38\x01\"\x1a\n\x0b\x46\x65\x61tureList\x12\x0b\n\x03val\x18\x01 \x03(\t\"\xf7\x03\n\x18GetOnlineFeaturesRequest\x12\x19\n\x0f\x66\x65\x61ture_service\x18\x01 \x01(\tH\x00\x12.\n\x08\x66\x65\x61tures\x18\x02 \x01(\x0b\x32\x1a.feast.serving.FeatureListH\x00\x12G\n\x08\x65ntities\x18\x03 \x03(\x0b\x32\x35.feast.serving.GetOnlineFeaturesRequest.EntitiesEntry\x12\x1a\n\x12\x66ull_feature_names\x18\x04 \x01(\x08\x12T\n\x0frequest_context\x18\x05 \x03(\x0b\x32;.feast.serving.GetOnlineFeaturesRequest.RequestContextEntry\x12-\n%include_feature_view_version_metadata\x18\x06 \x01(\x08\x1aK\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.feast.types.RepeatedValue:\x02\x38\x01\x1aQ\n\x13RequestContextEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.feast.types.RepeatedValue:\x02\x38\x01\x42\x06\n\x04kind\"\x8a\x03\n\x19GetOnlineFeaturesResponse\x12\x42\n\x08metadata\x18\x01 \x01(\x0b\x32\x30.feast.serving.GetOnlineFeaturesResponseMetadata\x12G\n\x07results\x18\x02 \x03(\x0b\x32\x36.feast.serving.GetOnlineFeaturesResponse.FeatureVector\x12\x0e\n\x06status\x18\x03 \x01(\x08\x1a\xcf\x01\n\rFeatureVector\x12\"\n\x06values\x18\x01 \x03(\x0b\x32\x12.feast.types.Value\x12,\n\x08statuses\x18\x02 \x03(\x0e\x32\x1a.feast.serving.FieldStatus\x12\x34\n\x10\x65vent_timestamps\x18\x03 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x63reated_timestamps\x18\x04 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\"4\n\x13\x46\x65\x61tureViewMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x05\"\x99\x01\n!GetOnlineFeaturesResponseMetadata\x12\x31\n\rfeature_names\x18\x01 \x01(\x0b\x32\x1a.feast.serving.FeatureList\x12\x41\n\x15\x66\x65\x61ture_view_metadata\x18\x02 \x03(\x0b\x32\".feast.serving.FeatureViewMetadata*[\n\x0b\x46ieldStatus\x12\x0b\n\x07INVALID\x10\x00\x12\x0b\n\x07PRESENT\x10\x01\x12\x0e\n\nNULL_VALUE\x10\x02\x12\r\n\tNOT_FOUND\x10\x03\x12\x13\n\x0fOUTSIDE_MAX_AGE\x10\x04\x32\xe6\x01\n\x0eServingService\x12l\n\x13GetFeastServingInfo\x12).feast.serving.GetFeastServingInfoRequest\x1a*.feast.serving.GetFeastServingInfoResponse\x12\x66\n\x11GetOnlineFeatures\x12\'.feast.serving.GetOnlineFeaturesRequest\x1a(.feast.serving.GetOnlineFeaturesResponseBZ\n\x13\x66\x65\x61st.proto.servingB\x0fServingAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/servingb\x06proto3') _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=1729 - _globals['_FIELDSTATUS']._serialized_end=1820 + _globals['_FIELDSTATUS']._serialized_start=1785 + _globals['_FIELDSTATUS']._serialized_end=1876 _globals['_GETFEASTSERVINGINFOREQUEST']._serialized_start=111 _globals['_GETFEASTSERVINGINFOREQUEST']._serialized_end=139 _globals['_GETFEASTSERVINGINFORESPONSE']._serialized_start=141 @@ -53,13 +63,13 @@ _globals['_GETONLINEFEATURESREQUEST_REQUESTCONTEXTENTRY']._serialized_start=1087 _globals['_GETONLINEFEATURESREQUEST_REQUESTCONTEXTENTRY']._serialized_end=1168 _globals['_GETONLINEFEATURESRESPONSE']._serialized_start=1179 - _globals['_GETONLINEFEATURESRESPONSE']._serialized_end=1517 + _globals['_GETONLINEFEATURESRESPONSE']._serialized_end=1573 _globals['_GETONLINEFEATURESRESPONSE_FEATUREVECTOR']._serialized_start=1366 - _globals['_GETONLINEFEATURESRESPONSE_FEATUREVECTOR']._serialized_end=1517 - _globals['_FEATUREVIEWMETADATA']._serialized_start=1519 - _globals['_FEATUREVIEWMETADATA']._serialized_end=1571 - _globals['_GETONLINEFEATURESRESPONSEMETADATA']._serialized_start=1574 - _globals['_GETONLINEFEATURESRESPONSEMETADATA']._serialized_end=1727 - _globals['_SERVINGSERVICE']._serialized_start=1823 - _globals['_SERVINGSERVICE']._serialized_end=2053 + _globals['_GETONLINEFEATURESRESPONSE_FEATUREVECTOR']._serialized_end=1573 + _globals['_FEATUREVIEWMETADATA']._serialized_start=1575 + _globals['_FEATUREVIEWMETADATA']._serialized_end=1627 + _globals['_GETONLINEFEATURESRESPONSEMETADATA']._serialized_start=1630 + _globals['_GETONLINEFEATURESRESPONSEMETADATA']._serialized_end=1783 + _globals['_SERVINGSERVICE']._serialized_start=1879 + _globals['_SERVINGSERVICE']._serialized_end=2109 # @@protoc_insertion_point(module_scope) diff --git a/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi b/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi index 1804ce0428e..2eb57b49cc9 100644 --- a/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi +++ b/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi @@ -296,20 +296,24 @@ class GetOnlineFeaturesResponse(google.protobuf.message.Message): VALUES_FIELD_NUMBER: builtins.int STATUSES_FIELD_NUMBER: builtins.int EVENT_TIMESTAMPS_FIELD_NUMBER: builtins.int + CREATED_TIMESTAMPS_FIELD_NUMBER: builtins.int @property def values(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.types.Value_pb2.Value]: ... @property def statuses(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___FieldStatus.ValueType]: ... @property def event_timestamps(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.timestamp_pb2.Timestamp]: ... + @property + def created_timestamps(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.timestamp_pb2.Timestamp]: ... def __init__( self, *, values: collections.abc.Iterable[feast.types.Value_pb2.Value] | None = ..., statuses: collections.abc.Iterable[global___FieldStatus.ValueType] | None = ..., event_timestamps: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] | None = ..., + created_timestamps: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["event_timestamps", b"event_timestamps", "statuses", b"statuses", "values", b"values"]) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamps", b"created_timestamps", "event_timestamps", b"event_timestamps", "statuses", b"statuses", "values", b"values"]) -> None: ... METADATA_FIELD_NUMBER: builtins.int RESULTS_FIELD_NUMBER: builtins.int 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..67cc1497924 100644 --- a/sdk/python/feast/protos/feast/serving/ServingService_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/ServingService_pb2_grpc.py @@ -1,11 +1,31 @@ # 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.81.1' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False -class ServingServiceStub(object): +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},' + + ' 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: """Missing associated documentation comment in .proto file.""" def __init__(self, channel): @@ -18,15 +38,15 @@ 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): +class ServingServiceServicer: """Missing associated documentation comment in .proto file.""" def GetFeastServingInfo(self, request, context): @@ -60,10 +80,11 @@ 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. -class ServingService(object): +class ServingService: """Missing associated documentation comment in .proto file.""" @staticmethod @@ -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..538b1f8b9dd 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..c97a7498e25 100644 --- a/sdk/python/feast/protos/feast/serving/TransformationService_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/TransformationService_pb2_grpc.py @@ -1,11 +1,31 @@ # 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.81.1' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False -class TransformationServiceStub(object): +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},' + + ' 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: """Missing associated documentation comment in .proto file.""" def __init__(self, channel): @@ -18,15 +38,15 @@ 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): +class TransformationServiceServicer: """Missing associated documentation comment in .proto file.""" def GetTransformationServiceInfo(self, request, context): @@ -58,10 +78,11 @@ 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. -class TransformationService(object): +class TransformationService: """Missing associated documentation comment in .proto file.""" @staticmethod @@ -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..30d3a94b02a 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..4af036cf5b5 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.81.1' +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},' + + ' 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..9934ca27dff 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..7df6125a9cf 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.81.1' +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},' + + ' 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..0cd77d2249c 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: 6.33.5 """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, + 6, + 33, + 5, + '', + '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..df6f8e63152 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.81.1' +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},' + + ' 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 96d93ceef56..f1e8b24e069 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: 6.33.5 """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, + 6, + 33, + 5, + '', + 'feast/types/Value.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,10 +29,10 @@ _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['_MAP_VALENTRY']._options = None + _globals['_MAP_VALENTRY']._loaded_options = None _globals['_MAP_VALENTRY']._serialized_options = b'8\001' _globals['_NULL']._serialized_start=3605 _globals['_NULL']._serialized_end=3621 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..85a9dcd60bd 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.81.1' +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},' + + ' 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/feast/utils.py b/sdk/python/feast/utils.py index 831ed622d06..e8730c8eb7d 100644 --- a/sdk/python/feast/utils.py +++ b/sdk/python/feast/utils.py @@ -1653,7 +1653,9 @@ def _get_entity_key_protos( def _populate_response_from_feature_data( requested_features: List[str], - read_rows: List[Tuple[Optional[datetime], Optional[Dict[str, ValueProto]]]], + read_rows: List[ + Tuple[Optional[datetime], Optional[Dict[str, ValueProto]], Optional[datetime]] + ], indexes: Iterable[List[int]], online_features_response: GetOnlineFeaturesResponse, full_feature_names: bool, @@ -1708,25 +1710,33 @@ def _populate_response_from_feature_data( NOT_FOUND = FieldStatus.NOT_FOUND row_ts_protos = [] - for row_ts, _ in read_rows: + created_ts_protos = [] + for row_ts, _, created_ts in read_rows: ts = Timestamp() if row_ts is not None: ts.FromDatetime(row_ts) row_ts_protos.append(ts) + c_ts = Timestamp() + if created_ts is not None: + c_ts.FromDatetime(created_ts) + created_ts_protos.append(c_ts) + ts_template = [null_ts] * output_len + created_ts_template = [null_ts] * output_len indexes_tuple = tuple(indexes) for row_idx, destinations in enumerate(indexes_tuple): ts = row_ts_protos[row_idx] + c_ts = created_ts_protos[row_idx] for out_idx in destinations: ts_template[out_idx] = ts - + created_ts_template[out_idx] = c_ts feat_values = [[null_value] * output_len for _ in range(n_features)] feat_statuses = [[NOT_FOUND] * output_len for _ in range(n_features)] feat_idx_map = {name: i for i, name in enumerate(requested_features)} for row_idx, destinations in enumerate(indexes_tuple): - _, feature_data = read_rows[row_idx] + _, feature_data, _ = read_rows[row_idx] if feature_data is None: continue for feat_name, feat_val in feature_data.items(): @@ -1751,6 +1761,7 @@ def _populate_response_from_feature_data( values=feat_values[f_idx], statuses=feat_statuses[f_idx], event_timestamps=list(ts_template), + created_timestamps=list(created_ts_template), ) ) diff --git a/sdk/python/tests/unit/test_online_response.py b/sdk/python/tests/unit/test_online_response.py new file mode 100644 index 00000000000..b32a41b22e1 --- /dev/null +++ b/sdk/python/tests/unit/test_online_response.py @@ -0,0 +1,51 @@ +from datetime import datetime, timezone + +from google.protobuf.timestamp_pb2 import Timestamp + +from feast.online_response import OnlineResponse +from feast.protos.feast.serving.ServingService_pb2 import ( + FieldStatus, + GetOnlineFeaturesResponse, +) +from feast.protos.feast.types.Value_pb2 import Value as ValueProto + + +def test_online_response_include_created_timestamps(): + # Construct a sample GetOnlineFeaturesResponse proto + event_ts = Timestamp() + event_ts.FromDatetime(datetime(2026, 1, 1, 12, 0, 0, tzinfo=timezone.utc)) + + created_ts = Timestamp() + created_ts.FromDatetime(datetime(2026, 1, 1, 12, 5, 0, tzinfo=timezone.utc)) + + proto = GetOnlineFeaturesResponse() + proto.metadata.feature_names.val.append("driver_fv:conv_rate") + + proto.results.append( + GetOnlineFeaturesResponse.FeatureVector( + values=[ValueProto(float_val=0.85)], + statuses=[FieldStatus.PRESENT], + event_timestamps=[event_ts], + created_timestamps=[created_ts], + ) + ) + + response = OnlineResponse(proto) + + # 1. Test dictionary with both timestamps enabled + res_dict = response.to_dict( + include_event_timestamps=True, + include_created_timestamps=True, + ) + assert "driver_fv:conv_rate" in res_dict + assert "driver_fv:conv_rate__ts" in res_dict + assert "driver_fv:conv_rate__created_timestamp" in res_dict + assert res_dict["driver_fv:conv_rate__created_timestamp"] == [created_ts.seconds] + + # 2. Test DataFrame with both timestamps enabled + df = response.to_df( + include_event_timestamps=True, + include_created_timestamps=True, + ) + assert "driver_fv:conv_rate__created_timestamp" in df.columns + assert df["driver_fv:conv_rate__created_timestamp"].iloc[0] == created_ts.seconds