From 4c7757a84e91bd8af05b86fdf095f745bcff44cb Mon Sep 17 00:00:00 2001 From: Nick Quinn Date: Mon, 16 Mar 2026 11:27:15 -0700 Subject: [PATCH 1/8] feat: add typed_features field to PushRequest and WriteToOnlineStoreRequest (#6117) Signed-off-by: Nick Quinn --- protos/feast/serving/GrpcServer.proto | 3 + sdk/python/feast/infra/contrib/grpc_server.py | 26 +- .../protos/feast/core/Aggregation_pb2.py | 20 +- .../protos/feast/core/Aggregation_pb2.pyi | 65 +- .../protos/feast/core/Aggregation_pb2_grpc.py | 20 + .../feast/protos/feast/core/DataFormat_pb2.py | 24 +- .../protos/feast/core/DataFormat_pb2.pyi | 354 ++- .../protos/feast/core/DataFormat_pb2_grpc.py | 20 + .../feast/protos/feast/core/DataSource_pb2.py | 22 +- .../protos/feast/core/DataSource_pb2.pyi | 711 +++-- .../protos/feast/core/DataSource_pb2_grpc.py | 20 + .../protos/feast/core/DatastoreTable_pb2.py | 16 +- .../protos/feast/core/DatastoreTable_pb2.pyi | 70 +- .../feast/core/DatastoreTable_pb2_grpc.py | 20 + .../feast/protos/feast/core/Entity_pb2.py | 18 +- .../feast/protos/feast/core/Entity_pb2.pyi | 181 +- .../protos/feast/core/Entity_pb2_grpc.py | 20 + .../protos/feast/core/FeatureService_pb2.py | 20 +- .../protos/feast/core/FeatureService_pb2.pyi | 444 +-- .../feast/core/FeatureService_pb2_grpc.py | 20 + .../protos/feast/core/FeatureTable_pb2.py | 18 +- .../protos/feast/core/FeatureTable_pb2.pyi | 213 +- .../feast/core/FeatureTable_pb2_grpc.py | 20 + .../feast/core/FeatureViewProjection_pb2.py | 18 +- .../feast/core/FeatureViewProjection_pb2.pyi | 123 +- .../core/FeatureViewProjection_pb2_grpc.py | 20 + .../protos/feast/core/FeatureView_pb2.py | 18 +- .../protos/feast/core/FeatureView_pb2.pyi | 335 +- .../protos/feast/core/FeatureView_pb2_grpc.py | 20 + .../feast/protos/feast/core/Feature_pb2.py | 18 +- .../feast/protos/feast/core/Feature_pb2.pyi | 99 +- .../protos/feast/core/Feature_pb2_grpc.py | 20 + .../protos/feast/core/InfraObject_pb2.py | 16 +- .../protos/feast/core/InfraObject_pb2.pyi | 104 +- .../protos/feast/core/InfraObject_pb2_grpc.py | 20 + .../feast/core/OnDemandFeatureView_pb2.py | 24 +- .../feast/core/OnDemandFeatureView_pb2.pyi | 372 ++- .../core/OnDemandFeatureView_pb2_grpc.py | 20 + .../feast/protos/feast/core/Permission_pb2.py | 20 +- .../protos/feast/core/Permission_pb2.pyi | 225 +- .../protos/feast/core/Permission_pb2_grpc.py | 20 + .../feast/protos/feast/core/Policy_pb2.py | 16 +- .../feast/protos/feast/core/Policy_pb2.pyi | 172 +- .../protos/feast/core/Policy_pb2_grpc.py | 20 + .../feast/protos/feast/core/Project_pb2.py | 18 +- .../feast/protos/feast/core/Project_pb2.pyi | 143 +- .../protos/feast/core/Project_pb2_grpc.py | 20 + .../feast/protos/feast/core/Registry_pb2.py | 18 +- .../feast/protos/feast/core/Registry_pb2.pyi | 214 +- .../protos/feast/core/Registry_pb2_grpc.py | 20 + .../protos/feast/core/SavedDataset_pb2.py | 18 +- .../protos/feast/core/SavedDataset_pb2.pyi | 299 +- .../feast/core/SavedDataset_pb2_grpc.py | 20 + .../protos/feast/core/SqliteTable_pb2.py | 16 +- .../protos/feast/core/SqliteTable_pb2.pyi | 38 +- .../protos/feast/core/SqliteTable_pb2_grpc.py | 20 + .../feast/protos/feast/core/Store_pb2.py | 16 +- .../feast/protos/feast/core/Store_pb2.pyi | 223 +- .../feast/protos/feast/core/Store_pb2_grpc.py | 20 + .../feast/core/StreamFeatureView_pb2.py | 20 +- .../feast/core/StreamFeatureView_pb2.pyi | 272 +- .../feast/core/StreamFeatureView_pb2_grpc.py | 20 + .../protos/feast/core/Transformation_pb2.py | 16 +- .../protos/feast/core/Transformation_pb2.pyi | 105 +- .../feast/core/Transformation_pb2_grpc.py | 20 + .../feast/core/ValidationProfile_pb2.py | 18 +- .../feast/core/ValidationProfile_pb2.pyi | 170 +- .../feast/core/ValidationProfile_pb2_grpc.py | 20 + .../feast/registry/RegistryServer_pb2.py | 40 +- .../feast/registry/RegistryServer_pb2.pyi | 2812 +++++++++-------- .../feast/registry/RegistryServer_pb2_grpc.py | 903 ++++-- .../protos/feast/serving/Connector_pb2.py | 16 +- .../protos/feast/serving/Connector_pb2.pyi | 133 +- .../feast/serving/Connector_pb2_grpc.py | 39 +- .../protos/feast/serving/GrpcServer_pb2.py | 59 +- .../protos/feast/serving/GrpcServer_pb2.pyi | 211 +- .../feast/serving/GrpcServer_pb2_grpc.py | 75 +- .../feast/serving/ServingService_pb2.py | 22 +- .../feast/serving/ServingService_pb2.pyi | 408 +-- .../feast/serving/ServingService_pb2_grpc.py | 57 +- .../serving/TransformationService_pb2.py | 16 +- .../serving/TransformationService_pb2.pyi | 145 +- .../serving/TransformationService_pb2_grpc.py | 57 +- .../feast/protos/feast/storage/Redis_pb2.py | 16 +- .../feast/protos/feast/storage/Redis_pb2.pyi | 60 +- .../protos/feast/storage/Redis_pb2_grpc.py | 20 + .../feast/protos/feast/types/EntityKey_pb2.py | 16 +- .../protos/feast/types/EntityKey_pb2.pyi | 48 +- .../protos/feast/types/EntityKey_pb2_grpc.py | 20 + .../feast/protos/feast/types/Field_pb2.py | 18 +- .../feast/protos/feast/types/Field_pb2.pyi | 81 +- .../protos/feast/types/Field_pb2_grpc.py | 20 + .../feast/protos/feast/types/Value_pb2.py | 18 +- .../feast/protos/feast/types/Value_pb2.pyi | 634 ++-- .../protos/feast/types/Value_pb2_grpc.py | 20 + .../unit/test_grpc_server_write_protos.py | 90 + 96 files changed, 7181 insertions(+), 4682 deletions(-) create mode 100644 sdk/python/tests/unit/test_grpc_server_write_protos.py diff --git a/protos/feast/serving/GrpcServer.proto b/protos/feast/serving/GrpcServer.proto index 19caf0b711..44d7c393b7 100644 --- a/protos/feast/serving/GrpcServer.proto +++ b/protos/feast/serving/GrpcServer.proto @@ -1,6 +1,7 @@ syntax = "proto3"; import "feast/serving/ServingService.proto"; +import "feast/types/Value.proto"; option java_package = "feast.proto.serving"; option java_outer_classname = "GrpcServerAPIProto"; @@ -11,6 +12,7 @@ message PushRequest { string stream_feature_view = 2; bool allow_registry_cache = 3; string to = 4; + map typed_features = 5; } message PushResponse { @@ -21,6 +23,7 @@ message WriteToOnlineStoreRequest { map features = 1; string feature_view_name = 2; bool allow_registry_cache = 3; + map typed_features = 4; } message WriteToOnlineStoreResponse { diff --git a/sdk/python/feast/infra/contrib/grpc_server.py b/sdk/python/feast/infra/contrib/grpc_server.py index b6ed6cb25d..d916cbd030 100644 --- a/sdk/python/feast/infra/contrib/grpc_server.py +++ b/sdk/python/feast/infra/contrib/grpc_server.py @@ -34,6 +34,14 @@ def parse(features): return pd.DataFrame.from_dict(df) +def parse_typed(typed_features): + df = {} + for key, value in typed_features.items(): + val_case = value.WhichOneof("val") + df[key] = [getattr(value, val_case) if val_case is not None else None] + return pd.DataFrame.from_dict(df) + + class GrpcFeatureServer(GrpcFeatureServerServicer): fs: FeatureStore @@ -49,7 +57,13 @@ def __init__(self, fs: FeatureStore, registry_ttl_sec: int = 5): def Push(self, request, context): try: - df = parse(request.features) + if request.features and request.typed_features: + context.set_code(grpc.StatusCode.INVALID_ARGUMENT) + context.set_details( + "Only one of features or typed_features may be set, not both" + ) + return PushResponse(status=False) + df = parse_typed(request.typed_features) if request.typed_features else parse(request.features) if request.to == "offline": to = PushMode.OFFLINE elif request.to == "online": @@ -84,7 +98,13 @@ def WriteToOnlineStore(self, request, context): "write_to_online_store is deprecated. Please consider using Push instead" ) try: - df = parse(request.features) + if request.features and request.typed_features: + context.set_code(grpc.StatusCode.INVALID_ARGUMENT) + context.set_details( + "Only one of features or typed_features may be set, not both" + ) + return WriteToOnlineStoreResponse(status=False) + df = parse_typed(request.typed_features) if request.typed_features else parse(request.features) self.fs.write_to_online_store( feature_view_name=request.feature_view_name, df=df, @@ -94,7 +114,7 @@ def WriteToOnlineStore(self, request, context): logger.exception(str(e)) context.set_code(grpc.StatusCode.INTERNAL) context.set_details(str(e)) - return PushResponse(status=False) + return WriteToOnlineStoreResponse(status=False) return WriteToOnlineStoreResponse(status=True) def GetOnlineFeatures(self, request: GetOnlineFeaturesRequest, context): diff --git a/sdk/python/feast/protos/feast/core/Aggregation_pb2.py b/sdk/python/feast/protos/feast/core/Aggregation_pb2.py index 48f107b8ef..3eaf7ef184 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.31.1 """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, + 31, + 1, + '', + 'feast/core/Aggregation.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,14 +25,14 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cfeast/core/Aggregation.proto\x12\nfeast.core\x1a\x1egoogle/protobuf/duration.proto\"\xd3\x01\n\x0bAggregation\x12\x16\n\x06column\x18\x01 \x01(\tR\x06column\x12\x1a\n\x08function\x18\x02 \x01(\tR\x08function\x12:\n\x0btime_window\x18\x03 \x01(\x0b2\x19.google.protobuf.DurationR\ntimeWindow\x12@\n\x0eslide_interval\x18\x04 \x01(\x0b2\x19.google.protobuf.DurationR\rslideInterval\x12\x12\n\x04name\x18\x05 \x01(\tR\x04nameBU\n\x10feast.proto.coreB\x10AggregationProtoZ/github.com/feast-dev/feast/go/protos/feast/coreb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66\x65\x61st/core/Aggregation.proto\x12\nfeast.core\x1a\x1egoogle/protobuf/duration.proto\"\xa0\x01\n\x0b\x41ggregation\x12\x0e\n\x06\x63olumn\x18\x01 \x01(\t\x12\x10\n\x08\x66unction\x18\x02 \x01(\t\x12.\n\x0btime_window\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0eslide_interval\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0c\n\x04name\x18\x05 \x01(\tBU\n\x10\x66\x65\x61st.proto.coreB\x10\x41ggregationProtoZ/github.com/feast-dev/feast/go/protos/feast/coreb\x06proto3') _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=288 + _globals['_AGGREGATION']._serialized_end=237 # @@protoc_insertion_point(module_scope) diff --git a/sdk/python/feast/protos/feast/core/Aggregation_pb2.pyi b/sdk/python/feast/protos/feast/core/Aggregation_pb2.pyi index af9ec2b191..4b5c1cac9a 100644 --- a/sdk/python/feast/protos/feast/core/Aggregation_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Aggregation_pb2.pyi @@ -2,44 +2,49 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ -import builtins -import google.protobuf.descriptor -import google.protobuf.duration_pb2 -import google.protobuf.message + +from google.protobuf import descriptor as _descriptor +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf import message as _message +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class Aggregation(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Aggregation(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - COLUMN_FIELD_NUMBER: builtins.int - FUNCTION_FIELD_NUMBER: builtins.int - TIME_WINDOW_FIELD_NUMBER: builtins.int - SLIDE_INTERVAL_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - column: builtins.str - function: builtins.str - name: builtins.str - @property - def time_window(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def slide_interval(self) -> google.protobuf.duration_pb2.Duration: ... + COLUMN_FIELD_NUMBER: _builtins.int + FUNCTION_FIELD_NUMBER: _builtins.int + TIME_WINDOW_FIELD_NUMBER: _builtins.int + SLIDE_INTERVAL_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + column: _builtins.str + function: _builtins.str + name: _builtins.str + @_builtins.property + def time_window(self) -> _duration_pb2.Duration: ... + @_builtins.property + def slide_interval(self) -> _duration_pb2.Duration: ... def __init__( self, *, - column: builtins.str = ..., - function: builtins.str = ..., - time_window: google.protobuf.duration_pb2.Duration | None = ..., - slide_interval: google.protobuf.duration_pb2.Duration | None = ..., - name: builtins.str = ..., + column: _builtins.str = ..., + function: _builtins.str = ..., + time_window: _duration_pb2.Duration | None = ..., + slide_interval: _duration_pb2.Duration | None = ..., + name: _builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["slide_interval", b"slide_interval", "time_window", b"time_window"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["column", b"column", "function", b"function", "name", b"name", "slide_interval", b"slide_interval", "time_window", b"time_window"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["slide_interval", b"slide_interval", "time_window", b"time_window"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["column", b"column", "function", b"function", "name", b"name", "slide_interval", b"slide_interval", "time_window", b"time_window"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Aggregation = Aggregation +Global___Aggregation: _TypeAlias = Aggregation # noqa: Y015 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 2daafffebf..a645a77ee6 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 b90958cb32..2aefe8da7b 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/DataFormat_pb2.pyi index 193fb82a77..fa5291fac2 100644 --- a/sdk/python/feast/protos/feast/core/DataFormat_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/DataFormat_pb2.pyi @@ -16,272 +16,318 @@ 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 -import collections.abc -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message + +from collections import abc as _abc +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing + +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias +else: + from typing_extensions import TypeAlias as _TypeAlias -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 13): + from warnings import deprecated as _deprecated else: - import typing_extensions + from typing_extensions import deprecated as _deprecated -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class FileFormat(google.protobuf.message.Message): +@_typing.final +class FileFormat(_message.Message): """Defines the file format encoding the features/entity data in files""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class ParquetFormat(google.protobuf.message.Message): + @_typing.final + class ParquetFormat(_message.Message): """Defines options for the Parquet data format""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor def __init__( self, ) -> None: ... - PARQUET_FORMAT_FIELD_NUMBER: builtins.int - DELTA_FORMAT_FIELD_NUMBER: builtins.int - @property - def parquet_format(self) -> global___FileFormat.ParquetFormat: ... - @property - def delta_format(self) -> global___TableFormat.DeltaFormat: + PARQUET_FORMAT_FIELD_NUMBER: _builtins.int + DELTA_FORMAT_FIELD_NUMBER: _builtins.int + @_builtins.property + def parquet_format(self) -> Global___FileFormat.ParquetFormat: ... + @_builtins.property + @_deprecated("""This field has been marked as deprecated using proto field options.""") + def delta_format(self) -> Global___TableFormat.DeltaFormat: """Deprecated: Delta Lake is a table format, not a file format. Use TableFormat.DeltaFormat instead for Delta Lake support. """ + def __init__( self, *, - parquet_format: global___FileFormat.ParquetFormat | None = ..., - delta_format: global___TableFormat.DeltaFormat | None = ..., + parquet_format: Global___FileFormat.ParquetFormat | None = ..., + delta_format: Global___TableFormat.DeltaFormat | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["delta_format", b"delta_format", "format", b"format", "parquet_format", b"parquet_format"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["delta_format", b"delta_format", "format", b"format", "parquet_format", b"parquet_format"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["format", b"format"]) -> typing_extensions.Literal["parquet_format", "delta_format"] | None: ... - -global___FileFormat = FileFormat - -class TableFormat(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - class IcebergFormat(google.protobuf.message.Message): + _HasFieldArgType: _TypeAlias = _typing.Literal["delta_format", b"delta_format", "format", b"format", "parquet_format", b"parquet_format"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["delta_format", b"delta_format", "format", b"format", "parquet_format", b"parquet_format"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_format: _TypeAlias = _typing.Literal["parquet_format", "delta_format"] # noqa: Y015 + _WhichOneofArgType_format: _TypeAlias = _typing.Literal["format", b"format"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_format) -> _WhichOneofReturnType_format | None: ... + +Global___FileFormat: _TypeAlias = FileFormat # noqa: Y015 + +@_typing.final +class TableFormat(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + @_typing.final + class IcebergFormat(_message.Message): """Defines options for Apache Iceberg table format""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class PropertiesEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class PropertiesEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - CATALOG_FIELD_NUMBER: builtins.int - NAMESPACE_FIELD_NUMBER: builtins.int - PROPERTIES_FIELD_NUMBER: builtins.int - catalog: builtins.str + CATALOG_FIELD_NUMBER: _builtins.int + NAMESPACE_FIELD_NUMBER: _builtins.int + PROPERTIES_FIELD_NUMBER: _builtins.int + catalog: _builtins.str """Optional catalog name for the Iceberg table""" - namespace: builtins.str + namespace: _builtins.str """Optional namespace (schema/database) within the catalog""" - @property - def properties(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + @_builtins.property + def properties(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: """Additional properties for Iceberg configuration Examples: warehouse location, snapshot-id, as-of-timestamp, etc. """ + def __init__( self, *, - catalog: builtins.str = ..., - namespace: builtins.str = ..., - properties: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + catalog: _builtins.str = ..., + namespace: _builtins.str = ..., + properties: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["catalog", b"catalog", "namespace", b"namespace", "properties", b"properties"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["catalog", b"catalog", "namespace", b"namespace", "properties", b"properties"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class DeltaFormat(google.protobuf.message.Message): + @_typing.final + class DeltaFormat(_message.Message): """Defines options for Delta Lake table format""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class PropertiesEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class PropertiesEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - CHECKPOINT_LOCATION_FIELD_NUMBER: builtins.int - PROPERTIES_FIELD_NUMBER: builtins.int - checkpoint_location: builtins.str + CHECKPOINT_LOCATION_FIELD_NUMBER: _builtins.int + PROPERTIES_FIELD_NUMBER: _builtins.int + checkpoint_location: _builtins.str """Optional checkpoint location for Delta transaction logs""" - @property - def properties(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + @_builtins.property + def properties(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: """Additional properties for Delta configuration Examples: auto-optimize settings, vacuum settings, etc. """ + def __init__( self, *, - checkpoint_location: builtins.str = ..., - properties: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + checkpoint_location: _builtins.str = ..., + properties: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["checkpoint_location", b"checkpoint_location", "properties", b"properties"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["checkpoint_location", b"checkpoint_location", "properties", b"properties"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class HudiFormat(google.protobuf.message.Message): + @_typing.final + class HudiFormat(_message.Message): """Defines options for Apache Hudi table format""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class PropertiesEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class PropertiesEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - TABLE_TYPE_FIELD_NUMBER: builtins.int - RECORD_KEY_FIELD_NUMBER: builtins.int - PRECOMBINE_FIELD_FIELD_NUMBER: builtins.int - PROPERTIES_FIELD_NUMBER: builtins.int - table_type: builtins.str + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + TABLE_TYPE_FIELD_NUMBER: _builtins.int + RECORD_KEY_FIELD_NUMBER: _builtins.int + PRECOMBINE_FIELD_FIELD_NUMBER: _builtins.int + PROPERTIES_FIELD_NUMBER: _builtins.int + table_type: _builtins.str """Type of Hudi table (COPY_ON_WRITE or MERGE_ON_READ)""" - record_key: builtins.str + record_key: _builtins.str """Field(s) that uniquely identify a record""" - precombine_field: builtins.str + precombine_field: _builtins.str """Field used to determine the latest version of a record""" - @property - def properties(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + @_builtins.property + def properties(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: """Additional properties for Hudi configuration Examples: compaction strategy, indexing options, etc. """ + def __init__( self, *, - table_type: builtins.str = ..., - record_key: builtins.str = ..., - precombine_field: builtins.str = ..., - properties: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + table_type: _builtins.str = ..., + record_key: _builtins.str = ..., + precombine_field: _builtins.str = ..., + properties: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["precombine_field", b"precombine_field", "properties", b"properties", "record_key", b"record_key", "table_type", b"table_type"]) -> None: ... - - ICEBERG_FORMAT_FIELD_NUMBER: builtins.int - DELTA_FORMAT_FIELD_NUMBER: builtins.int - HUDI_FORMAT_FIELD_NUMBER: builtins.int - @property - def iceberg_format(self) -> global___TableFormat.IcebergFormat: ... - @property - def delta_format(self) -> global___TableFormat.DeltaFormat: ... - @property - def hudi_format(self) -> global___TableFormat.HudiFormat: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["precombine_field", b"precombine_field", "properties", b"properties", "record_key", b"record_key", "table_type", b"table_type"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + ICEBERG_FORMAT_FIELD_NUMBER: _builtins.int + DELTA_FORMAT_FIELD_NUMBER: _builtins.int + HUDI_FORMAT_FIELD_NUMBER: _builtins.int + @_builtins.property + def iceberg_format(self) -> Global___TableFormat.IcebergFormat: ... + @_builtins.property + def delta_format(self) -> Global___TableFormat.DeltaFormat: ... + @_builtins.property + def hudi_format(self) -> Global___TableFormat.HudiFormat: ... def __init__( self, *, - iceberg_format: global___TableFormat.IcebergFormat | None = ..., - delta_format: global___TableFormat.DeltaFormat | None = ..., - hudi_format: global___TableFormat.HudiFormat | None = ..., + iceberg_format: Global___TableFormat.IcebergFormat | None = ..., + delta_format: Global___TableFormat.DeltaFormat | None = ..., + hudi_format: Global___TableFormat.HudiFormat | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["delta_format", b"delta_format", "format", b"format", "hudi_format", b"hudi_format", "iceberg_format", b"iceberg_format"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["delta_format", b"delta_format", "format", b"format", "hudi_format", b"hudi_format", "iceberg_format", b"iceberg_format"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["format", b"format"]) -> typing_extensions.Literal["iceberg_format", "delta_format", "hudi_format"] | None: ... - -global___TableFormat = TableFormat - -class StreamFormat(google.protobuf.message.Message): + _HasFieldArgType: _TypeAlias = _typing.Literal["delta_format", b"delta_format", "format", b"format", "hudi_format", b"hudi_format", "iceberg_format", b"iceberg_format"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["delta_format", b"delta_format", "format", b"format", "hudi_format", b"hudi_format", "iceberg_format", b"iceberg_format"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_format: _TypeAlias = _typing.Literal["iceberg_format", "delta_format", "hudi_format"] # noqa: Y015 + _WhichOneofArgType_format: _TypeAlias = _typing.Literal["format", b"format"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_format) -> _WhichOneofReturnType_format | None: ... + +Global___TableFormat: _TypeAlias = TableFormat # noqa: Y015 + +@_typing.final +class StreamFormat(_message.Message): """Defines the data format encoding features/entity data in data streams""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class ProtoFormat(google.protobuf.message.Message): + @_typing.final + class ProtoFormat(_message.Message): """Defines options for the protobuf data format""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - CLASS_PATH_FIELD_NUMBER: builtins.int - class_path: builtins.str + CLASS_PATH_FIELD_NUMBER: _builtins.int + class_path: _builtins.str """Classpath to the generated Java Protobuf class that can be used to decode Feature data from the obtained stream message """ def __init__( self, *, - class_path: builtins.str = ..., + class_path: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["class_path", b"class_path"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["class_path", b"class_path"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class AvroFormat(google.protobuf.message.Message): + @_typing.final + class AvroFormat(_message.Message): """Defines options for the avro data format""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - SCHEMA_JSON_FIELD_NUMBER: builtins.int - schema_json: builtins.str + SCHEMA_JSON_FIELD_NUMBER: _builtins.int + schema_json: _builtins.str """Optional if used in a File DataSource as schema is embedded in avro file. Specifies the schema of the Avro message as JSON string. """ def __init__( self, *, - schema_json: builtins.str = ..., + schema_json: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["schema_json", b"schema_json"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["schema_json", b"schema_json"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class JsonFormat(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class JsonFormat(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SCHEMA_JSON_FIELD_NUMBER: builtins.int - schema_json: builtins.str + SCHEMA_JSON_FIELD_NUMBER: _builtins.int + schema_json: _builtins.str def __init__( self, *, - schema_json: builtins.str = ..., + schema_json: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["schema_json", b"schema_json"]) -> None: ... - - AVRO_FORMAT_FIELD_NUMBER: builtins.int - PROTO_FORMAT_FIELD_NUMBER: builtins.int - JSON_FORMAT_FIELD_NUMBER: builtins.int - @property - def avro_format(self) -> global___StreamFormat.AvroFormat: ... - @property - def proto_format(self) -> global___StreamFormat.ProtoFormat: ... - @property - def json_format(self) -> global___StreamFormat.JsonFormat: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["schema_json", b"schema_json"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + AVRO_FORMAT_FIELD_NUMBER: _builtins.int + PROTO_FORMAT_FIELD_NUMBER: _builtins.int + JSON_FORMAT_FIELD_NUMBER: _builtins.int + @_builtins.property + def avro_format(self) -> Global___StreamFormat.AvroFormat: ... + @_builtins.property + def proto_format(self) -> Global___StreamFormat.ProtoFormat: ... + @_builtins.property + def json_format(self) -> Global___StreamFormat.JsonFormat: ... def __init__( self, *, - avro_format: global___StreamFormat.AvroFormat | None = ..., - proto_format: global___StreamFormat.ProtoFormat | None = ..., - json_format: global___StreamFormat.JsonFormat | None = ..., + avro_format: Global___StreamFormat.AvroFormat | None = ..., + proto_format: Global___StreamFormat.ProtoFormat | None = ..., + json_format: Global___StreamFormat.JsonFormat | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["avro_format", b"avro_format", "format", b"format", "json_format", b"json_format", "proto_format", b"proto_format"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["avro_format", b"avro_format", "format", b"format", "json_format", b"json_format", "proto_format", b"proto_format"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["format", b"format"]) -> typing_extensions.Literal["avro_format", "proto_format", "json_format"] | None: ... - -global___StreamFormat = StreamFormat + _HasFieldArgType: _TypeAlias = _typing.Literal["avro_format", b"avro_format", "format", b"format", "json_format", b"json_format", "proto_format", b"proto_format"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["avro_format", b"avro_format", "format", b"format", "json_format", b"json_format", "proto_format", b"proto_format"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_format: _TypeAlias = _typing.Literal["avro_format", "proto_format", "json_format"] # noqa: Y015 + _WhichOneofArgType_format: _TypeAlias = _typing.Literal["format", b"format"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_format) -> _WhichOneofReturnType_format | None: ... + +Global___StreamFormat: _TypeAlias = StreamFormat # noqa: Y015 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 2daafffebf..e79c2fe436 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 f308623358..026657ac72 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.31.1 """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, + 31, + 1, + '', + '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=3270 diff --git a/sdk/python/feast/protos/feast/core/DataSource_pb2.pyi b/sdk/python/feast/protos/feast/core/DataSource_pb2.pyi index 7876e1adc9..7244ad5cfe 100644 --- a/sdk/python/feast/protos/feast/core/DataSource_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/DataSource_pb2.pyi @@ -16,40 +16,42 @@ 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 -import collections.abc -import feast.core.DataFormat_pb2 -import feast.core.Feature_pb2 -import feast.types.Value_pb2 -import google.protobuf.descriptor -import google.protobuf.duration_pb2 -import google.protobuf.internal.containers -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from feast.core import DataFormat_pb2 as _DataFormat_pb2 +from feast.core import Feature_pb2 as _Feature_pb2 +from feast.types import Value_pb2 as _Value_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +import builtins as _builtins import sys -import typing +import typing as _typing if sys.version_info >= (3, 10): - import typing as typing_extensions + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class DataSource(google.protobuf.message.Message): +@_typing.final +class DataSource(_message.Message): """Defines a Data Source that can be used source Feature data Next available id: 28 """ - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor class _SourceType: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 - class _SourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[DataSource._SourceType.ValueType], builtins.type): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + class _SourceTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[DataSource._SourceType.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor INVALID: DataSource._SourceType.ValueType # 0 BATCH_FILE: DataSource._SourceType.ValueType # 1 BATCH_SNOWFLAKE: DataSource._SourceType.ValueType # 8 @@ -83,510 +85,559 @@ class DataSource(google.protobuf.message.Message): BATCH_SPARK: DataSource.SourceType.ValueType # 11 BATCH_ATHENA: DataSource.SourceType.ValueType # 12 - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class FieldMappingEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class FieldMappingEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class SourceMeta(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - EARLIESTEVENTTIMESTAMP_FIELD_NUMBER: builtins.int - LATESTEVENTTIMESTAMP_FIELD_NUMBER: builtins.int - CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int - @property - def earliestEventTimestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def latestEventTimestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + @_typing.final + class SourceMeta(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + EARLIESTEVENTTIMESTAMP_FIELD_NUMBER: _builtins.int + LATESTEVENTTIMESTAMP_FIELD_NUMBER: _builtins.int + CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + @_builtins.property + def earliestEventTimestamp(self) -> _timestamp_pb2.Timestamp: ... + @_builtins.property + def latestEventTimestamp(self) -> _timestamp_pb2.Timestamp: ... + @_builtins.property + def created_timestamp(self) -> _timestamp_pb2.Timestamp: ... + @_builtins.property + def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: ... def __init__( self, *, - earliestEventTimestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - latestEventTimestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + earliestEventTimestamp: _timestamp_pb2.Timestamp | None = ..., + latestEventTimestamp: _timestamp_pb2.Timestamp | None = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "earliestEventTimestamp", b"earliestEventTimestamp", "last_updated_timestamp", b"last_updated_timestamp", "latestEventTimestamp", b"latestEventTimestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "earliestEventTimestamp", b"earliestEventTimestamp", "last_updated_timestamp", b"last_updated_timestamp", "latestEventTimestamp", b"latestEventTimestamp"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "earliestEventTimestamp", b"earliestEventTimestamp", "last_updated_timestamp", b"last_updated_timestamp", "latestEventTimestamp", b"latestEventTimestamp"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "earliestEventTimestamp", b"earliestEventTimestamp", "last_updated_timestamp", b"last_updated_timestamp", "latestEventTimestamp", b"latestEventTimestamp"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class FileOptions(google.protobuf.message.Message): + @_typing.final + class FileOptions(_message.Message): """Defines options for DataSource that sources features from a file""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - FILE_FORMAT_FIELD_NUMBER: builtins.int - URI_FIELD_NUMBER: builtins.int - S3_ENDPOINT_OVERRIDE_FIELD_NUMBER: builtins.int - @property - def file_format(self) -> feast.core.DataFormat_pb2.FileFormat: ... - uri: builtins.str + FILE_FORMAT_FIELD_NUMBER: _builtins.int + URI_FIELD_NUMBER: _builtins.int + S3_ENDPOINT_OVERRIDE_FIELD_NUMBER: _builtins.int + uri: _builtins.str """Target URL of file to retrieve and source features from. s3://path/to/file for AWS S3 storage gs://path/to/file for GCP GCS storage file:///path/to/file for local storage """ - s3_endpoint_override: builtins.str + s3_endpoint_override: _builtins.str """override AWS S3 storage endpoint with custom S3 endpoint""" + @_builtins.property + def file_format(self) -> _DataFormat_pb2.FileFormat: ... def __init__( self, *, - file_format: feast.core.DataFormat_pb2.FileFormat | None = ..., - uri: builtins.str = ..., - s3_endpoint_override: builtins.str = ..., + file_format: _DataFormat_pb2.FileFormat | None = ..., + uri: _builtins.str = ..., + s3_endpoint_override: _builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["file_format", b"file_format"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["file_format", b"file_format", "s3_endpoint_override", b"s3_endpoint_override", "uri", b"uri"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["file_format", b"file_format"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["file_format", b"file_format", "s3_endpoint_override", b"s3_endpoint_override", "uri", b"uri"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class BigQueryOptions(google.protobuf.message.Message): + @_typing.final + class BigQueryOptions(_message.Message): """Defines options for DataSource that sources features from a BigQuery Query""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - TABLE_FIELD_NUMBER: builtins.int - QUERY_FIELD_NUMBER: builtins.int - table: builtins.str + TABLE_FIELD_NUMBER: _builtins.int + QUERY_FIELD_NUMBER: _builtins.int + table: _builtins.str """Full table reference in the form of [project:dataset.table]""" - query: builtins.str + query: _builtins.str """SQL query that returns a table containing feature data. Must contain an event_timestamp column, and respective entity columns """ def __init__( self, *, - table: builtins.str = ..., - query: builtins.str = ..., + table: _builtins.str = ..., + query: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["query", b"query", "table", b"table"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["query", b"query", "table", b"table"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class TrinoOptions(google.protobuf.message.Message): + @_typing.final + class TrinoOptions(_message.Message): """Defines options for DataSource that sources features from a Trino Query""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - TABLE_FIELD_NUMBER: builtins.int - QUERY_FIELD_NUMBER: builtins.int - table: builtins.str + TABLE_FIELD_NUMBER: _builtins.int + QUERY_FIELD_NUMBER: _builtins.int + table: _builtins.str """Full table reference in the form of [project:dataset.table]""" - query: builtins.str + query: _builtins.str """SQL query that returns a table containing feature data. Must contain an event_timestamp column, and respective entity columns """ def __init__( self, *, - table: builtins.str = ..., - query: builtins.str = ..., + table: _builtins.str = ..., + query: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["query", b"query", "table", b"table"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["query", b"query", "table", b"table"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class KafkaOptions(google.protobuf.message.Message): + @_typing.final + class KafkaOptions(_message.Message): """Defines options for DataSource that sources features from Kafka messages. Each message should be a Protobuf that can be decoded with the generated Java Protobuf class at the given class path """ - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - KAFKA_BOOTSTRAP_SERVERS_FIELD_NUMBER: builtins.int - TOPIC_FIELD_NUMBER: builtins.int - MESSAGE_FORMAT_FIELD_NUMBER: builtins.int - WATERMARK_DELAY_THRESHOLD_FIELD_NUMBER: builtins.int - kafka_bootstrap_servers: builtins.str + KAFKA_BOOTSTRAP_SERVERS_FIELD_NUMBER: _builtins.int + TOPIC_FIELD_NUMBER: _builtins.int + MESSAGE_FORMAT_FIELD_NUMBER: _builtins.int + WATERMARK_DELAY_THRESHOLD_FIELD_NUMBER: _builtins.int + kafka_bootstrap_servers: _builtins.str """Comma separated list of Kafka bootstrap servers. Used for feature tables without a defined source host[:port]]""" - topic: builtins.str + topic: _builtins.str """Kafka topic to collect feature data from.""" - @property - def message_format(self) -> feast.core.DataFormat_pb2.StreamFormat: + @_builtins.property + def message_format(self) -> _DataFormat_pb2.StreamFormat: """Defines the stream data format encoding feature/entity data in Kafka messages.""" - @property - def watermark_delay_threshold(self) -> google.protobuf.duration_pb2.Duration: + + @_builtins.property + def watermark_delay_threshold(self) -> _duration_pb2.Duration: """Watermark delay threshold for stream data""" + def __init__( self, *, - kafka_bootstrap_servers: builtins.str = ..., - topic: builtins.str = ..., - message_format: feast.core.DataFormat_pb2.StreamFormat | None = ..., - watermark_delay_threshold: google.protobuf.duration_pb2.Duration | None = ..., + kafka_bootstrap_servers: _builtins.str = ..., + topic: _builtins.str = ..., + message_format: _DataFormat_pb2.StreamFormat | None = ..., + watermark_delay_threshold: _duration_pb2.Duration | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["message_format", b"message_format", "watermark_delay_threshold", b"watermark_delay_threshold"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["kafka_bootstrap_servers", b"kafka_bootstrap_servers", "message_format", b"message_format", "topic", b"topic", "watermark_delay_threshold", b"watermark_delay_threshold"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["message_format", b"message_format", "watermark_delay_threshold", b"watermark_delay_threshold"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["kafka_bootstrap_servers", b"kafka_bootstrap_servers", "message_format", b"message_format", "topic", b"topic", "watermark_delay_threshold", b"watermark_delay_threshold"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class KinesisOptions(google.protobuf.message.Message): + @_typing.final + class KinesisOptions(_message.Message): """Defines options for DataSource that sources features from Kinesis records. Each record should be a Protobuf that can be decoded with the generated Java Protobuf class at the given class path """ - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - REGION_FIELD_NUMBER: builtins.int - STREAM_NAME_FIELD_NUMBER: builtins.int - RECORD_FORMAT_FIELD_NUMBER: builtins.int - region: builtins.str + REGION_FIELD_NUMBER: _builtins.int + STREAM_NAME_FIELD_NUMBER: _builtins.int + RECORD_FORMAT_FIELD_NUMBER: _builtins.int + region: _builtins.str """AWS region of the Kinesis stream""" - stream_name: builtins.str + stream_name: _builtins.str """Name of the Kinesis stream to obtain feature data from.""" - @property - def record_format(self) -> feast.core.DataFormat_pb2.StreamFormat: + @_builtins.property + def record_format(self) -> _DataFormat_pb2.StreamFormat: """Defines the data format encoding the feature/entity data in Kinesis records. Kinesis Data Sources support Avro and Proto as data formats. """ + def __init__( self, *, - region: builtins.str = ..., - stream_name: builtins.str = ..., - record_format: feast.core.DataFormat_pb2.StreamFormat | None = ..., + region: _builtins.str = ..., + stream_name: _builtins.str = ..., + record_format: _DataFormat_pb2.StreamFormat | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["record_format", b"record_format"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["record_format", b"record_format", "region", b"region", "stream_name", b"stream_name"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["record_format", b"record_format"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["record_format", b"record_format", "region", b"region", "stream_name", b"stream_name"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class RedshiftOptions(google.protobuf.message.Message): + @_typing.final + class RedshiftOptions(_message.Message): """Defines options for DataSource that sources features from a Redshift Query""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - TABLE_FIELD_NUMBER: builtins.int - QUERY_FIELD_NUMBER: builtins.int - SCHEMA_FIELD_NUMBER: builtins.int - DATABASE_FIELD_NUMBER: builtins.int - table: builtins.str + TABLE_FIELD_NUMBER: _builtins.int + QUERY_FIELD_NUMBER: _builtins.int + SCHEMA_FIELD_NUMBER: _builtins.int + DATABASE_FIELD_NUMBER: _builtins.int + table: _builtins.str """Redshift table name""" - query: builtins.str + query: _builtins.str """SQL query that returns a table containing feature data. Must contain an event_timestamp column, and respective entity columns """ - schema: builtins.str + schema: _builtins.str """Redshift schema name""" - database: builtins.str + database: _builtins.str """Redshift database name""" def __init__( self, *, - table: builtins.str = ..., - query: builtins.str = ..., - schema: builtins.str = ..., - database: builtins.str = ..., + table: _builtins.str = ..., + query: _builtins.str = ..., + schema: _builtins.str = ..., + database: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["database", b"database", "query", b"query", "schema", b"schema", "table", b"table"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["database", b"database", "query", b"query", "schema", b"schema", "table", b"table"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class AthenaOptions(google.protobuf.message.Message): + @_typing.final + class AthenaOptions(_message.Message): """Defines options for DataSource that sources features from a Athena Query""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - TABLE_FIELD_NUMBER: builtins.int - QUERY_FIELD_NUMBER: builtins.int - DATABASE_FIELD_NUMBER: builtins.int - DATA_SOURCE_FIELD_NUMBER: builtins.int - table: builtins.str + TABLE_FIELD_NUMBER: _builtins.int + QUERY_FIELD_NUMBER: _builtins.int + DATABASE_FIELD_NUMBER: _builtins.int + DATA_SOURCE_FIELD_NUMBER: _builtins.int + table: _builtins.str """Athena table name""" - query: builtins.str + query: _builtins.str """SQL query that returns a table containing feature data. Must contain an event_timestamp column, and respective entity columns """ - database: builtins.str + database: _builtins.str """Athena database name""" - data_source: builtins.str + data_source: _builtins.str """Athena schema name""" def __init__( self, *, - table: builtins.str = ..., - query: builtins.str = ..., - database: builtins.str = ..., - data_source: builtins.str = ..., + table: _builtins.str = ..., + query: _builtins.str = ..., + database: _builtins.str = ..., + data_source: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["data_source", b"data_source", "database", b"database", "query", b"query", "table", b"table"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["data_source", b"data_source", "database", b"database", "query", b"query", "table", b"table"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class SnowflakeOptions(google.protobuf.message.Message): + @_typing.final + class SnowflakeOptions(_message.Message): """Defines options for DataSource that sources features from a Snowflake Query""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - TABLE_FIELD_NUMBER: builtins.int - QUERY_FIELD_NUMBER: builtins.int - SCHEMA_FIELD_NUMBER: builtins.int - DATABASE_FIELD_NUMBER: builtins.int - table: builtins.str + TABLE_FIELD_NUMBER: _builtins.int + QUERY_FIELD_NUMBER: _builtins.int + SCHEMA_FIELD_NUMBER: _builtins.int + DATABASE_FIELD_NUMBER: _builtins.int + table: _builtins.str """Snowflake table name""" - query: builtins.str + query: _builtins.str """SQL query that returns a table containing feature data. Must contain an event_timestamp column, and respective entity columns """ - schema: builtins.str + schema: _builtins.str """Snowflake schema name""" - database: builtins.str + database: _builtins.str """Snowflake schema name""" def __init__( self, *, - table: builtins.str = ..., - query: builtins.str = ..., - schema: builtins.str = ..., - database: builtins.str = ..., + table: _builtins.str = ..., + query: _builtins.str = ..., + schema: _builtins.str = ..., + database: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["database", b"database", "query", b"query", "schema", b"schema", "table", b"table"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["database", b"database", "query", b"query", "schema", b"schema", "table", b"table"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class SparkOptions(google.protobuf.message.Message): + @_typing.final + class SparkOptions(_message.Message): """Defines options for DataSource that sources features from a spark table/query""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - TABLE_FIELD_NUMBER: builtins.int - QUERY_FIELD_NUMBER: builtins.int - PATH_FIELD_NUMBER: builtins.int - FILE_FORMAT_FIELD_NUMBER: builtins.int - DATE_PARTITION_COLUMN_FORMAT_FIELD_NUMBER: builtins.int - TABLE_FORMAT_FIELD_NUMBER: builtins.int - table: builtins.str + TABLE_FIELD_NUMBER: _builtins.int + QUERY_FIELD_NUMBER: _builtins.int + PATH_FIELD_NUMBER: _builtins.int + FILE_FORMAT_FIELD_NUMBER: _builtins.int + DATE_PARTITION_COLUMN_FORMAT_FIELD_NUMBER: _builtins.int + TABLE_FORMAT_FIELD_NUMBER: _builtins.int + table: _builtins.str """Table name""" - query: builtins.str + query: _builtins.str """Spark SQl query that returns the table, this is an alternative to `table`""" - path: builtins.str + path: _builtins.str """Path from which spark can read the table, this is an alternative to `table`""" - file_format: builtins.str + file_format: _builtins.str """Format of files at `path` (e.g. parquet, avro, etc)""" - date_partition_column_format: builtins.str + date_partition_column_format: _builtins.str """Date Format of date partition column (e.g. %Y-%m-%d)""" - @property - def table_format(self) -> feast.core.DataFormat_pb2.TableFormat: + @_builtins.property + def table_format(self) -> _DataFormat_pb2.TableFormat: """Table Format (e.g. iceberg, delta, hudi)""" + def __init__( self, *, - table: builtins.str = ..., - query: builtins.str = ..., - path: builtins.str = ..., - file_format: builtins.str = ..., - date_partition_column_format: builtins.str = ..., - table_format: feast.core.DataFormat_pb2.TableFormat | None = ..., + table: _builtins.str = ..., + query: _builtins.str = ..., + path: _builtins.str = ..., + file_format: _builtins.str = ..., + date_partition_column_format: _builtins.str = ..., + table_format: _DataFormat_pb2.TableFormat | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["table_format", b"table_format"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["date_partition_column_format", b"date_partition_column_format", "file_format", b"file_format", "path", b"path", "query", b"query", "table", b"table", "table_format", b"table_format"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["table_format", b"table_format"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["date_partition_column_format", b"date_partition_column_format", "file_format", b"file_format", "path", b"path", "query", b"query", "table", b"table", "table_format", b"table_format"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class CustomSourceOptions(google.protobuf.message.Message): + @_typing.final + class CustomSourceOptions(_message.Message): """Defines configuration for custom third-party data sources.""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - CONFIGURATION_FIELD_NUMBER: builtins.int - configuration: builtins.bytes + CONFIGURATION_FIELD_NUMBER: _builtins.int + configuration: _builtins.bytes """Serialized configuration information for the data source. The implementer of the custom data source is responsible for serializing and deserializing data from bytes """ def __init__( self, *, - configuration: builtins.bytes = ..., + configuration: _builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["configuration", b"configuration"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["configuration", b"configuration"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class RequestDataOptions(google.protobuf.message.Message): + @_typing.final + class RequestDataOptions(_message.Message): """Defines options for DataSource that sources features from request data""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class DeprecatedSchemaEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class DeprecatedSchemaEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: feast.types.Value_pb2.ValueType.Enum.ValueType + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _Value_pb2.ValueType.Enum.ValueType def __init__( self, *, - key: builtins.str = ..., - value: feast.types.Value_pb2.ValueType.Enum.ValueType = ..., + key: _builtins.str = ..., + value: _Value_pb2.ValueType.Enum.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - DEPRECATED_SCHEMA_FIELD_NUMBER: builtins.int - SCHEMA_FIELD_NUMBER: builtins.int - @property - def deprecated_schema(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, feast.types.Value_pb2.ValueType.Enum.ValueType]: + DEPRECATED_SCHEMA_FIELD_NUMBER: _builtins.int + SCHEMA_FIELD_NUMBER: _builtins.int + @_builtins.property + def deprecated_schema(self) -> _containers.ScalarMap[_builtins.str, _Value_pb2.ValueType.Enum.ValueType]: """Mapping of feature name to type""" - @property - def schema(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: ... + + @_builtins.property + def schema(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: ... def __init__( self, *, - deprecated_schema: collections.abc.Mapping[builtins.str, feast.types.Value_pb2.ValueType.Enum.ValueType] | None = ..., - schema: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., + deprecated_schema: _abc.Mapping[_builtins.str, _Value_pb2.ValueType.Enum.ValueType] | None = ..., + schema: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["deprecated_schema", b"deprecated_schema", "schema", b"schema"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["deprecated_schema", b"deprecated_schema", "schema", b"schema"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class PushOptions(google.protobuf.message.Message): + @_typing.final + class PushOptions(_message.Message): """Defines options for DataSource that supports pushing data to it. This allows data to be pushed to the online store on-demand, such as by stream consumers. """ - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor def __init__( self, ) -> None: ... - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - OWNER_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - FIELD_MAPPING_FIELD_NUMBER: builtins.int - TIMESTAMP_FIELD_FIELD_NUMBER: builtins.int - DATE_PARTITION_COLUMN_FIELD_NUMBER: builtins.int - CREATED_TIMESTAMP_COLUMN_FIELD_NUMBER: builtins.int - DATA_SOURCE_CLASS_TYPE_FIELD_NUMBER: builtins.int - BATCH_SOURCE_FIELD_NUMBER: builtins.int - META_FIELD_NUMBER: builtins.int - FILE_OPTIONS_FIELD_NUMBER: builtins.int - BIGQUERY_OPTIONS_FIELD_NUMBER: builtins.int - KAFKA_OPTIONS_FIELD_NUMBER: builtins.int - KINESIS_OPTIONS_FIELD_NUMBER: builtins.int - REDSHIFT_OPTIONS_FIELD_NUMBER: builtins.int - REQUEST_DATA_OPTIONS_FIELD_NUMBER: builtins.int - CUSTOM_OPTIONS_FIELD_NUMBER: builtins.int - SNOWFLAKE_OPTIONS_FIELD_NUMBER: builtins.int - PUSH_OPTIONS_FIELD_NUMBER: builtins.int - SPARK_OPTIONS_FIELD_NUMBER: builtins.int - TRINO_OPTIONS_FIELD_NUMBER: builtins.int - ATHENA_OPTIONS_FIELD_NUMBER: builtins.int - name: builtins.str + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + OWNER_FIELD_NUMBER: _builtins.int + TYPE_FIELD_NUMBER: _builtins.int + FIELD_MAPPING_FIELD_NUMBER: _builtins.int + TIMESTAMP_FIELD_FIELD_NUMBER: _builtins.int + DATE_PARTITION_COLUMN_FIELD_NUMBER: _builtins.int + CREATED_TIMESTAMP_COLUMN_FIELD_NUMBER: _builtins.int + DATA_SOURCE_CLASS_TYPE_FIELD_NUMBER: _builtins.int + BATCH_SOURCE_FIELD_NUMBER: _builtins.int + META_FIELD_NUMBER: _builtins.int + FILE_OPTIONS_FIELD_NUMBER: _builtins.int + BIGQUERY_OPTIONS_FIELD_NUMBER: _builtins.int + KAFKA_OPTIONS_FIELD_NUMBER: _builtins.int + KINESIS_OPTIONS_FIELD_NUMBER: _builtins.int + REDSHIFT_OPTIONS_FIELD_NUMBER: _builtins.int + REQUEST_DATA_OPTIONS_FIELD_NUMBER: _builtins.int + CUSTOM_OPTIONS_FIELD_NUMBER: _builtins.int + SNOWFLAKE_OPTIONS_FIELD_NUMBER: _builtins.int + PUSH_OPTIONS_FIELD_NUMBER: _builtins.int + SPARK_OPTIONS_FIELD_NUMBER: _builtins.int + TRINO_OPTIONS_FIELD_NUMBER: _builtins.int + ATHENA_OPTIONS_FIELD_NUMBER: _builtins.int + name: _builtins.str """Unique name of data source within the project""" - project: builtins.str + project: _builtins.str """Name of Feast project that this data source belongs to.""" - description: builtins.str - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - owner: builtins.str - type: global___DataSource.SourceType.ValueType - @property - def field_mapping(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: - """Defines mapping between fields in the sourced data - and fields in parent FeatureTable. - """ - timestamp_field: builtins.str + description: _builtins.str + owner: _builtins.str + type: Global___DataSource.SourceType.ValueType + timestamp_field: _builtins.str """Must specify event timestamp column name""" - date_partition_column: builtins.str + date_partition_column: _builtins.str """(Optional) Specify partition column useful for file sources """ - created_timestamp_column: builtins.str + created_timestamp_column: _builtins.str """Must specify creation timestamp column name""" - data_source_class_type: builtins.str + data_source_class_type: _builtins.str """This is an internal field that is represents the python class for the data source object a proto object represents. This should be set by feast, and not by users. The field is used primarily by custom data sources and is mandatory for them to set. Feast may set it for first party sources as well. """ - @property - def batch_source(self) -> global___DataSource: + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def field_mapping(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + """Defines mapping between fields in the sourced data + and fields in parent FeatureTable. + """ + + @_builtins.property + def batch_source(self) -> Global___DataSource: """Optional batch source for streaming sources for historical features and materialization.""" - @property - def meta(self) -> global___DataSource.SourceMeta: ... - @property - def file_options(self) -> global___DataSource.FileOptions: ... - @property - def bigquery_options(self) -> global___DataSource.BigQueryOptions: ... - @property - def kafka_options(self) -> global___DataSource.KafkaOptions: ... - @property - def kinesis_options(self) -> global___DataSource.KinesisOptions: ... - @property - def redshift_options(self) -> global___DataSource.RedshiftOptions: ... - @property - def request_data_options(self) -> global___DataSource.RequestDataOptions: ... - @property - def custom_options(self) -> global___DataSource.CustomSourceOptions: ... - @property - def snowflake_options(self) -> global___DataSource.SnowflakeOptions: ... - @property - def push_options(self) -> global___DataSource.PushOptions: ... - @property - def spark_options(self) -> global___DataSource.SparkOptions: ... - @property - def trino_options(self) -> global___DataSource.TrinoOptions: ... - @property - def athena_options(self) -> global___DataSource.AthenaOptions: ... + + @_builtins.property + def meta(self) -> Global___DataSource.SourceMeta: ... + @_builtins.property + def file_options(self) -> Global___DataSource.FileOptions: ... + @_builtins.property + def bigquery_options(self) -> Global___DataSource.BigQueryOptions: ... + @_builtins.property + def kafka_options(self) -> Global___DataSource.KafkaOptions: ... + @_builtins.property + def kinesis_options(self) -> Global___DataSource.KinesisOptions: ... + @_builtins.property + def redshift_options(self) -> Global___DataSource.RedshiftOptions: ... + @_builtins.property + def request_data_options(self) -> Global___DataSource.RequestDataOptions: ... + @_builtins.property + def custom_options(self) -> Global___DataSource.CustomSourceOptions: ... + @_builtins.property + def snowflake_options(self) -> Global___DataSource.SnowflakeOptions: ... + @_builtins.property + def push_options(self) -> Global___DataSource.PushOptions: ... + @_builtins.property + def spark_options(self) -> Global___DataSource.SparkOptions: ... + @_builtins.property + def trino_options(self) -> Global___DataSource.TrinoOptions: ... + @_builtins.property + def athena_options(self) -> Global___DataSource.AthenaOptions: ... def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - description: builtins.str = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - owner: builtins.str = ..., - type: global___DataSource.SourceType.ValueType = ..., - field_mapping: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - timestamp_field: builtins.str = ..., - date_partition_column: builtins.str = ..., - created_timestamp_column: builtins.str = ..., - data_source_class_type: builtins.str = ..., - batch_source: global___DataSource | None = ..., - meta: global___DataSource.SourceMeta | None = ..., - file_options: global___DataSource.FileOptions | None = ..., - bigquery_options: global___DataSource.BigQueryOptions | None = ..., - kafka_options: global___DataSource.KafkaOptions | None = ..., - kinesis_options: global___DataSource.KinesisOptions | None = ..., - redshift_options: global___DataSource.RedshiftOptions | None = ..., - request_data_options: global___DataSource.RequestDataOptions | None = ..., - custom_options: global___DataSource.CustomSourceOptions | None = ..., - snowflake_options: global___DataSource.SnowflakeOptions | None = ..., - push_options: global___DataSource.PushOptions | None = ..., - spark_options: global___DataSource.SparkOptions | None = ..., - trino_options: global___DataSource.TrinoOptions | None = ..., - athena_options: global___DataSource.AthenaOptions | None = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + description: _builtins.str = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + owner: _builtins.str = ..., + type: Global___DataSource.SourceType.ValueType = ..., + field_mapping: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + timestamp_field: _builtins.str = ..., + date_partition_column: _builtins.str = ..., + created_timestamp_column: _builtins.str = ..., + data_source_class_type: _builtins.str = ..., + batch_source: Global___DataSource | None = ..., + meta: Global___DataSource.SourceMeta | None = ..., + file_options: Global___DataSource.FileOptions | None = ..., + bigquery_options: Global___DataSource.BigQueryOptions | None = ..., + kafka_options: Global___DataSource.KafkaOptions | None = ..., + kinesis_options: Global___DataSource.KinesisOptions | None = ..., + redshift_options: Global___DataSource.RedshiftOptions | None = ..., + request_data_options: Global___DataSource.RequestDataOptions | None = ..., + custom_options: Global___DataSource.CustomSourceOptions | None = ..., + snowflake_options: Global___DataSource.SnowflakeOptions | None = ..., + push_options: Global___DataSource.PushOptions | None = ..., + spark_options: Global___DataSource.SparkOptions | None = ..., + trino_options: Global___DataSource.TrinoOptions | None = ..., + athena_options: Global___DataSource.AthenaOptions | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["athena_options", b"athena_options", "batch_source", b"batch_source", "bigquery_options", b"bigquery_options", "custom_options", b"custom_options", "file_options", b"file_options", "kafka_options", b"kafka_options", "kinesis_options", b"kinesis_options", "meta", b"meta", "options", b"options", "push_options", b"push_options", "redshift_options", b"redshift_options", "request_data_options", b"request_data_options", "snowflake_options", b"snowflake_options", "spark_options", b"spark_options", "trino_options", b"trino_options"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["athena_options", b"athena_options", "batch_source", b"batch_source", "bigquery_options", b"bigquery_options", "created_timestamp_column", b"created_timestamp_column", "custom_options", b"custom_options", "data_source_class_type", b"data_source_class_type", "date_partition_column", b"date_partition_column", "description", b"description", "field_mapping", b"field_mapping", "file_options", b"file_options", "kafka_options", b"kafka_options", "kinesis_options", b"kinesis_options", "meta", b"meta", "name", b"name", "options", b"options", "owner", b"owner", "project", b"project", "push_options", b"push_options", "redshift_options", b"redshift_options", "request_data_options", b"request_data_options", "snowflake_options", b"snowflake_options", "spark_options", b"spark_options", "tags", b"tags", "timestamp_field", b"timestamp_field", "trino_options", b"trino_options", "type", b"type"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["options", b"options"]) -> typing_extensions.Literal["file_options", "bigquery_options", "kafka_options", "kinesis_options", "redshift_options", "request_data_options", "custom_options", "snowflake_options", "push_options", "spark_options", "trino_options", "athena_options"] | None: ... - -global___DataSource = DataSource - -class DataSourceList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - DATASOURCES_FIELD_NUMBER: builtins.int - @property - def datasources(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DataSource]: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["athena_options", b"athena_options", "batch_source", b"batch_source", "bigquery_options", b"bigquery_options", "custom_options", b"custom_options", "file_options", b"file_options", "kafka_options", b"kafka_options", "kinesis_options", b"kinesis_options", "meta", b"meta", "options", b"options", "push_options", b"push_options", "redshift_options", b"redshift_options", "request_data_options", b"request_data_options", "snowflake_options", b"snowflake_options", "spark_options", b"spark_options", "trino_options", b"trino_options"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["athena_options", b"athena_options", "batch_source", b"batch_source", "bigquery_options", b"bigquery_options", "created_timestamp_column", b"created_timestamp_column", "custom_options", b"custom_options", "data_source_class_type", b"data_source_class_type", "date_partition_column", b"date_partition_column", "description", b"description", "field_mapping", b"field_mapping", "file_options", b"file_options", "kafka_options", b"kafka_options", "kinesis_options", b"kinesis_options", "meta", b"meta", "name", b"name", "options", b"options", "owner", b"owner", "project", b"project", "push_options", b"push_options", "redshift_options", b"redshift_options", "request_data_options", b"request_data_options", "snowflake_options", b"snowflake_options", "spark_options", b"spark_options", "tags", b"tags", "timestamp_field", b"timestamp_field", "trino_options", b"trino_options", "type", b"type"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_options: _TypeAlias = _typing.Literal["file_options", "bigquery_options", "kafka_options", "kinesis_options", "redshift_options", "request_data_options", "custom_options", "snowflake_options", "push_options", "spark_options", "trino_options", "athena_options"] # noqa: Y015 + _WhichOneofArgType_options: _TypeAlias = _typing.Literal["options", b"options"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_options) -> _WhichOneofReturnType_options | None: ... + +Global___DataSource: _TypeAlias = DataSource # noqa: Y015 + +@_typing.final +class DataSourceList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + DATASOURCES_FIELD_NUMBER: _builtins.int + @_builtins.property + def datasources(self) -> _containers.RepeatedCompositeFieldContainer[Global___DataSource]: ... def __init__( self, *, - datasources: collections.abc.Iterable[global___DataSource] | None = ..., + datasources: _abc.Iterable[Global___DataSource] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["datasources", b"datasources"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["datasources", b"datasources"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___DataSourceList = DataSourceList +Global___DataSourceList: _TypeAlias = DataSourceList # noqa: Y015 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 2daafffebf..04b5423918 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 c5dbc3ec64..3886263c54 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.pyi index 6339a97536..f9a451e856 100644 --- a/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.pyi @@ -16,52 +16,60 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ -import builtins -import google.protobuf.descriptor -import google.protobuf.message -import google.protobuf.wrappers_pb2 + +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import wrappers_pb2 as _wrappers_pb2 +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class DatastoreTable(google.protobuf.message.Message): +@_typing.final +class DatastoreTable(_message.Message): """Represents a Datastore table""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - PROJECT_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - PROJECT_ID_FIELD_NUMBER: builtins.int - NAMESPACE_FIELD_NUMBER: builtins.int - DATABASE_FIELD_NUMBER: builtins.int - project: builtins.str + PROJECT_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + PROJECT_ID_FIELD_NUMBER: _builtins.int + NAMESPACE_FIELD_NUMBER: _builtins.int + DATABASE_FIELD_NUMBER: _builtins.int + project: _builtins.str """Feast project of the table""" - name: builtins.str + name: _builtins.str """Name of the table""" - @property - def project_id(self) -> google.protobuf.wrappers_pb2.StringValue: + @_builtins.property + def project_id(self) -> _wrappers_pb2.StringValue: """GCP project id""" - @property - def namespace(self) -> google.protobuf.wrappers_pb2.StringValue: + + @_builtins.property + def namespace(self) -> _wrappers_pb2.StringValue: """Datastore namespace""" - @property - def database(self) -> google.protobuf.wrappers_pb2.StringValue: + + @_builtins.property + def database(self) -> _wrappers_pb2.StringValue: """Firestore database""" + def __init__( self, *, - project: builtins.str = ..., - name: builtins.str = ..., - project_id: google.protobuf.wrappers_pb2.StringValue | None = ..., - namespace: google.protobuf.wrappers_pb2.StringValue | None = ..., - database: google.protobuf.wrappers_pb2.StringValue | None = ..., + project: _builtins.str = ..., + name: _builtins.str = ..., + project_id: _wrappers_pb2.StringValue | None = ..., + namespace: _wrappers_pb2.StringValue | None = ..., + database: _wrappers_pb2.StringValue | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["database", b"database", "namespace", b"namespace", "project_id", b"project_id"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["database", b"database", "name", b"name", "namespace", b"namespace", "project", b"project", "project_id", b"project_id"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["database", b"database", "namespace", b"namespace", "project_id", b"project_id"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["database", b"database", "name", b"name", "namespace", b"namespace", "project", b"project", "project_id", b"project_id"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___DatastoreTable = DatastoreTable +Global___DatastoreTable: _TypeAlias = DatastoreTable # noqa: Y015 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 2daafffebf..d410b1fddf 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 2b3e780673..589b789bbf 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/Entity_pb2.pyi index 025817edfe..c68f34c6af 100644 --- a/sdk/python/feast/protos/feast/core/Entity_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Entity_pb2.pyi @@ -16,130 +16,147 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ -import builtins -import collections.abc -import feast.types.Value_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from feast.types import Value_pb2 as _Value_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class Entity(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Entity(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SPEC_FIELD_NUMBER: builtins.int - META_FIELD_NUMBER: builtins.int - @property - def spec(self) -> global___EntitySpecV2: + SPEC_FIELD_NUMBER: _builtins.int + META_FIELD_NUMBER: _builtins.int + @_builtins.property + def spec(self) -> Global___EntitySpecV2: """User-specified specifications of this entity.""" - @property - def meta(self) -> global___EntityMeta: + + @_builtins.property + def meta(self) -> Global___EntityMeta: """System-populated metadata for this entity.""" + def __init__( self, *, - spec: global___EntitySpecV2 | None = ..., - meta: global___EntityMeta | None = ..., + spec: Global___EntitySpecV2 | None = ..., + meta: Global___EntityMeta | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Entity = Entity +Global___Entity: _TypeAlias = Entity # noqa: Y015 -class EntitySpecV2(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class EntitySpecV2(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - VALUE_TYPE_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - JOIN_KEY_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - OWNER_FIELD_NUMBER: builtins.int - name: builtins.str + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + VALUE_TYPE_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + JOIN_KEY_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + OWNER_FIELD_NUMBER: _builtins.int + name: _builtins.str """Name of the entity.""" - project: builtins.str + project: _builtins.str """Name of Feast project that this feature table belongs to.""" - value_type: feast.types.Value_pb2.ValueType.Enum.ValueType + value_type: _Value_pb2.ValueType.Enum.ValueType """Type of the entity.""" - description: builtins.str + description: _builtins.str """Description of the entity.""" - join_key: builtins.str + join_key: _builtins.str """Join key for the entity (i.e. name of the column the entity maps to).""" - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: - """User defined metadata""" - owner: builtins.str + owner: _builtins.str """Owner of the entity.""" + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + """User defined metadata""" + def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - value_type: feast.types.Value_pb2.ValueType.Enum.ValueType = ..., - description: builtins.str = ..., - join_key: builtins.str = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - owner: builtins.str = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + value_type: _Value_pb2.ValueType.Enum.ValueType = ..., + description: _builtins.str = ..., + join_key: _builtins.str = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + owner: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "join_key", b"join_key", "name", b"name", "owner", b"owner", "project", b"project", "tags", b"tags", "value_type", b"value_type"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "join_key", b"join_key", "name", b"name", "owner", b"owner", "project", b"project", "tags", b"tags", "value_type", b"value_type"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___EntitySpecV2 = EntitySpecV2 +Global___EntitySpecV2: _TypeAlias = EntitySpecV2 # noqa: Y015 -class EntityMeta(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class EntityMeta(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int - @property - def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + @_builtins.property + def created_timestamp(self) -> _timestamp_pb2.Timestamp: ... + @_builtins.property + def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: ... def __init__( self, *, - created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___EntityMeta = EntityMeta +Global___EntityMeta: _TypeAlias = EntityMeta # noqa: Y015 -class EntityList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class EntityList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - ENTITIES_FIELD_NUMBER: builtins.int - @property - def entities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Entity]: ... + ENTITIES_FIELD_NUMBER: _builtins.int + @_builtins.property + def entities(self) -> _containers.RepeatedCompositeFieldContainer[Global___Entity]: ... def __init__( self, *, - entities: collections.abc.Iterable[global___Entity] | None = ..., + entities: _abc.Iterable[Global___Entity] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["entities", b"entities"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["entities", b"entities"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___EntityList = EntityList +Global___EntityList: _TypeAlias = EntityList # noqa: Y015 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 2daafffebf..41c56ee752 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 7ef3607969..9de2296120 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi index 6d5879e52c..125c198db4 100644 --- a/sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi @@ -2,305 +2,349 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ -import builtins -import collections.abc -import feast.core.FeatureViewProjection_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from feast.core import FeatureViewProjection_pb2 as _FeatureViewProjection_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class FeatureService(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureService(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SPEC_FIELD_NUMBER: builtins.int - META_FIELD_NUMBER: builtins.int - @property - def spec(self) -> global___FeatureServiceSpec: + SPEC_FIELD_NUMBER: _builtins.int + META_FIELD_NUMBER: _builtins.int + @_builtins.property + def spec(self) -> Global___FeatureServiceSpec: """User-specified specifications of this feature service.""" - @property - def meta(self) -> global___FeatureServiceMeta: + + @_builtins.property + def meta(self) -> Global___FeatureServiceMeta: """System-populated metadata for this feature service.""" + def __init__( self, *, - spec: global___FeatureServiceSpec | None = ..., - meta: global___FeatureServiceMeta | None = ..., + spec: Global___FeatureServiceSpec | None = ..., + meta: Global___FeatureServiceMeta | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureService = FeatureService +Global___FeatureService: _TypeAlias = FeatureService # noqa: Y015 -class FeatureServiceSpec(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureServiceSpec(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - FEATURES_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - OWNER_FIELD_NUMBER: builtins.int - LOGGING_CONFIG_FIELD_NUMBER: builtins.int - name: builtins.str + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + FEATURES_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + OWNER_FIELD_NUMBER: _builtins.int + LOGGING_CONFIG_FIELD_NUMBER: _builtins.int + name: _builtins.str """Name of the Feature Service. Must be unique. Not updated.""" - project: builtins.str + project: _builtins.str """Name of Feast project that this Feature Service belongs to.""" - @property - def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureViewProjection_pb2.FeatureViewProjection]: + description: _builtins.str + """Description of the feature service.""" + owner: _builtins.str + """Owner of the feature service.""" + @_builtins.property + def features(self) -> _containers.RepeatedCompositeFieldContainer[_FeatureViewProjection_pb2.FeatureViewProjection]: """Represents a projection that's to be applied on top of the FeatureView. Contains data such as the features to use from a FeatureView. """ - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: """User defined metadata""" - description: builtins.str - """Description of the feature service.""" - owner: builtins.str - """Owner of the feature service.""" - @property - def logging_config(self) -> global___LoggingConfig: + + @_builtins.property + def logging_config(self) -> Global___LoggingConfig: """(optional) if provided logging will be enabled for this feature service.""" + def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - features: collections.abc.Iterable[feast.core.FeatureViewProjection_pb2.FeatureViewProjection] | None = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - description: builtins.str = ..., - owner: builtins.str = ..., - logging_config: global___LoggingConfig | None = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + features: _abc.Iterable[_FeatureViewProjection_pb2.FeatureViewProjection] | None = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + description: _builtins.str = ..., + owner: _builtins.str = ..., + logging_config: Global___LoggingConfig | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["logging_config", b"logging_config"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "features", b"features", "logging_config", b"logging_config", "name", b"name", "owner", b"owner", "project", b"project", "tags", b"tags"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["logging_config", b"logging_config"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "features", b"features", "logging_config", b"logging_config", "name", b"name", "owner", b"owner", "project", b"project", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureServiceSpec = FeatureServiceSpec +Global___FeatureServiceSpec: _TypeAlias = FeatureServiceSpec # noqa: Y015 -class FeatureServiceMeta(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureServiceMeta(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int - @property - def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + @_builtins.property + def created_timestamp(self) -> _timestamp_pb2.Timestamp: """Time where this Feature Service is created""" - @property - def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + + @_builtins.property + def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: """Time where this Feature Service is last updated""" + def __init__( self, *, - created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> None: ... - -global___FeatureServiceMeta = FeatureServiceMeta - -class LoggingConfig(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - class FileDestination(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - PATH_FIELD_NUMBER: builtins.int - S3_ENDPOINT_OVERRIDE_FIELD_NUMBER: builtins.int - PARTITION_BY_FIELD_NUMBER: builtins.int - path: builtins.str - s3_endpoint_override: builtins.str - @property - def partition_by(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___FeatureServiceMeta: _TypeAlias = FeatureServiceMeta # noqa: Y015 + +@_typing.final +class LoggingConfig(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + @_typing.final + class FileDestination(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + PATH_FIELD_NUMBER: _builtins.int + S3_ENDPOINT_OVERRIDE_FIELD_NUMBER: _builtins.int + PARTITION_BY_FIELD_NUMBER: _builtins.int + path: _builtins.str + s3_endpoint_override: _builtins.str + @_builtins.property + def partition_by(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: """column names to use for partitioning""" + def __init__( self, *, - path: builtins.str = ..., - s3_endpoint_override: builtins.str = ..., - partition_by: collections.abc.Iterable[builtins.str] | None = ..., + path: _builtins.str = ..., + s3_endpoint_override: _builtins.str = ..., + partition_by: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["partition_by", b"partition_by", "path", b"path", "s3_endpoint_override", b"s3_endpoint_override"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["partition_by", b"partition_by", "path", b"path", "s3_endpoint_override", b"s3_endpoint_override"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class BigQueryDestination(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class BigQueryDestination(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - TABLE_REF_FIELD_NUMBER: builtins.int - table_ref: builtins.str + TABLE_REF_FIELD_NUMBER: _builtins.int + table_ref: _builtins.str """Full table reference in the form of [project:dataset.table]""" def __init__( self, *, - table_ref: builtins.str = ..., + table_ref: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["table_ref", b"table_ref"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["table_ref", b"table_ref"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class RedshiftDestination(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class RedshiftDestination(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - TABLE_NAME_FIELD_NUMBER: builtins.int - table_name: builtins.str + TABLE_NAME_FIELD_NUMBER: _builtins.int + table_name: _builtins.str """Destination table name. ClusterId and database will be taken from an offline store config""" def __init__( self, *, - table_name: builtins.str = ..., + table_name: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["table_name", b"table_name"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["table_name", b"table_name"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class AthenaDestination(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class AthenaDestination(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - TABLE_NAME_FIELD_NUMBER: builtins.int - table_name: builtins.str + TABLE_NAME_FIELD_NUMBER: _builtins.int + table_name: _builtins.str """Destination table name. data_source and database will be taken from an offline store config""" def __init__( self, *, - table_name: builtins.str = ..., + table_name: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["table_name", b"table_name"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["table_name", b"table_name"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class SnowflakeDestination(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class SnowflakeDestination(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - TABLE_NAME_FIELD_NUMBER: builtins.int - table_name: builtins.str + TABLE_NAME_FIELD_NUMBER: _builtins.int + table_name: _builtins.str """Destination table name. Schema and database will be taken from an offline store config""" def __init__( self, *, - table_name: builtins.str = ..., + table_name: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["table_name", b"table_name"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["table_name", b"table_name"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class CustomDestination(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class CustomDestination(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class ConfigEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class ConfigEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - KIND_FIELD_NUMBER: builtins.int - CONFIG_FIELD_NUMBER: builtins.int - kind: builtins.str - @property - def config(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + KIND_FIELD_NUMBER: _builtins.int + CONFIG_FIELD_NUMBER: _builtins.int + kind: _builtins.str + @_builtins.property + def config(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... def __init__( self, *, - kind: builtins.str = ..., - config: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + kind: _builtins.str = ..., + config: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "kind", b"kind"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["config", b"config", "kind", b"kind"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class CouchbaseColumnarDestination(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class CouchbaseColumnarDestination(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - DATABASE_FIELD_NUMBER: builtins.int - SCOPE_FIELD_NUMBER: builtins.int - COLLECTION_FIELD_NUMBER: builtins.int - database: builtins.str + DATABASE_FIELD_NUMBER: _builtins.int + SCOPE_FIELD_NUMBER: _builtins.int + COLLECTION_FIELD_NUMBER: _builtins.int + database: _builtins.str """Destination database name""" - scope: builtins.str + scope: _builtins.str """Destination scope name""" - collection: builtins.str + collection: _builtins.str """Destination collection name""" def __init__( self, *, - database: builtins.str = ..., - scope: builtins.str = ..., - collection: builtins.str = ..., + database: _builtins.str = ..., + scope: _builtins.str = ..., + collection: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["collection", b"collection", "database", b"database", "scope", b"scope"]) -> None: ... - - SAMPLE_RATE_FIELD_NUMBER: builtins.int - FILE_DESTINATION_FIELD_NUMBER: builtins.int - BIGQUERY_DESTINATION_FIELD_NUMBER: builtins.int - REDSHIFT_DESTINATION_FIELD_NUMBER: builtins.int - SNOWFLAKE_DESTINATION_FIELD_NUMBER: builtins.int - CUSTOM_DESTINATION_FIELD_NUMBER: builtins.int - ATHENA_DESTINATION_FIELD_NUMBER: builtins.int - COUCHBASE_COLUMNAR_DESTINATION_FIELD_NUMBER: builtins.int - sample_rate: builtins.float - @property - def file_destination(self) -> global___LoggingConfig.FileDestination: ... - @property - def bigquery_destination(self) -> global___LoggingConfig.BigQueryDestination: ... - @property - def redshift_destination(self) -> global___LoggingConfig.RedshiftDestination: ... - @property - def snowflake_destination(self) -> global___LoggingConfig.SnowflakeDestination: ... - @property - def custom_destination(self) -> global___LoggingConfig.CustomDestination: ... - @property - def athena_destination(self) -> global___LoggingConfig.AthenaDestination: ... - @property - def couchbase_columnar_destination(self) -> global___LoggingConfig.CouchbaseColumnarDestination: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["collection", b"collection", "database", b"database", "scope", b"scope"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + SAMPLE_RATE_FIELD_NUMBER: _builtins.int + FILE_DESTINATION_FIELD_NUMBER: _builtins.int + BIGQUERY_DESTINATION_FIELD_NUMBER: _builtins.int + REDSHIFT_DESTINATION_FIELD_NUMBER: _builtins.int + SNOWFLAKE_DESTINATION_FIELD_NUMBER: _builtins.int + CUSTOM_DESTINATION_FIELD_NUMBER: _builtins.int + ATHENA_DESTINATION_FIELD_NUMBER: _builtins.int + COUCHBASE_COLUMNAR_DESTINATION_FIELD_NUMBER: _builtins.int + sample_rate: _builtins.float + @_builtins.property + def file_destination(self) -> Global___LoggingConfig.FileDestination: ... + @_builtins.property + def bigquery_destination(self) -> Global___LoggingConfig.BigQueryDestination: ... + @_builtins.property + def redshift_destination(self) -> Global___LoggingConfig.RedshiftDestination: ... + @_builtins.property + def snowflake_destination(self) -> Global___LoggingConfig.SnowflakeDestination: ... + @_builtins.property + def custom_destination(self) -> Global___LoggingConfig.CustomDestination: ... + @_builtins.property + def athena_destination(self) -> Global___LoggingConfig.AthenaDestination: ... + @_builtins.property + def couchbase_columnar_destination(self) -> Global___LoggingConfig.CouchbaseColumnarDestination: ... def __init__( self, *, - sample_rate: builtins.float = ..., - file_destination: global___LoggingConfig.FileDestination | None = ..., - bigquery_destination: global___LoggingConfig.BigQueryDestination | None = ..., - redshift_destination: global___LoggingConfig.RedshiftDestination | None = ..., - snowflake_destination: global___LoggingConfig.SnowflakeDestination | None = ..., - custom_destination: global___LoggingConfig.CustomDestination | None = ..., - athena_destination: global___LoggingConfig.AthenaDestination | None = ..., - couchbase_columnar_destination: global___LoggingConfig.CouchbaseColumnarDestination | None = ..., + sample_rate: _builtins.float = ..., + file_destination: Global___LoggingConfig.FileDestination | None = ..., + bigquery_destination: Global___LoggingConfig.BigQueryDestination | None = ..., + redshift_destination: Global___LoggingConfig.RedshiftDestination | None = ..., + snowflake_destination: Global___LoggingConfig.SnowflakeDestination | None = ..., + custom_destination: Global___LoggingConfig.CustomDestination | None = ..., + athena_destination: Global___LoggingConfig.AthenaDestination | None = ..., + couchbase_columnar_destination: Global___LoggingConfig.CouchbaseColumnarDestination | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["athena_destination", b"athena_destination", "bigquery_destination", b"bigquery_destination", "couchbase_columnar_destination", b"couchbase_columnar_destination", "custom_destination", b"custom_destination", "destination", b"destination", "file_destination", b"file_destination", "redshift_destination", b"redshift_destination", "snowflake_destination", b"snowflake_destination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["athena_destination", b"athena_destination", "bigquery_destination", b"bigquery_destination", "couchbase_columnar_destination", b"couchbase_columnar_destination", "custom_destination", b"custom_destination", "destination", b"destination", "file_destination", b"file_destination", "redshift_destination", b"redshift_destination", "sample_rate", b"sample_rate", "snowflake_destination", b"snowflake_destination"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["destination", b"destination"]) -> typing_extensions.Literal["file_destination", "bigquery_destination", "redshift_destination", "snowflake_destination", "custom_destination", "athena_destination", "couchbase_columnar_destination"] | None: ... - -global___LoggingConfig = LoggingConfig - -class FeatureServiceList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - FEATURESERVICES_FIELD_NUMBER: builtins.int - @property - def featureservices(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FeatureService]: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["athena_destination", b"athena_destination", "bigquery_destination", b"bigquery_destination", "couchbase_columnar_destination", b"couchbase_columnar_destination", "custom_destination", b"custom_destination", "destination", b"destination", "file_destination", b"file_destination", "redshift_destination", b"redshift_destination", "snowflake_destination", b"snowflake_destination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["athena_destination", b"athena_destination", "bigquery_destination", b"bigquery_destination", "couchbase_columnar_destination", b"couchbase_columnar_destination", "custom_destination", b"custom_destination", "destination", b"destination", "file_destination", b"file_destination", "redshift_destination", b"redshift_destination", "sample_rate", b"sample_rate", "snowflake_destination", b"snowflake_destination"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_destination: _TypeAlias = _typing.Literal["file_destination", "bigquery_destination", "redshift_destination", "snowflake_destination", "custom_destination", "athena_destination", "couchbase_columnar_destination"] # noqa: Y015 + _WhichOneofArgType_destination: _TypeAlias = _typing.Literal["destination", b"destination"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_destination) -> _WhichOneofReturnType_destination | None: ... + +Global___LoggingConfig: _TypeAlias = LoggingConfig # noqa: Y015 + +@_typing.final +class FeatureServiceList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + FEATURESERVICES_FIELD_NUMBER: _builtins.int + @_builtins.property + def featureservices(self) -> _containers.RepeatedCompositeFieldContainer[Global___FeatureService]: ... def __init__( self, *, - featureservices: collections.abc.Iterable[global___FeatureService] | None = ..., + featureservices: _abc.Iterable[Global___FeatureService] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["featureservices", b"featureservices"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["featureservices", b"featureservices"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureServiceList = FeatureServiceList +Global___FeatureServiceList: _TypeAlias = FeatureServiceList # noqa: Y015 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 2daafffebf..22c23ae006 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 713e72b5d3..517eda50d9 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/FeatureTable_pb2.pyi index dd41c2d214..c6ff726e50 100644 --- a/sdk/python/feast/protos/feast/core/FeatureTable_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureTable_pb2.pyi @@ -16,151 +16,174 @@ 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 -import collections.abc -import feast.core.DataSource_pb2 -import feast.core.Feature_pb2 -import google.protobuf.descriptor -import google.protobuf.duration_pb2 -import google.protobuf.internal.containers -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from feast.core import DataSource_pb2 as _DataSource_pb2 +from feast.core import Feature_pb2 as _Feature_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class FeatureTable(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureTable(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SPEC_FIELD_NUMBER: builtins.int - META_FIELD_NUMBER: builtins.int - @property - def spec(self) -> global___FeatureTableSpec: + SPEC_FIELD_NUMBER: _builtins.int + META_FIELD_NUMBER: _builtins.int + @_builtins.property + def spec(self) -> Global___FeatureTableSpec: """User-specified specifications of this feature table.""" - @property - def meta(self) -> global___FeatureTableMeta: + + @_builtins.property + def meta(self) -> Global___FeatureTableMeta: """System-populated metadata for this feature table.""" + def __init__( self, *, - spec: global___FeatureTableSpec | None = ..., - meta: global___FeatureTableMeta | None = ..., + spec: Global___FeatureTableSpec | None = ..., + meta: Global___FeatureTableMeta | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureTable = FeatureTable +Global___FeatureTable: _TypeAlias = FeatureTable # noqa: Y015 -class FeatureTableSpec(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureTableSpec(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class LabelsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class LabelsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ENTITIES_FIELD_NUMBER: builtins.int - FEATURES_FIELD_NUMBER: builtins.int - LABELS_FIELD_NUMBER: builtins.int - MAX_AGE_FIELD_NUMBER: builtins.int - BATCH_SOURCE_FIELD_NUMBER: builtins.int - STREAM_SOURCE_FIELD_NUMBER: builtins.int - name: builtins.str + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ENTITIES_FIELD_NUMBER: _builtins.int + FEATURES_FIELD_NUMBER: _builtins.int + LABELS_FIELD_NUMBER: _builtins.int + MAX_AGE_FIELD_NUMBER: _builtins.int + BATCH_SOURCE_FIELD_NUMBER: _builtins.int + STREAM_SOURCE_FIELD_NUMBER: _builtins.int + name: _builtins.str """Name of the feature table. Must be unique. Not updated.""" - project: builtins.str + project: _builtins.str """Name of Feast project that this feature table belongs to.""" - @property - def entities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + @_builtins.property + def entities(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: """List names of entities to associate with the Features defined in this Feature Table. Not updatable. """ - @property - def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: + + @_builtins.property + def features(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: """List of features specifications for each feature defined with this feature table.""" - @property - def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + + @_builtins.property + def labels(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: """User defined metadata""" - @property - def max_age(self) -> google.protobuf.duration_pb2.Duration: + + @_builtins.property + def max_age(self) -> _duration_pb2.Duration: """Features in this feature table can only be retrieved from online serving younger than max age. Age is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside max age will be returned as unset values and indicated to end user """ - @property - def batch_source(self) -> feast.core.DataSource_pb2.DataSource: + + @_builtins.property + def batch_source(self) -> _DataSource_pb2.DataSource: """Batch/Offline DataSource to source batch/offline feature data. Only batch DataSource can be specified (ie source type should start with 'BATCH_') """ - @property - def stream_source(self) -> feast.core.DataSource_pb2.DataSource: + + @_builtins.property + def stream_source(self) -> _DataSource_pb2.DataSource: """Stream/Online DataSource to source stream/online feature data. Only stream DataSource can be specified (ie source type should start with 'STREAM_') """ + def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - entities: collections.abc.Iterable[builtins.str] | None = ..., - features: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., - labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - max_age: google.protobuf.duration_pb2.Duration | None = ..., - batch_source: feast.core.DataSource_pb2.DataSource | None = ..., - stream_source: feast.core.DataSource_pb2.DataSource | None = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + entities: _abc.Iterable[_builtins.str] | None = ..., + features: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., + labels: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + max_age: _duration_pb2.Duration | None = ..., + batch_source: _DataSource_pb2.DataSource | None = ..., + stream_source: _DataSource_pb2.DataSource | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "max_age", b"max_age", "stream_source", b"stream_source"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "entities", b"entities", "features", b"features", "labels", b"labels", "max_age", b"max_age", "name", b"name", "project", b"project", "stream_source", b"stream_source"]) -> None: ... - -global___FeatureTableSpec = FeatureTableSpec - -class FeatureTableMeta(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int - REVISION_FIELD_NUMBER: builtins.int - HASH_FIELD_NUMBER: builtins.int - @property - def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Time where this Feature Table is created""" - @property - def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Time where this Feature Table is last updated""" - revision: builtins.int + _HasFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "max_age", b"max_age", "stream_source", b"stream_source"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "entities", b"entities", "features", b"features", "labels", b"labels", "max_age", b"max_age", "name", b"name", "project", b"project", "stream_source", b"stream_source"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___FeatureTableSpec: _TypeAlias = FeatureTableSpec # noqa: Y015 + +@_typing.final +class FeatureTableMeta(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + REVISION_FIELD_NUMBER: _builtins.int + HASH_FIELD_NUMBER: _builtins.int + revision: _builtins.int """Auto incrementing revision no. of this Feature Table""" - hash: builtins.str + hash: _builtins.str """Hash entities, features, batch_source and stream_source to inform JobService if jobs should be restarted should hash change """ + @_builtins.property + def created_timestamp(self) -> _timestamp_pb2.Timestamp: + """Time where this Feature Table is created""" + + @_builtins.property + def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: + """Time where this Feature Table is last updated""" + def __init__( self, *, - created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - revision: builtins.int = ..., - hash: builtins.str = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., + revision: _builtins.int = ..., + hash: _builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "hash", b"hash", "last_updated_timestamp", b"last_updated_timestamp", "revision", b"revision"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "hash", b"hash", "last_updated_timestamp", b"last_updated_timestamp", "revision", b"revision"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureTableMeta = FeatureTableMeta +Global___FeatureTableMeta: _TypeAlias = FeatureTableMeta # noqa: Y015 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 2daafffebf..b17a709ed0 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 b47d4fe392..abd8530945 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.31.1 """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, + 31, + 1, + '', + 'feast/core/FeatureViewProjection.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,10 +31,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.FeatureViewProjection_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\025FeatureReferenceProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_FEATUREVIEWPROJECTION_JOINKEYMAPENTRY']._options = None + _globals['_FEATUREVIEWPROJECTION_JOINKEYMAPENTRY']._loaded_options = None _globals['_FEATUREVIEWPROJECTION_JOINKEYMAPENTRY']._serialized_options = b'8\001' _globals['_FEATUREVIEWPROJECTION']._serialized_start=110 _globals['_FEATUREVIEWPROJECTION']._serialized_end=552 diff --git a/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi index 6b44ad4a93..b949beb7d3 100644 --- a/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi @@ -2,86 +2,97 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ -import builtins -import collections.abc -import feast.core.DataSource_pb2 -import feast.core.Feature_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message + +from collections import abc as _abc +from feast.core import DataSource_pb2 as _DataSource_pb2 +from feast.core import Feature_pb2 as _Feature_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class FeatureViewProjection(google.protobuf.message.Message): +@_typing.final +class FeatureViewProjection(_message.Message): """A projection to be applied on top of a FeatureView. Contains the modifications to a FeatureView such as the features subset to use. """ - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class JoinKeyMapEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class JoinKeyMapEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - FEATURE_VIEW_NAME_FIELD_NUMBER: builtins.int - FEATURE_VIEW_NAME_ALIAS_FIELD_NUMBER: builtins.int - FEATURE_COLUMNS_FIELD_NUMBER: builtins.int - JOIN_KEY_MAP_FIELD_NUMBER: builtins.int - TIMESTAMP_FIELD_FIELD_NUMBER: builtins.int - DATE_PARTITION_COLUMN_FIELD_NUMBER: builtins.int - CREATED_TIMESTAMP_COLUMN_FIELD_NUMBER: builtins.int - BATCH_SOURCE_FIELD_NUMBER: builtins.int - STREAM_SOURCE_FIELD_NUMBER: builtins.int - feature_view_name: builtins.str + FEATURE_VIEW_NAME_FIELD_NUMBER: _builtins.int + FEATURE_VIEW_NAME_ALIAS_FIELD_NUMBER: _builtins.int + FEATURE_COLUMNS_FIELD_NUMBER: _builtins.int + JOIN_KEY_MAP_FIELD_NUMBER: _builtins.int + TIMESTAMP_FIELD_FIELD_NUMBER: _builtins.int + DATE_PARTITION_COLUMN_FIELD_NUMBER: _builtins.int + CREATED_TIMESTAMP_COLUMN_FIELD_NUMBER: _builtins.int + BATCH_SOURCE_FIELD_NUMBER: _builtins.int + STREAM_SOURCE_FIELD_NUMBER: _builtins.int + feature_view_name: _builtins.str """The feature view name""" - feature_view_name_alias: builtins.str + feature_view_name_alias: _builtins.str """Alias for feature view name""" - @property - def feature_columns(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: + timestamp_field: _builtins.str + date_partition_column: _builtins.str + created_timestamp_column: _builtins.str + @_builtins.property + def feature_columns(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: """The features of the feature view that are a part of the feature reference.""" - @property - def join_key_map(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + + @_builtins.property + def join_key_map(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: """Map for entity join_key overrides of feature data entity join_key to entity data join_key""" - timestamp_field: builtins.str - date_partition_column: builtins.str - created_timestamp_column: builtins.str - @property - def batch_source(self) -> feast.core.DataSource_pb2.DataSource: + + @_builtins.property + def batch_source(self) -> _DataSource_pb2.DataSource: """Batch/Offline DataSource where this view can retrieve offline feature data.""" - @property - def stream_source(self) -> feast.core.DataSource_pb2.DataSource: + + @_builtins.property + def stream_source(self) -> _DataSource_pb2.DataSource: """Streaming DataSource from where this view can consume "online" feature data.""" + def __init__( self, *, - feature_view_name: builtins.str = ..., - feature_view_name_alias: builtins.str = ..., - feature_columns: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., - join_key_map: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - timestamp_field: builtins.str = ..., - date_partition_column: builtins.str = ..., - created_timestamp_column: builtins.str = ..., - batch_source: feast.core.DataSource_pb2.DataSource | None = ..., - stream_source: feast.core.DataSource_pb2.DataSource | None = ..., + feature_view_name: _builtins.str = ..., + feature_view_name_alias: _builtins.str = ..., + feature_columns: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., + join_key_map: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + timestamp_field: _builtins.str = ..., + date_partition_column: _builtins.str = ..., + created_timestamp_column: _builtins.str = ..., + batch_source: _DataSource_pb2.DataSource | None = ..., + stream_source: _DataSource_pb2.DataSource | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "stream_source", b"stream_source"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "created_timestamp_column", b"created_timestamp_column", "date_partition_column", b"date_partition_column", "feature_columns", b"feature_columns", "feature_view_name", b"feature_view_name", "feature_view_name_alias", b"feature_view_name_alias", "join_key_map", b"join_key_map", "stream_source", b"stream_source", "timestamp_field", b"timestamp_field"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "stream_source", b"stream_source"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "created_timestamp_column", b"created_timestamp_column", "date_partition_column", b"date_partition_column", "feature_columns", b"feature_columns", "feature_view_name", b"feature_view_name", "feature_view_name_alias", b"feature_view_name_alias", "join_key_map", b"join_key_map", "stream_source", b"stream_source", "timestamp_field", b"timestamp_field"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureViewProjection = FeatureViewProjection +Global___FeatureViewProjection: _TypeAlias = FeatureViewProjection # noqa: Y015 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 2daafffebf..ef8930ef6a 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in feast/core/FeatureViewProjection_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/FeatureView_pb2.py b/sdk/python/feast/protos/feast/core/FeatureView_pb2.py index 0221a96031..f1e8aa8720 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.31.1 """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, + 31, + 1, + '', + '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['_FEATUREVIEW']._serialized_start=197 _globals['_FEATUREVIEW']._serialized_end=296 diff --git a/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi index c5a5439432..d661760b02 100644 --- a/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi @@ -16,218 +16,253 @@ 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 -import collections.abc -import feast.core.DataSource_pb2 -import feast.core.Feature_pb2 -import feast.core.Transformation_pb2 -import google.protobuf.descriptor -import google.protobuf.duration_pb2 -import google.protobuf.internal.containers -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from feast.core import DataSource_pb2 as _DataSource_pb2 +from feast.core import Feature_pb2 as _Feature_pb2 +from feast.core import Transformation_pb2 as _Transformation_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class FeatureView(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureView(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SPEC_FIELD_NUMBER: builtins.int - META_FIELD_NUMBER: builtins.int - @property - def spec(self) -> global___FeatureViewSpec: + SPEC_FIELD_NUMBER: _builtins.int + META_FIELD_NUMBER: _builtins.int + @_builtins.property + def spec(self) -> Global___FeatureViewSpec: """User-specified specifications of this feature view.""" - @property - def meta(self) -> global___FeatureViewMeta: + + @_builtins.property + def meta(self) -> Global___FeatureViewMeta: """System-populated metadata for this feature view.""" + def __init__( self, *, - spec: global___FeatureViewSpec | None = ..., - meta: global___FeatureViewMeta | None = ..., + spec: Global___FeatureViewSpec | None = ..., + meta: Global___FeatureViewMeta | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureView = FeatureView +Global___FeatureView: _TypeAlias = FeatureView # noqa: Y015 -class FeatureViewSpec(google.protobuf.message.Message): +@_typing.final +class FeatureViewSpec(_message.Message): """Next available id: 18 TODO(adchia): refactor common fields from this and ODFV into separate metadata proto """ - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ENTITIES_FIELD_NUMBER: builtins.int - FEATURES_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - TTL_FIELD_NUMBER: builtins.int - BATCH_SOURCE_FIELD_NUMBER: builtins.int - ONLINE_FIELD_NUMBER: builtins.int - STREAM_SOURCE_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - OWNER_FIELD_NUMBER: builtins.int - ENTITY_COLUMNS_FIELD_NUMBER: builtins.int - OFFLINE_FIELD_NUMBER: builtins.int - SOURCE_VIEWS_FIELD_NUMBER: builtins.int - FEATURE_TRANSFORMATION_FIELD_NUMBER: builtins.int - MODE_FIELD_NUMBER: builtins.int - ENABLE_VALIDATION_FIELD_NUMBER: builtins.int - name: builtins.str + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ENTITIES_FIELD_NUMBER: _builtins.int + FEATURES_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + TTL_FIELD_NUMBER: _builtins.int + BATCH_SOURCE_FIELD_NUMBER: _builtins.int + ONLINE_FIELD_NUMBER: _builtins.int + STREAM_SOURCE_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + OWNER_FIELD_NUMBER: _builtins.int + ENTITY_COLUMNS_FIELD_NUMBER: _builtins.int + OFFLINE_FIELD_NUMBER: _builtins.int + SOURCE_VIEWS_FIELD_NUMBER: _builtins.int + FEATURE_TRANSFORMATION_FIELD_NUMBER: _builtins.int + MODE_FIELD_NUMBER: _builtins.int + ENABLE_VALIDATION_FIELD_NUMBER: _builtins.int + name: _builtins.str """Name of the feature view. Must be unique. Not updated.""" - project: builtins.str + project: _builtins.str """Name of Feast project that this feature view belongs to.""" - @property - def entities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + online: _builtins.bool + """Whether these features should be served online or not + This is also used to determine whether the features should be written to the online store + """ + description: _builtins.str + """Description of the feature view.""" + owner: _builtins.str + """Owner of the feature view.""" + offline: _builtins.bool + """Whether these features should be written to the offline store""" + mode: _builtins.str + """The transformation mode (e.g., "python", "pandas", "spark", "sql", "ray")""" + enable_validation: _builtins.bool + """Whether schema validation is enabled during materialization""" + @_builtins.property + def entities(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: """List of names of entities associated with this feature view.""" - @property - def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: + + @_builtins.property + def features(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: """List of specifications for each feature defined as part of this feature view.""" - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: """User defined metadata""" - @property - def ttl(self) -> google.protobuf.duration_pb2.Duration: + + @_builtins.property + def ttl(self) -> _duration_pb2.Duration: """Features in this feature view can only be retrieved from online serving younger than ttl. Ttl is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside ttl will be returned as unset values and indicated to end user """ - @property - def batch_source(self) -> feast.core.DataSource_pb2.DataSource: - """Batch/Offline DataSource where this view can retrieve offline feature data.""" - online: builtins.bool - """Whether these features should be served online or not - This is also used to determine whether the features should be written to the online store - """ - @property - def stream_source(self) -> feast.core.DataSource_pb2.DataSource: - """Streaming DataSource from where this view can consume "online" feature data.""" - description: builtins.str - """Description of the feature view.""" - owner: builtins.str - """Owner of the feature view.""" - @property - def entity_columns(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: + + @_builtins.property + def batch_source(self) -> _DataSource_pb2.DataSource: + """Batch/Offline DataSource where this view can retrieve offline feature data. + Optional: if not set, the feature view has no associated batch data source (e.g. purely derived views). + """ + + @_builtins.property + def stream_source(self) -> _DataSource_pb2.DataSource: + """Streaming DataSource from where this view can consume "online" feature data. + Optional: only required for streaming feature views. + """ + + @_builtins.property + def entity_columns(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: """List of specifications for each entity defined as part of this feature view.""" - offline: builtins.bool - """Whether these features should be written to the offline store""" - @property - def source_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FeatureViewSpec]: ... - @property - def feature_transformation(self) -> feast.core.Transformation_pb2.FeatureTransformationV2: + + @_builtins.property + def source_views(self) -> _containers.RepeatedCompositeFieldContainer[Global___FeatureViewSpec]: ... + @_builtins.property + def feature_transformation(self) -> _Transformation_pb2.FeatureTransformationV2: """Feature transformation for batch feature views""" - mode: builtins.str - """The transformation mode (e.g., "python", "pandas", "spark", "sql", "ray")""" - enable_validation: builtins.bool - """Whether schema validation is enabled during materialization""" + def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - entities: collections.abc.Iterable[builtins.str] | None = ..., - features: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - ttl: google.protobuf.duration_pb2.Duration | None = ..., - batch_source: feast.core.DataSource_pb2.DataSource | None = ..., - online: builtins.bool = ..., - stream_source: feast.core.DataSource_pb2.DataSource | None = ..., - description: builtins.str = ..., - owner: builtins.str = ..., - entity_columns: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., - offline: builtins.bool = ..., - source_views: collections.abc.Iterable[global___FeatureViewSpec] | None = ..., - feature_transformation: feast.core.Transformation_pb2.FeatureTransformationV2 | None = ..., - mode: builtins.str = ..., - enable_validation: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + entities: _abc.Iterable[_builtins.str] | None = ..., + features: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + ttl: _duration_pb2.Duration | None = ..., + batch_source: _DataSource_pb2.DataSource | None = ..., + online: _builtins.bool = ..., + stream_source: _DataSource_pb2.DataSource | None = ..., + description: _builtins.str = ..., + owner: _builtins.str = ..., + entity_columns: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., + offline: _builtins.bool = ..., + source_views: _abc.Iterable[Global___FeatureViewSpec] | None = ..., + feature_transformation: _Transformation_pb2.FeatureTransformationV2 | None = ..., + mode: _builtins.str = ..., + enable_validation: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "feature_transformation", b"feature_transformation", "stream_source", b"stream_source", "ttl", b"ttl"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "description", b"description", "enable_validation", b"enable_validation", "entities", b"entities", "entity_columns", b"entity_columns", "feature_transformation", b"feature_transformation", "features", b"features", "mode", b"mode", "name", b"name", "offline", b"offline", "online", b"online", "owner", b"owner", "project", b"project", "source_views", b"source_views", "stream_source", b"stream_source", "tags", b"tags", "ttl", b"ttl"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "feature_transformation", b"feature_transformation", "stream_source", b"stream_source", "ttl", b"ttl"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "description", b"description", "enable_validation", b"enable_validation", "entities", b"entities", "entity_columns", b"entity_columns", "feature_transformation", b"feature_transformation", "features", b"features", "mode", b"mode", "name", b"name", "offline", b"offline", "online", b"online", "owner", b"owner", "project", b"project", "source_views", b"source_views", "stream_source", b"stream_source", "tags", b"tags", "ttl", b"ttl"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureViewSpec = FeatureViewSpec +Global___FeatureViewSpec: _TypeAlias = FeatureViewSpec # noqa: Y015 -class FeatureViewMeta(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureViewMeta(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int - MATERIALIZATION_INTERVALS_FIELD_NUMBER: builtins.int - @property - def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + MATERIALIZATION_INTERVALS_FIELD_NUMBER: _builtins.int + @_builtins.property + def created_timestamp(self) -> _timestamp_pb2.Timestamp: """Time where this Feature View is created""" - @property - def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + + @_builtins.property + def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: """Time where this Feature View is last updated""" - @property - def materialization_intervals(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MaterializationInterval]: + + @_builtins.property + def materialization_intervals(self) -> _containers.RepeatedCompositeFieldContainer[Global___MaterializationInterval]: """List of pairs (start_time, end_time) for which this feature view has been materialized.""" + def __init__( self, *, - created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - materialization_intervals: collections.abc.Iterable[global___MaterializationInterval] | None = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., + materialization_intervals: _abc.Iterable[Global___MaterializationInterval] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp", "materialization_intervals", b"materialization_intervals"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp", "materialization_intervals", b"materialization_intervals"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureViewMeta = FeatureViewMeta +Global___FeatureViewMeta: _TypeAlias = FeatureViewMeta # noqa: Y015 -class MaterializationInterval(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class MaterializationInterval(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - START_TIME_FIELD_NUMBER: builtins.int - END_TIME_FIELD_NUMBER: builtins.int - @property - def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + START_TIME_FIELD_NUMBER: _builtins.int + END_TIME_FIELD_NUMBER: _builtins.int + @_builtins.property + def start_time(self) -> _timestamp_pb2.Timestamp: ... + @_builtins.property + def end_time(self) -> _timestamp_pb2.Timestamp: ... def __init__( self, *, - start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - end_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + start_time: _timestamp_pb2.Timestamp | None = ..., + end_time: _timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "start_time", b"start_time"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "start_time", b"start_time"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["end_time", b"end_time", "start_time", b"start_time"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["end_time", b"end_time", "start_time", b"start_time"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___MaterializationInterval = MaterializationInterval +Global___MaterializationInterval: _TypeAlias = MaterializationInterval # noqa: Y015 -class FeatureViewList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureViewList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - FEATUREVIEWS_FIELD_NUMBER: builtins.int - @property - def featureviews(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FeatureView]: ... + FEATUREVIEWS_FIELD_NUMBER: _builtins.int + @_builtins.property + def featureviews(self) -> _containers.RepeatedCompositeFieldContainer[Global___FeatureView]: ... def __init__( self, *, - featureviews: collections.abc.Iterable[global___FeatureView] | None = ..., + featureviews: _abc.Iterable[Global___FeatureView] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["featureviews", b"featureviews"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["featureviews", b"featureviews"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureViewList = FeatureViewList +Global___FeatureViewList: _TypeAlias = FeatureViewList # noqa: Y015 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 2daafffebf..b2326b7e6b 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 a02bb7ff40..deccf07c5d 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/Feature_pb2.pyi index aa56630424..4ee9f23ea4 100644 --- a/sdk/python/feast/protos/feast/core/Feature_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Feature_pb2.pyi @@ -16,72 +16,79 @@ 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 -import collections.abc -import feast.types.Value_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message + +from collections import abc as _abc +from feast.types import Value_pb2 as _Value_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class FeatureSpecV2(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureSpecV2(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - NAME_FIELD_NUMBER: builtins.int - VALUE_TYPE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - VECTOR_INDEX_FIELD_NUMBER: builtins.int - VECTOR_SEARCH_METRIC_FIELD_NUMBER: builtins.int - VECTOR_LENGTH_FIELD_NUMBER: builtins.int - name: builtins.str + NAME_FIELD_NUMBER: _builtins.int + VALUE_TYPE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + VECTOR_INDEX_FIELD_NUMBER: _builtins.int + VECTOR_SEARCH_METRIC_FIELD_NUMBER: _builtins.int + VECTOR_LENGTH_FIELD_NUMBER: _builtins.int + name: _builtins.str """Name of the feature. Not updatable.""" - value_type: feast.types.Value_pb2.ValueType.Enum.ValueType + value_type: _Value_pb2.ValueType.Enum.ValueType """Value type of the feature. Not updatable.""" - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: - """Tags for user defined metadata on a feature""" - description: builtins.str + description: _builtins.str """Description of the feature.""" - vector_index: builtins.bool + vector_index: _builtins.bool """Field indicating the vector will be indexed for vector similarity search""" - vector_search_metric: builtins.str + vector_search_metric: _builtins.str """Metric used for vector similarity search.""" - vector_length: builtins.int + vector_length: _builtins.int """Field indicating the vector length""" + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + """Tags for user defined metadata on a feature""" + def __init__( self, *, - name: builtins.str = ..., - value_type: feast.types.Value_pb2.ValueType.Enum.ValueType = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - description: builtins.str = ..., - vector_index: builtins.bool = ..., - vector_search_metric: builtins.str = ..., - vector_length: builtins.int = ..., + name: _builtins.str = ..., + value_type: _Value_pb2.ValueType.Enum.ValueType = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + description: _builtins.str = ..., + vector_index: _builtins.bool = ..., + vector_search_metric: _builtins.str = ..., + vector_length: _builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name", "tags", b"tags", "value_type", b"value_type", "vector_index", b"vector_index", "vector_length", b"vector_length", "vector_search_metric", b"vector_search_metric"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "name", b"name", "tags", b"tags", "value_type", b"value_type", "vector_index", b"vector_index", "vector_length", b"vector_length", "vector_search_metric", b"vector_search_metric"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureSpecV2 = FeatureSpecV2 +Global___FeatureSpecV2: _TypeAlias = FeatureSpecV2 # noqa: Y015 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 2daafffebf..9e9ce966f1 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 aeea27f2e0..0fd87d4b3c 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/InfraObject_pb2.pyi index f0a704c604..cc9a419318 100644 --- a/sdk/python/feast/protos/feast/core/InfraObject_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/InfraObject_pb2.pyi @@ -16,81 +16,93 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ -import builtins -import collections.abc -import feast.core.DatastoreTable_pb2 -import feast.core.SqliteTable_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message + +from collections import abc as _abc +from feast.core import DatastoreTable_pb2 as _DatastoreTable_pb2 +from feast.core import SqliteTable_pb2 as _SqliteTable_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class Infra(google.protobuf.message.Message): +@_typing.final +class Infra(_message.Message): """Represents a set of infrastructure objects managed by Feast""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - INFRA_OBJECTS_FIELD_NUMBER: builtins.int - @property - def infra_objects(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___InfraObject]: + INFRA_OBJECTS_FIELD_NUMBER: _builtins.int + @_builtins.property + def infra_objects(self) -> _containers.RepeatedCompositeFieldContainer[Global___InfraObject]: """List of infrastructure objects managed by Feast""" + def __init__( self, *, - infra_objects: collections.abc.Iterable[global___InfraObject] | None = ..., + infra_objects: _abc.Iterable[Global___InfraObject] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["infra_objects", b"infra_objects"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["infra_objects", b"infra_objects"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Infra = Infra +Global___Infra: _TypeAlias = Infra # noqa: Y015 -class InfraObject(google.protobuf.message.Message): +@_typing.final +class InfraObject(_message.Message): """Represents a single infrastructure object managed by Feast""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class CustomInfra(google.protobuf.message.Message): + @_typing.final + class CustomInfra(_message.Message): """Allows for custom infra objects to be added""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - FIELD_FIELD_NUMBER: builtins.int - field: builtins.bytes + FIELD_FIELD_NUMBER: _builtins.int + field: _builtins.bytes def __init__( self, *, - field: builtins.bytes = ..., + field: _builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["field", b"field"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["field", b"field"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - INFRA_OBJECT_CLASS_TYPE_FIELD_NUMBER: builtins.int - DATASTORE_TABLE_FIELD_NUMBER: builtins.int - SQLITE_TABLE_FIELD_NUMBER: builtins.int - CUSTOM_INFRA_FIELD_NUMBER: builtins.int - infra_object_class_type: builtins.str + INFRA_OBJECT_CLASS_TYPE_FIELD_NUMBER: _builtins.int + DATASTORE_TABLE_FIELD_NUMBER: _builtins.int + SQLITE_TABLE_FIELD_NUMBER: _builtins.int + CUSTOM_INFRA_FIELD_NUMBER: _builtins.int + infra_object_class_type: _builtins.str """Represents the Python class for the infrastructure object""" - @property - def datastore_table(self) -> feast.core.DatastoreTable_pb2.DatastoreTable: ... - @property - def sqlite_table(self) -> feast.core.SqliteTable_pb2.SqliteTable: ... - @property - def custom_infra(self) -> global___InfraObject.CustomInfra: ... + @_builtins.property + def datastore_table(self) -> _DatastoreTable_pb2.DatastoreTable: ... + @_builtins.property + def sqlite_table(self) -> _SqliteTable_pb2.SqliteTable: ... + @_builtins.property + def custom_infra(self) -> Global___InfraObject.CustomInfra: ... def __init__( self, *, - infra_object_class_type: builtins.str = ..., - datastore_table: feast.core.DatastoreTable_pb2.DatastoreTable | None = ..., - sqlite_table: feast.core.SqliteTable_pb2.SqliteTable | None = ..., - custom_infra: global___InfraObject.CustomInfra | None = ..., + infra_object_class_type: _builtins.str = ..., + datastore_table: _DatastoreTable_pb2.DatastoreTable | None = ..., + sqlite_table: _SqliteTable_pb2.SqliteTable | None = ..., + custom_infra: Global___InfraObject.CustomInfra | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["custom_infra", b"custom_infra", "datastore_table", b"datastore_table", "infra_object", b"infra_object", "sqlite_table", b"sqlite_table"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["custom_infra", b"custom_infra", "datastore_table", b"datastore_table", "infra_object", b"infra_object", "infra_object_class_type", b"infra_object_class_type", "sqlite_table", b"sqlite_table"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["infra_object", b"infra_object"]) -> typing_extensions.Literal["datastore_table", "sqlite_table", "custom_infra"] | None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["custom_infra", b"custom_infra", "datastore_table", b"datastore_table", "infra_object", b"infra_object", "sqlite_table", b"sqlite_table"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["custom_infra", b"custom_infra", "datastore_table", b"datastore_table", "infra_object", b"infra_object", "infra_object_class_type", b"infra_object_class_type", "sqlite_table", b"sqlite_table"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_infra_object: _TypeAlias = _typing.Literal["datastore_table", "sqlite_table", "custom_infra"] # noqa: Y015 + _WhichOneofArgType_infra_object: _TypeAlias = _typing.Literal["infra_object", b"infra_object"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_infra_object) -> _WhichOneofReturnType_infra_object | None: ... -global___InfraObject = InfraObject +Global___InfraObject: _TypeAlias = InfraObject # noqa: Y015 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 2daafffebf..f316a8e9d1 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in feast/core/InfraObject_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.py b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.py index 5b8ec9b11f..cfe0d85717 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.pyi index c424c442ee..0166f01c25 100644 --- a/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.pyi @@ -16,241 +16,283 @@ 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 -import collections.abc -import feast.core.Aggregation_pb2 -import feast.core.DataSource_pb2 -import feast.core.FeatureViewProjection_pb2 -import feast.core.FeatureView_pb2 -import feast.core.Feature_pb2 -import feast.core.Transformation_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from feast.core import Aggregation_pb2 as _Aggregation_pb2 +from feast.core import DataSource_pb2 as _DataSource_pb2 +from feast.core import FeatureViewProjection_pb2 as _FeatureViewProjection_pb2 +from feast.core import FeatureView_pb2 as _FeatureView_pb2 +from feast.core import Feature_pb2 as _Feature_pb2 +from feast.core import Transformation_pb2 as _Transformation_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing + +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias +else: + from typing_extensions import TypeAlias as _TypeAlias -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 13): + from warnings import deprecated as _deprecated else: - import typing_extensions + from typing_extensions import deprecated as _deprecated -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class OnDemandFeatureView(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class OnDemandFeatureView(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SPEC_FIELD_NUMBER: builtins.int - META_FIELD_NUMBER: builtins.int - @property - def spec(self) -> global___OnDemandFeatureViewSpec: + SPEC_FIELD_NUMBER: _builtins.int + META_FIELD_NUMBER: _builtins.int + @_builtins.property + def spec(self) -> Global___OnDemandFeatureViewSpec: """User-specified specifications of this feature view.""" - @property - def meta(self) -> global___OnDemandFeatureViewMeta: ... + + @_builtins.property + def meta(self) -> Global___OnDemandFeatureViewMeta: ... def __init__( self, *, - spec: global___OnDemandFeatureViewSpec | None = ..., - meta: global___OnDemandFeatureViewMeta | None = ..., + spec: Global___OnDemandFeatureViewSpec | None = ..., + meta: Global___OnDemandFeatureViewMeta | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___OnDemandFeatureView = OnDemandFeatureView +Global___OnDemandFeatureView: _TypeAlias = OnDemandFeatureView # noqa: Y015 -class OnDemandFeatureViewSpec(google.protobuf.message.Message): +@_typing.final +class OnDemandFeatureViewSpec(_message.Message): """Next available id: 9""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class SourcesEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class SourcesEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> global___OnDemandSource: ... + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + @_builtins.property + def value(self) -> Global___OnDemandSource: ... def __init__( self, *, - key: builtins.str = ..., - value: global___OnDemandSource | None = ..., + key: _builtins.str = ..., + value: Global___OnDemandSource | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - FEATURES_FIELD_NUMBER: builtins.int - SOURCES_FIELD_NUMBER: builtins.int - USER_DEFINED_FUNCTION_FIELD_NUMBER: builtins.int - FEATURE_TRANSFORMATION_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - OWNER_FIELD_NUMBER: builtins.int - MODE_FIELD_NUMBER: builtins.int - WRITE_TO_ONLINE_STORE_FIELD_NUMBER: builtins.int - ENTITIES_FIELD_NUMBER: builtins.int - ENTITY_COLUMNS_FIELD_NUMBER: builtins.int - SINGLETON_FIELD_NUMBER: builtins.int - AGGREGATIONS_FIELD_NUMBER: builtins.int - name: builtins.str + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + FEATURES_FIELD_NUMBER: _builtins.int + SOURCES_FIELD_NUMBER: _builtins.int + USER_DEFINED_FUNCTION_FIELD_NUMBER: _builtins.int + FEATURE_TRANSFORMATION_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + OWNER_FIELD_NUMBER: _builtins.int + MODE_FIELD_NUMBER: _builtins.int + WRITE_TO_ONLINE_STORE_FIELD_NUMBER: _builtins.int + ENTITIES_FIELD_NUMBER: _builtins.int + ENTITY_COLUMNS_FIELD_NUMBER: _builtins.int + SINGLETON_FIELD_NUMBER: _builtins.int + AGGREGATIONS_FIELD_NUMBER: _builtins.int + name: _builtins.str """Name of the feature view. Must be unique. Not updated.""" - project: builtins.str + project: _builtins.str """Name of Feast project that this feature view belongs to.""" - @property - def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: + description: _builtins.str + """Description of the on demand feature view.""" + owner: _builtins.str + """Owner of the on demand feature view.""" + mode: _builtins.str + write_to_online_store: _builtins.bool + singleton: _builtins.bool + @_builtins.property + def features(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: """List of features specifications for each feature defined with this feature view.""" - @property - def sources(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___OnDemandSource]: + + @_builtins.property + def sources(self) -> _containers.MessageMap[_builtins.str, Global___OnDemandSource]: """Map of sources for this feature view.""" - @property - def user_defined_function(self) -> global___UserDefinedFunction: ... - @property - def feature_transformation(self) -> feast.core.Transformation_pb2.FeatureTransformationV2: + + @_builtins.property + @_deprecated("""This field has been marked as deprecated using proto field options.""") + def user_defined_function(self) -> Global___UserDefinedFunction: ... + @_builtins.property + def feature_transformation(self) -> _Transformation_pb2.FeatureTransformationV2: """Oneof with {user_defined_function, on_demand_substrait_transformation}""" - description: builtins.str - """Description of the on demand feature view.""" - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: """User defined metadata.""" - owner: builtins.str - """Owner of the on demand feature view.""" - mode: builtins.str - write_to_online_store: builtins.bool - @property - def entities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + + @_builtins.property + def entities(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: """List of names of entities associated with this feature view.""" - @property - def entity_columns(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: + + @_builtins.property + def entity_columns(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: """List of specifications for each entity defined as part of this feature view.""" - singleton: builtins.bool - @property - def aggregations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Aggregation_pb2.Aggregation]: + + @_builtins.property + def aggregations(self) -> _containers.RepeatedCompositeFieldContainer[_Aggregation_pb2.Aggregation]: """Aggregation definitions""" + def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - features: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., - sources: collections.abc.Mapping[builtins.str, global___OnDemandSource] | None = ..., - user_defined_function: global___UserDefinedFunction | None = ..., - feature_transformation: feast.core.Transformation_pb2.FeatureTransformationV2 | None = ..., - description: builtins.str = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - owner: builtins.str = ..., - mode: builtins.str = ..., - write_to_online_store: builtins.bool = ..., - entities: collections.abc.Iterable[builtins.str] | None = ..., - entity_columns: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., - singleton: builtins.bool = ..., - aggregations: collections.abc.Iterable[feast.core.Aggregation_pb2.Aggregation] | None = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + features: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., + sources: _abc.Mapping[_builtins.str, Global___OnDemandSource] | None = ..., + user_defined_function: Global___UserDefinedFunction | None = ..., + feature_transformation: _Transformation_pb2.FeatureTransformationV2 | None = ..., + description: _builtins.str = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + owner: _builtins.str = ..., + mode: _builtins.str = ..., + write_to_online_store: _builtins.bool = ..., + entities: _abc.Iterable[_builtins.str] | None = ..., + entity_columns: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., + singleton: _builtins.bool = ..., + aggregations: _abc.Iterable[_Aggregation_pb2.Aggregation] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["feature_transformation", b"feature_transformation", "user_defined_function", b"user_defined_function"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["aggregations", b"aggregations", "description", b"description", "entities", b"entities", "entity_columns", b"entity_columns", "feature_transformation", b"feature_transformation", "features", b"features", "mode", b"mode", "name", b"name", "owner", b"owner", "project", b"project", "singleton", b"singleton", "sources", b"sources", "tags", b"tags", "user_defined_function", b"user_defined_function", "write_to_online_store", b"write_to_online_store"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["feature_transformation", b"feature_transformation", "user_defined_function", b"user_defined_function"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["aggregations", b"aggregations", "description", b"description", "entities", b"entities", "entity_columns", b"entity_columns", "feature_transformation", b"feature_transformation", "features", b"features", "mode", b"mode", "name", b"name", "owner", b"owner", "project", b"project", "singleton", b"singleton", "sources", b"sources", "tags", b"tags", "user_defined_function", b"user_defined_function", "write_to_online_store", b"write_to_online_store"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___OnDemandFeatureViewSpec = OnDemandFeatureViewSpec +Global___OnDemandFeatureViewSpec: _TypeAlias = OnDemandFeatureViewSpec # noqa: Y015 -class OnDemandFeatureViewMeta(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class OnDemandFeatureViewMeta(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int - @property - def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + @_builtins.property + def created_timestamp(self) -> _timestamp_pb2.Timestamp: """Time where this Feature View is created""" - @property - def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + + @_builtins.property + def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: """Time where this Feature View is last updated""" + def __init__( self, *, - created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> None: ... - -global___OnDemandFeatureViewMeta = OnDemandFeatureViewMeta - -class OnDemandSource(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - FEATURE_VIEW_FIELD_NUMBER: builtins.int - FEATURE_VIEW_PROJECTION_FIELD_NUMBER: builtins.int - REQUEST_DATA_SOURCE_FIELD_NUMBER: builtins.int - @property - def feature_view(self) -> feast.core.FeatureView_pb2.FeatureView: ... - @property - def feature_view_projection(self) -> feast.core.FeatureViewProjection_pb2.FeatureViewProjection: ... - @property - def request_data_source(self) -> feast.core.DataSource_pb2.DataSource: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___OnDemandFeatureViewMeta: _TypeAlias = OnDemandFeatureViewMeta # noqa: Y015 + +@_typing.final +class OnDemandSource(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + FEATURE_VIEW_FIELD_NUMBER: _builtins.int + FEATURE_VIEW_PROJECTION_FIELD_NUMBER: _builtins.int + REQUEST_DATA_SOURCE_FIELD_NUMBER: _builtins.int + @_builtins.property + def feature_view(self) -> _FeatureView_pb2.FeatureView: ... + @_builtins.property + def feature_view_projection(self) -> _FeatureViewProjection_pb2.FeatureViewProjection: ... + @_builtins.property + def request_data_source(self) -> _DataSource_pb2.DataSource: ... def __init__( self, *, - feature_view: feast.core.FeatureView_pb2.FeatureView | None = ..., - feature_view_projection: feast.core.FeatureViewProjection_pb2.FeatureViewProjection | None = ..., - request_data_source: feast.core.DataSource_pb2.DataSource | None = ..., + feature_view: _FeatureView_pb2.FeatureView | None = ..., + feature_view_projection: _FeatureViewProjection_pb2.FeatureViewProjection | None = ..., + request_data_source: _DataSource_pb2.DataSource | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["feature_view", b"feature_view", "feature_view_projection", b"feature_view_projection", "request_data_source", b"request_data_source", "source", b"source"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["feature_view", b"feature_view", "feature_view_projection", b"feature_view_projection", "request_data_source", b"request_data_source", "source", b"source"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["source", b"source"]) -> typing_extensions.Literal["feature_view", "feature_view_projection", "request_data_source"] | None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["feature_view", b"feature_view", "feature_view_projection", b"feature_view_projection", "request_data_source", b"request_data_source", "source", b"source"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_view", b"feature_view", "feature_view_projection", b"feature_view_projection", "request_data_source", b"request_data_source", "source", b"source"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_source: _TypeAlias = _typing.Literal["feature_view", "feature_view_projection", "request_data_source"] # noqa: Y015 + _WhichOneofArgType_source: _TypeAlias = _typing.Literal["source", b"source"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_source) -> _WhichOneofReturnType_source | None: ... -global___OnDemandSource = OnDemandSource +Global___OnDemandSource: _TypeAlias = OnDemandSource # noqa: Y015 -class UserDefinedFunction(google.protobuf.message.Message): +@_deprecated("""This message has been marked as deprecated using proto message options.""") +@_typing.final +class UserDefinedFunction(_message.Message): """Serialized representation of python function.""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - BODY_FIELD_NUMBER: builtins.int - BODY_TEXT_FIELD_NUMBER: builtins.int - name: builtins.str + NAME_FIELD_NUMBER: _builtins.int + BODY_FIELD_NUMBER: _builtins.int + BODY_TEXT_FIELD_NUMBER: _builtins.int + name: _builtins.str """The function name""" - body: builtins.bytes + body: _builtins.bytes """The python-syntax function body (serialized by dill)""" - body_text: builtins.str + body_text: _builtins.str """The string representation of the udf""" def __init__( self, *, - name: builtins.str = ..., - body: builtins.bytes = ..., - body_text: builtins.str = ..., + name: _builtins.str = ..., + body: _builtins.bytes = ..., + body_text: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["body", b"body", "body_text", b"body_text", "name", b"name"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["body", b"body", "body_text", b"body_text", "name", b"name"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___UserDefinedFunction = UserDefinedFunction +Global___UserDefinedFunction: _TypeAlias = UserDefinedFunction # noqa: Y015 -class OnDemandFeatureViewList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class OnDemandFeatureViewList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - ONDEMANDFEATUREVIEWS_FIELD_NUMBER: builtins.int - @property - def ondemandfeatureviews(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OnDemandFeatureView]: ... + ONDEMANDFEATUREVIEWS_FIELD_NUMBER: _builtins.int + @_builtins.property + def ondemandfeatureviews(self) -> _containers.RepeatedCompositeFieldContainer[Global___OnDemandFeatureView]: ... def __init__( self, *, - ondemandfeatureviews: collections.abc.Iterable[global___OnDemandFeatureView] | None = ..., + ondemandfeatureviews: _abc.Iterable[Global___OnDemandFeatureView] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["ondemandfeatureviews", b"ondemandfeatureviews"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["ondemandfeatureviews", b"ondemandfeatureviews"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___OnDemandFeatureViewList = OnDemandFeatureViewList +Global___OnDemandFeatureViewList: _TypeAlias = OnDemandFeatureViewList # noqa: Y015 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 2daafffebf..c739fcc8b3 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 706fd2eec4..e0e05f7c14 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/Permission_pb2.pyi index b2387d2946..4acc8ac3e1 100644 --- a/sdk/python/feast/protos/feast/core/Permission_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Permission_pb2.pyi @@ -2,55 +2,62 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ -import builtins -import collections.abc -import feast.core.Policy_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from feast.core import Policy_pb2 as _Policy_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +import builtins as _builtins import sys -import typing +import typing as _typing if sys.version_info >= (3, 10): - import typing as typing_extensions + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class Permission(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Permission(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SPEC_FIELD_NUMBER: builtins.int - META_FIELD_NUMBER: builtins.int - @property - def spec(self) -> global___PermissionSpec: + SPEC_FIELD_NUMBER: _builtins.int + META_FIELD_NUMBER: _builtins.int + @_builtins.property + def spec(self) -> Global___PermissionSpec: """User-specified specifications of this permission.""" - @property - def meta(self) -> global___PermissionMeta: + + @_builtins.property + def meta(self) -> Global___PermissionMeta: """System-populated metadata for this permission.""" + def __init__( self, *, - spec: global___PermissionSpec | None = ..., - meta: global___PermissionMeta | None = ..., + spec: Global___PermissionSpec | None = ..., + meta: Global___PermissionMeta | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Permission = Permission +Global___Permission: _TypeAlias = Permission # noqa: Y015 -class PermissionSpec(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class PermissionSpec(_message.Message): + DESCRIPTOR: _descriptor.Descriptor class _AuthzedAction: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 - class _AuthzedActionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PermissionSpec._AuthzedAction.ValueType], builtins.type): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + class _AuthzedActionEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[PermissionSpec._AuthzedAction.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor CREATE: PermissionSpec._AuthzedAction.ValueType # 0 DESCRIBE: PermissionSpec._AuthzedAction.ValueType # 1 UPDATE: PermissionSpec._AuthzedAction.ValueType # 2 @@ -71,11 +78,11 @@ class PermissionSpec(google.protobuf.message.Message): WRITE_OFFLINE: PermissionSpec.AuthzedAction.ValueType # 7 class _Type: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 - class _TypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PermissionSpec._Type.ValueType], builtins.type): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + class _TypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[PermissionSpec._Type.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor FEATURE_VIEW: PermissionSpec._Type.ValueType # 0 ON_DEMAND_FEATURE_VIEW: PermissionSpec._Type.ValueType # 1 BATCH_FEATURE_VIEW: PermissionSpec._Type.ValueType # 2 @@ -101,96 +108,108 @@ class PermissionSpec(google.protobuf.message.Message): PERMISSION: PermissionSpec.Type.ValueType # 9 PROJECT: PermissionSpec.Type.ValueType # 10 - class RequiredTagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class RequiredTagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - TYPES_FIELD_NUMBER: builtins.int - NAME_PATTERNS_FIELD_NUMBER: builtins.int - REQUIRED_TAGS_FIELD_NUMBER: builtins.int - ACTIONS_FIELD_NUMBER: builtins.int - POLICY_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - name: builtins.str + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + TYPES_FIELD_NUMBER: _builtins.int + NAME_PATTERNS_FIELD_NUMBER: _builtins.int + REQUIRED_TAGS_FIELD_NUMBER: _builtins.int + ACTIONS_FIELD_NUMBER: _builtins.int + POLICY_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + name: _builtins.str """Name of the permission. Must be unique. Not updated.""" - project: builtins.str + project: _builtins.str """Name of Feast project.""" - @property - def types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___PermissionSpec.Type.ValueType]: ... - @property - def name_patterns(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def required_tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - @property - def actions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___PermissionSpec.AuthzedAction.ValueType]: + @_builtins.property + def types(self) -> _containers.RepeatedScalarFieldContainer[Global___PermissionSpec.Type.ValueType]: ... + @_builtins.property + def name_patterns(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... + @_builtins.property + def required_tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def actions(self) -> _containers.RepeatedScalarFieldContainer[Global___PermissionSpec.AuthzedAction.ValueType]: """List of actions.""" - @property - def policy(self) -> feast.core.Policy_pb2.Policy: + + @_builtins.property + def policy(self) -> _Policy_pb2.Policy: """the policy.""" - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: """User defined metadata""" + def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - types: collections.abc.Iterable[global___PermissionSpec.Type.ValueType] | None = ..., - name_patterns: collections.abc.Iterable[builtins.str] | None = ..., - required_tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - actions: collections.abc.Iterable[global___PermissionSpec.AuthzedAction.ValueType] | None = ..., - policy: feast.core.Policy_pb2.Policy | None = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + types: _abc.Iterable[Global___PermissionSpec.Type.ValueType] | None = ..., + name_patterns: _abc.Iterable[_builtins.str] | None = ..., + required_tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + actions: _abc.Iterable[Global___PermissionSpec.AuthzedAction.ValueType] | None = ..., + policy: _Policy_pb2.Policy | None = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["policy", b"policy"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["actions", b"actions", "name", b"name", "name_patterns", b"name_patterns", "policy", b"policy", "project", b"project", "required_tags", b"required_tags", "tags", b"tags", "types", b"types"]) -> None: ... - -global___PermissionSpec = PermissionSpec - -class PermissionMeta(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int - @property - def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["policy", b"policy"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["actions", b"actions", "name", b"name", "name_patterns", b"name_patterns", "policy", b"policy", "project", b"project", "required_tags", b"required_tags", "tags", b"tags", "types", b"types"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___PermissionSpec: _TypeAlias = PermissionSpec # noqa: Y015 + +@_typing.final +class PermissionMeta(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + @_builtins.property + def created_timestamp(self) -> _timestamp_pb2.Timestamp: ... + @_builtins.property + def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: ... def __init__( self, *, - created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___PermissionMeta = PermissionMeta +Global___PermissionMeta: _TypeAlias = PermissionMeta # noqa: Y015 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 2daafffebf..475f665299 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 e40eaccc12..c99da852bc 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/Policy_pb2.pyi index 8410e39658..6c8b6e4920 100644 --- a/sdk/python/feast/protos/feast/core/Policy_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Policy_pb2.pyi @@ -2,122 +2,142 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ -import builtins -import collections.abc -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message + +from collections import abc as _abc +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class Policy(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Policy(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ROLE_BASED_POLICY_FIELD_NUMBER: builtins.int - GROUP_BASED_POLICY_FIELD_NUMBER: builtins.int - NAMESPACE_BASED_POLICY_FIELD_NUMBER: builtins.int - COMBINED_GROUP_NAMESPACE_POLICY_FIELD_NUMBER: builtins.int - name: builtins.str + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ROLE_BASED_POLICY_FIELD_NUMBER: _builtins.int + GROUP_BASED_POLICY_FIELD_NUMBER: _builtins.int + NAMESPACE_BASED_POLICY_FIELD_NUMBER: _builtins.int + COMBINED_GROUP_NAMESPACE_POLICY_FIELD_NUMBER: _builtins.int + name: _builtins.str """Name of the policy.""" - project: builtins.str + project: _builtins.str """Name of Feast project.""" - @property - def role_based_policy(self) -> global___RoleBasedPolicy: ... - @property - def group_based_policy(self) -> global___GroupBasedPolicy: ... - @property - def namespace_based_policy(self) -> global___NamespaceBasedPolicy: ... - @property - def combined_group_namespace_policy(self) -> global___CombinedGroupNamespacePolicy: ... + @_builtins.property + def role_based_policy(self) -> Global___RoleBasedPolicy: ... + @_builtins.property + def group_based_policy(self) -> Global___GroupBasedPolicy: ... + @_builtins.property + def namespace_based_policy(self) -> Global___NamespaceBasedPolicy: ... + @_builtins.property + def combined_group_namespace_policy(self) -> Global___CombinedGroupNamespacePolicy: ... def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - role_based_policy: global___RoleBasedPolicy | None = ..., - group_based_policy: global___GroupBasedPolicy | None = ..., - namespace_based_policy: global___NamespaceBasedPolicy | None = ..., - combined_group_namespace_policy: global___CombinedGroupNamespacePolicy | None = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + role_based_policy: Global___RoleBasedPolicy | None = ..., + group_based_policy: Global___GroupBasedPolicy | None = ..., + namespace_based_policy: Global___NamespaceBasedPolicy | None = ..., + combined_group_namespace_policy: Global___CombinedGroupNamespacePolicy | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["combined_group_namespace_policy", b"combined_group_namespace_policy", "group_based_policy", b"group_based_policy", "namespace_based_policy", b"namespace_based_policy", "policy_type", b"policy_type", "role_based_policy", b"role_based_policy"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["combined_group_namespace_policy", b"combined_group_namespace_policy", "group_based_policy", b"group_based_policy", "name", b"name", "namespace_based_policy", b"namespace_based_policy", "policy_type", b"policy_type", "project", b"project", "role_based_policy", b"role_based_policy"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["policy_type", b"policy_type"]) -> typing_extensions.Literal["role_based_policy", "group_based_policy", "namespace_based_policy", "combined_group_namespace_policy"] | None: ... - -global___Policy = Policy - -class RoleBasedPolicy(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - ROLES_FIELD_NUMBER: builtins.int - @property - def roles(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + _HasFieldArgType: _TypeAlias = _typing.Literal["combined_group_namespace_policy", b"combined_group_namespace_policy", "group_based_policy", b"group_based_policy", "namespace_based_policy", b"namespace_based_policy", "policy_type", b"policy_type", "role_based_policy", b"role_based_policy"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["combined_group_namespace_policy", b"combined_group_namespace_policy", "group_based_policy", b"group_based_policy", "name", b"name", "namespace_based_policy", b"namespace_based_policy", "policy_type", b"policy_type", "project", b"project", "role_based_policy", b"role_based_policy"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_policy_type: _TypeAlias = _typing.Literal["role_based_policy", "group_based_policy", "namespace_based_policy", "combined_group_namespace_policy"] # noqa: Y015 + _WhichOneofArgType_policy_type: _TypeAlias = _typing.Literal["policy_type", b"policy_type"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_policy_type) -> _WhichOneofReturnType_policy_type | None: ... + +Global___Policy: _TypeAlias = Policy # noqa: Y015 + +@_typing.final +class RoleBasedPolicy(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + ROLES_FIELD_NUMBER: _builtins.int + @_builtins.property + def roles(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: """List of roles in this policy.""" + def __init__( self, *, - roles: collections.abc.Iterable[builtins.str] | None = ..., + roles: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["roles", b"roles"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["roles", b"roles"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___RoleBasedPolicy = RoleBasedPolicy +Global___RoleBasedPolicy: _TypeAlias = RoleBasedPolicy # noqa: Y015 -class GroupBasedPolicy(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GroupBasedPolicy(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - GROUPS_FIELD_NUMBER: builtins.int - @property - def groups(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + GROUPS_FIELD_NUMBER: _builtins.int + @_builtins.property + def groups(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: """List of groups in this policy.""" + def __init__( self, *, - groups: collections.abc.Iterable[builtins.str] | None = ..., + groups: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["groups", b"groups"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["groups", b"groups"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GroupBasedPolicy = GroupBasedPolicy +Global___GroupBasedPolicy: _TypeAlias = GroupBasedPolicy # noqa: Y015 -class NamespaceBasedPolicy(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class NamespaceBasedPolicy(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAMESPACES_FIELD_NUMBER: builtins.int - @property - def namespaces(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + NAMESPACES_FIELD_NUMBER: _builtins.int + @_builtins.property + def namespaces(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: """List of namespaces in this policy.""" + def __init__( self, *, - namespaces: collections.abc.Iterable[builtins.str] | None = ..., + namespaces: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["namespaces", b"namespaces"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["namespaces", b"namespaces"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___NamespaceBasedPolicy = NamespaceBasedPolicy +Global___NamespaceBasedPolicy: _TypeAlias = NamespaceBasedPolicy # noqa: Y015 -class CombinedGroupNamespacePolicy(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class CombinedGroupNamespacePolicy(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - GROUPS_FIELD_NUMBER: builtins.int - NAMESPACES_FIELD_NUMBER: builtins.int - @property - def groups(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + GROUPS_FIELD_NUMBER: _builtins.int + NAMESPACES_FIELD_NUMBER: _builtins.int + @_builtins.property + def groups(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: """List of groups in this policy.""" - @property - def namespaces(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + + @_builtins.property + def namespaces(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: """List of namespaces in this policy.""" + def __init__( self, *, - groups: collections.abc.Iterable[builtins.str] | None = ..., - namespaces: collections.abc.Iterable[builtins.str] | None = ..., + groups: _abc.Iterable[_builtins.str] | None = ..., + namespaces: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["groups", b"groups", "namespaces", b"namespaces"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["groups", b"groups", "namespaces", b"namespaces"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___CombinedGroupNamespacePolicy = CombinedGroupNamespacePolicy +Global___CombinedGroupNamespacePolicy: _TypeAlias = CombinedGroupNamespacePolicy # noqa: Y015 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 2daafffebf..3d80c0a20b 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in feast/core/Policy_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/feast/protos/feast/core/Project_pb2.py b/sdk/python/feast/protos/feast/core/Project_pb2.py index cfbf122014..5c71d2feaf 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/Project_pb2.pyi index e3cce2ec42..d384446354 100644 --- a/sdk/python/feast/protos/feast/core/Project_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Project_pb2.pyi @@ -16,104 +16,121 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ -import builtins -import collections.abc -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class Project(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Project(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SPEC_FIELD_NUMBER: builtins.int - META_FIELD_NUMBER: builtins.int - @property - def spec(self) -> global___ProjectSpec: + SPEC_FIELD_NUMBER: _builtins.int + META_FIELD_NUMBER: _builtins.int + @_builtins.property + def spec(self) -> Global___ProjectSpec: """User-specified specifications of this entity.""" - @property - def meta(self) -> global___ProjectMeta: + + @_builtins.property + def meta(self) -> Global___ProjectMeta: """System-populated metadata for this entity.""" + def __init__( self, *, - spec: global___ProjectSpec | None = ..., - meta: global___ProjectMeta | None = ..., + spec: Global___ProjectSpec | None = ..., + meta: Global___ProjectMeta | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Project = Project +Global___Project: _TypeAlias = Project # noqa: Y015 -class ProjectSpec(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ProjectSpec(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - NAME_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - OWNER_FIELD_NUMBER: builtins.int - name: builtins.str + NAME_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + OWNER_FIELD_NUMBER: _builtins.int + name: _builtins.str """Name of the Project""" - description: builtins.str + description: _builtins.str """Description of the Project""" - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: - """User defined metadata""" - owner: builtins.str + owner: _builtins.str """Owner of the Project""" + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + """User defined metadata""" + def __init__( self, *, - name: builtins.str = ..., - description: builtins.str = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - owner: builtins.str = ..., + name: _builtins.str = ..., + description: _builtins.str = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + owner: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name", "owner", b"owner", "tags", b"tags"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "name", b"name", "owner", b"owner", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ProjectSpec = ProjectSpec +Global___ProjectSpec: _TypeAlias = ProjectSpec # noqa: Y015 -class ProjectMeta(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ProjectMeta(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int - @property - def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + @_builtins.property + def created_timestamp(self) -> _timestamp_pb2.Timestamp: """Time when the Project is created""" - @property - def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + + @_builtins.property + def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: """Time when the Project is last updated with registry changes (Apply stage)""" + def __init__( self, *, - created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ProjectMeta = ProjectMeta +Global___ProjectMeta: _TypeAlias = ProjectMeta # noqa: Y015 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 2daafffebf..b6e4940789 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 671958d80c..f1ce35a9ff 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.31.1 """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, + 31, + 1, + '', + 'feast/core/Registry.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -32,10 +42,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Registry_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\rRegistryProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_REGISTRY'].fields_by_name['project_metadata']._options = None + _globals['_REGISTRY'].fields_by_name['project_metadata']._loaded_options = None _globals['_REGISTRY'].fields_by_name['project_metadata']._serialized_options = b'\030\001' _globals['_REGISTRY']._serialized_start=449 _globals['_REGISTRY']._serialized_end=1216 diff --git a/sdk/python/feast/protos/feast/core/Registry_pb2.pyi b/sdk/python/feast/protos/feast/core/Registry_pb2.pyi index fca49c7548..95560db753 100644 --- a/sdk/python/feast/protos/feast/core/Registry_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Registry_pb2.pyi @@ -16,125 +16,139 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ -import builtins -import collections.abc -import feast.core.DataSource_pb2 -import feast.core.Entity_pb2 -import feast.core.FeatureService_pb2 -import feast.core.FeatureTable_pb2 -import feast.core.FeatureView_pb2 -import feast.core.InfraObject_pb2 -import feast.core.OnDemandFeatureView_pb2 -import feast.core.Permission_pb2 -import feast.core.Project_pb2 -import feast.core.SavedDataset_pb2 -import feast.core.StreamFeatureView_pb2 -import feast.core.ValidationProfile_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from feast.core import DataSource_pb2 as _DataSource_pb2 +from feast.core import Entity_pb2 as _Entity_pb2 +from feast.core import FeatureService_pb2 as _FeatureService_pb2 +from feast.core import FeatureTable_pb2 as _FeatureTable_pb2 +from feast.core import FeatureView_pb2 as _FeatureView_pb2 +from feast.core import InfraObject_pb2 as _InfraObject_pb2 +from feast.core import OnDemandFeatureView_pb2 as _OnDemandFeatureView_pb2 +from feast.core import Permission_pb2 as _Permission_pb2 +from feast.core import Project_pb2 as _Project_pb2 +from feast.core import SavedDataset_pb2 as _SavedDataset_pb2 +from feast.core import StreamFeatureView_pb2 as _StreamFeatureView_pb2 +from feast.core import ValidationProfile_pb2 as _ValidationProfile_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing + +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias +else: + from typing_extensions import TypeAlias as _TypeAlias -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 13): + from warnings import deprecated as _deprecated else: - import typing_extensions + from typing_extensions import deprecated as _deprecated -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class Registry(google.protobuf.message.Message): +@_typing.final +class Registry(_message.Message): """Next id: 18""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - ENTITIES_FIELD_NUMBER: builtins.int - FEATURE_TABLES_FIELD_NUMBER: builtins.int - FEATURE_VIEWS_FIELD_NUMBER: builtins.int - DATA_SOURCES_FIELD_NUMBER: builtins.int - ON_DEMAND_FEATURE_VIEWS_FIELD_NUMBER: builtins.int - STREAM_FEATURE_VIEWS_FIELD_NUMBER: builtins.int - FEATURE_SERVICES_FIELD_NUMBER: builtins.int - SAVED_DATASETS_FIELD_NUMBER: builtins.int - VALIDATION_REFERENCES_FIELD_NUMBER: builtins.int - INFRA_FIELD_NUMBER: builtins.int - PROJECT_METADATA_FIELD_NUMBER: builtins.int - REGISTRY_SCHEMA_VERSION_FIELD_NUMBER: builtins.int - VERSION_ID_FIELD_NUMBER: builtins.int - LAST_UPDATED_FIELD_NUMBER: builtins.int - PERMISSIONS_FIELD_NUMBER: builtins.int - PROJECTS_FIELD_NUMBER: builtins.int - @property - def entities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Entity_pb2.Entity]: ... - @property - def feature_tables(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureTable_pb2.FeatureTable]: ... - @property - def feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureView_pb2.FeatureView]: ... - @property - def data_sources(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.DataSource_pb2.DataSource]: ... - @property - def on_demand_feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView]: ... - @property - def stream_feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.StreamFeatureView_pb2.StreamFeatureView]: ... - @property - def feature_services(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureService_pb2.FeatureService]: ... - @property - def saved_datasets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.SavedDataset_pb2.SavedDataset]: ... - @property - def validation_references(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.ValidationProfile_pb2.ValidationReference]: ... - @property - def infra(self) -> feast.core.InfraObject_pb2.Infra: ... - @property - def project_metadata(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ProjectMetadata]: - """Tracking metadata of Feast by project""" - registry_schema_version: builtins.str + ENTITIES_FIELD_NUMBER: _builtins.int + FEATURE_TABLES_FIELD_NUMBER: _builtins.int + FEATURE_VIEWS_FIELD_NUMBER: _builtins.int + DATA_SOURCES_FIELD_NUMBER: _builtins.int + ON_DEMAND_FEATURE_VIEWS_FIELD_NUMBER: _builtins.int + STREAM_FEATURE_VIEWS_FIELD_NUMBER: _builtins.int + FEATURE_SERVICES_FIELD_NUMBER: _builtins.int + SAVED_DATASETS_FIELD_NUMBER: _builtins.int + VALIDATION_REFERENCES_FIELD_NUMBER: _builtins.int + INFRA_FIELD_NUMBER: _builtins.int + PROJECT_METADATA_FIELD_NUMBER: _builtins.int + REGISTRY_SCHEMA_VERSION_FIELD_NUMBER: _builtins.int + VERSION_ID_FIELD_NUMBER: _builtins.int + LAST_UPDATED_FIELD_NUMBER: _builtins.int + PERMISSIONS_FIELD_NUMBER: _builtins.int + PROJECTS_FIELD_NUMBER: _builtins.int + registry_schema_version: _builtins.str """to support migrations; incremented when schema is changed""" - version_id: builtins.str + version_id: _builtins.str """version id, random string generated on each update of the data; now used only for debugging purposes""" - @property - def last_updated(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def permissions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Permission_pb2.Permission]: ... - @property - def projects(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Project_pb2.Project]: ... + @_builtins.property + def entities(self) -> _containers.RepeatedCompositeFieldContainer[_Entity_pb2.Entity]: ... + @_builtins.property + def feature_tables(self) -> _containers.RepeatedCompositeFieldContainer[_FeatureTable_pb2.FeatureTable]: ... + @_builtins.property + def feature_views(self) -> _containers.RepeatedCompositeFieldContainer[_FeatureView_pb2.FeatureView]: ... + @_builtins.property + def data_sources(self) -> _containers.RepeatedCompositeFieldContainer[_DataSource_pb2.DataSource]: ... + @_builtins.property + def on_demand_feature_views(self) -> _containers.RepeatedCompositeFieldContainer[_OnDemandFeatureView_pb2.OnDemandFeatureView]: ... + @_builtins.property + def stream_feature_views(self) -> _containers.RepeatedCompositeFieldContainer[_StreamFeatureView_pb2.StreamFeatureView]: ... + @_builtins.property + def feature_services(self) -> _containers.RepeatedCompositeFieldContainer[_FeatureService_pb2.FeatureService]: ... + @_builtins.property + def saved_datasets(self) -> _containers.RepeatedCompositeFieldContainer[_SavedDataset_pb2.SavedDataset]: ... + @_builtins.property + def validation_references(self) -> _containers.RepeatedCompositeFieldContainer[_ValidationProfile_pb2.ValidationReference]: ... + @_builtins.property + def infra(self) -> _InfraObject_pb2.Infra: ... + @_builtins.property + @_deprecated("""This field has been marked as deprecated using proto field options.""") + def project_metadata(self) -> _containers.RepeatedCompositeFieldContainer[Global___ProjectMetadata]: + """Tracking metadata of Feast by project""" + + @_builtins.property + def last_updated(self) -> _timestamp_pb2.Timestamp: ... + @_builtins.property + def permissions(self) -> _containers.RepeatedCompositeFieldContainer[_Permission_pb2.Permission]: ... + @_builtins.property + def projects(self) -> _containers.RepeatedCompositeFieldContainer[_Project_pb2.Project]: ... def __init__( self, *, - entities: collections.abc.Iterable[feast.core.Entity_pb2.Entity] | None = ..., - feature_tables: collections.abc.Iterable[feast.core.FeatureTable_pb2.FeatureTable] | None = ..., - feature_views: collections.abc.Iterable[feast.core.FeatureView_pb2.FeatureView] | None = ..., - data_sources: collections.abc.Iterable[feast.core.DataSource_pb2.DataSource] | None = ..., - on_demand_feature_views: collections.abc.Iterable[feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView] | None = ..., - stream_feature_views: collections.abc.Iterable[feast.core.StreamFeatureView_pb2.StreamFeatureView] | None = ..., - feature_services: collections.abc.Iterable[feast.core.FeatureService_pb2.FeatureService] | None = ..., - saved_datasets: collections.abc.Iterable[feast.core.SavedDataset_pb2.SavedDataset] | None = ..., - validation_references: collections.abc.Iterable[feast.core.ValidationProfile_pb2.ValidationReference] | None = ..., - infra: feast.core.InfraObject_pb2.Infra | None = ..., - project_metadata: collections.abc.Iterable[global___ProjectMetadata] | None = ..., - registry_schema_version: builtins.str = ..., - version_id: builtins.str = ..., - last_updated: google.protobuf.timestamp_pb2.Timestamp | None = ..., - permissions: collections.abc.Iterable[feast.core.Permission_pb2.Permission] | None = ..., - projects: collections.abc.Iterable[feast.core.Project_pb2.Project] | None = ..., + entities: _abc.Iterable[_Entity_pb2.Entity] | None = ..., + feature_tables: _abc.Iterable[_FeatureTable_pb2.FeatureTable] | None = ..., + feature_views: _abc.Iterable[_FeatureView_pb2.FeatureView] | None = ..., + data_sources: _abc.Iterable[_DataSource_pb2.DataSource] | None = ..., + on_demand_feature_views: _abc.Iterable[_OnDemandFeatureView_pb2.OnDemandFeatureView] | None = ..., + stream_feature_views: _abc.Iterable[_StreamFeatureView_pb2.StreamFeatureView] | None = ..., + feature_services: _abc.Iterable[_FeatureService_pb2.FeatureService] | None = ..., + saved_datasets: _abc.Iterable[_SavedDataset_pb2.SavedDataset] | None = ..., + validation_references: _abc.Iterable[_ValidationProfile_pb2.ValidationReference] | None = ..., + infra: _InfraObject_pb2.Infra | None = ..., + project_metadata: _abc.Iterable[Global___ProjectMetadata] | None = ..., + registry_schema_version: _builtins.str = ..., + version_id: _builtins.str = ..., + last_updated: _timestamp_pb2.Timestamp | None = ..., + permissions: _abc.Iterable[_Permission_pb2.Permission] | None = ..., + projects: _abc.Iterable[_Project_pb2.Project] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["infra", b"infra", "last_updated", b"last_updated"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["data_sources", b"data_sources", "entities", b"entities", "feature_services", b"feature_services", "feature_tables", b"feature_tables", "feature_views", b"feature_views", "infra", b"infra", "last_updated", b"last_updated", "on_demand_feature_views", b"on_demand_feature_views", "permissions", b"permissions", "project_metadata", b"project_metadata", "projects", b"projects", "registry_schema_version", b"registry_schema_version", "saved_datasets", b"saved_datasets", "stream_feature_views", b"stream_feature_views", "validation_references", b"validation_references", "version_id", b"version_id"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["infra", b"infra", "last_updated", b"last_updated"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["data_sources", b"data_sources", "entities", b"entities", "feature_services", b"feature_services", "feature_tables", b"feature_tables", "feature_views", b"feature_views", "infra", b"infra", "last_updated", b"last_updated", "on_demand_feature_views", b"on_demand_feature_views", "permissions", b"permissions", "project_metadata", b"project_metadata", "projects", b"projects", "registry_schema_version", b"registry_schema_version", "saved_datasets", b"saved_datasets", "stream_feature_views", b"stream_feature_views", "validation_references", b"validation_references", "version_id", b"version_id"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Registry = Registry +Global___Registry: _TypeAlias = Registry # noqa: Y015 -class ProjectMetadata(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ProjectMetadata(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - PROJECT_FIELD_NUMBER: builtins.int - PROJECT_UUID_FIELD_NUMBER: builtins.int - project: builtins.str - project_uuid: builtins.str + PROJECT_FIELD_NUMBER: _builtins.int + PROJECT_UUID_FIELD_NUMBER: _builtins.int + project: _builtins.str + project_uuid: _builtins.str def __init__( self, *, - project: builtins.str = ..., - project_uuid: builtins.str = ..., + project: _builtins.str = ..., + project_uuid: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["project", b"project", "project_uuid", b"project_uuid"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["project", b"project", "project_uuid", b"project_uuid"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ProjectMetadata = ProjectMetadata +Global___ProjectMetadata: _TypeAlias = ProjectMetadata # noqa: Y015 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 2daafffebf..364097ae44 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 fe1e2d49ea..702eac75ce 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.31.1 """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, + 31, + 1, + '', + 'feast/core/SavedDataset.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,10 +31,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.SavedDataset_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\021SavedDatasetProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_SAVEDDATASETSPEC_TAGSENTRY']._options = None + _globals['_SAVEDDATASETSPEC_TAGSENTRY']._loaded_options = None _globals['_SAVEDDATASETSPEC_TAGSENTRY']._serialized_options = b'8\001' _globals['_SAVEDDATASETSPEC']._serialized_start=108 _globals['_SAVEDDATASETSPEC']._serialized_end=401 diff --git a/sdk/python/feast/protos/feast/core/SavedDataset_pb2.pyi b/sdk/python/feast/protos/feast/core/SavedDataset_pb2.pyi index 47525b64ed..e2c1fb27c4 100644 --- a/sdk/python/feast/protos/feast/core/SavedDataset_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/SavedDataset_pb2.pyi @@ -16,177 +16,202 @@ 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 -import collections.abc -import feast.core.DataSource_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from feast.core import DataSource_pb2 as _DataSource_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class SavedDatasetSpec(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class SavedDatasetSpec(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - FEATURES_FIELD_NUMBER: builtins.int - JOIN_KEYS_FIELD_NUMBER: builtins.int - FULL_FEATURE_NAMES_FIELD_NUMBER: builtins.int - STORAGE_FIELD_NUMBER: builtins.int - FEATURE_SERVICE_NAME_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - name: builtins.str + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + FEATURES_FIELD_NUMBER: _builtins.int + JOIN_KEYS_FIELD_NUMBER: _builtins.int + FULL_FEATURE_NAMES_FIELD_NUMBER: _builtins.int + STORAGE_FIELD_NUMBER: _builtins.int + FEATURE_SERVICE_NAME_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + name: _builtins.str """Name of the dataset. Must be unique since it's possible to overwrite dataset by name""" - project: builtins.str + project: _builtins.str """Name of Feast project that this Dataset belongs to.""" - @property - def features(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """list of feature references with format ":" """ - @property - def join_keys(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """entity columns + request columns from all feature views used during retrieval""" - full_feature_names: builtins.bool + full_feature_names: _builtins.bool """Whether full feature names are used in stored data""" - @property - def storage(self) -> global___SavedDatasetStorage: ... - feature_service_name: builtins.str + feature_service_name: _builtins.str """Optional and only populated if generated from a feature service fetch""" - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + @_builtins.property + def features(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: + """list of feature references with format ":" """ + + @_builtins.property + def join_keys(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: + """entity columns + request columns from all feature views used during retrieval""" + + @_builtins.property + def storage(self) -> Global___SavedDatasetStorage: ... + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: """User defined metadata""" + def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - features: collections.abc.Iterable[builtins.str] | None = ..., - join_keys: collections.abc.Iterable[builtins.str] | None = ..., - full_feature_names: builtins.bool = ..., - storage: global___SavedDatasetStorage | None = ..., - feature_service_name: builtins.str = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + features: _abc.Iterable[_builtins.str] | None = ..., + join_keys: _abc.Iterable[_builtins.str] | None = ..., + full_feature_names: _builtins.bool = ..., + storage: Global___SavedDatasetStorage | None = ..., + feature_service_name: _builtins.str = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["storage", b"storage"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["feature_service_name", b"feature_service_name", "features", b"features", "full_feature_names", b"full_feature_names", "join_keys", b"join_keys", "name", b"name", "project", b"project", "storage", b"storage", "tags", b"tags"]) -> None: ... - -global___SavedDatasetSpec = SavedDatasetSpec - -class SavedDatasetStorage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - FILE_STORAGE_FIELD_NUMBER: builtins.int - BIGQUERY_STORAGE_FIELD_NUMBER: builtins.int - REDSHIFT_STORAGE_FIELD_NUMBER: builtins.int - SNOWFLAKE_STORAGE_FIELD_NUMBER: builtins.int - TRINO_STORAGE_FIELD_NUMBER: builtins.int - SPARK_STORAGE_FIELD_NUMBER: builtins.int - CUSTOM_STORAGE_FIELD_NUMBER: builtins.int - ATHENA_STORAGE_FIELD_NUMBER: builtins.int - @property - def file_storage(self) -> feast.core.DataSource_pb2.DataSource.FileOptions: ... - @property - def bigquery_storage(self) -> feast.core.DataSource_pb2.DataSource.BigQueryOptions: ... - @property - def redshift_storage(self) -> feast.core.DataSource_pb2.DataSource.RedshiftOptions: ... - @property - def snowflake_storage(self) -> feast.core.DataSource_pb2.DataSource.SnowflakeOptions: ... - @property - def trino_storage(self) -> feast.core.DataSource_pb2.DataSource.TrinoOptions: ... - @property - def spark_storage(self) -> feast.core.DataSource_pb2.DataSource.SparkOptions: ... - @property - def custom_storage(self) -> feast.core.DataSource_pb2.DataSource.CustomSourceOptions: ... - @property - def athena_storage(self) -> feast.core.DataSource_pb2.DataSource.AthenaOptions: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["storage", b"storage"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_service_name", b"feature_service_name", "features", b"features", "full_feature_names", b"full_feature_names", "join_keys", b"join_keys", "name", b"name", "project", b"project", "storage", b"storage", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___SavedDatasetSpec: _TypeAlias = SavedDatasetSpec # noqa: Y015 + +@_typing.final +class SavedDatasetStorage(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + FILE_STORAGE_FIELD_NUMBER: _builtins.int + BIGQUERY_STORAGE_FIELD_NUMBER: _builtins.int + REDSHIFT_STORAGE_FIELD_NUMBER: _builtins.int + SNOWFLAKE_STORAGE_FIELD_NUMBER: _builtins.int + TRINO_STORAGE_FIELD_NUMBER: _builtins.int + SPARK_STORAGE_FIELD_NUMBER: _builtins.int + CUSTOM_STORAGE_FIELD_NUMBER: _builtins.int + ATHENA_STORAGE_FIELD_NUMBER: _builtins.int + @_builtins.property + def file_storage(self) -> _DataSource_pb2.DataSource.FileOptions: ... + @_builtins.property + def bigquery_storage(self) -> _DataSource_pb2.DataSource.BigQueryOptions: ... + @_builtins.property + def redshift_storage(self) -> _DataSource_pb2.DataSource.RedshiftOptions: ... + @_builtins.property + def snowflake_storage(self) -> _DataSource_pb2.DataSource.SnowflakeOptions: ... + @_builtins.property + def trino_storage(self) -> _DataSource_pb2.DataSource.TrinoOptions: ... + @_builtins.property + def spark_storage(self) -> _DataSource_pb2.DataSource.SparkOptions: ... + @_builtins.property + def custom_storage(self) -> _DataSource_pb2.DataSource.CustomSourceOptions: ... + @_builtins.property + def athena_storage(self) -> _DataSource_pb2.DataSource.AthenaOptions: ... def __init__( self, *, - file_storage: feast.core.DataSource_pb2.DataSource.FileOptions | None = ..., - bigquery_storage: feast.core.DataSource_pb2.DataSource.BigQueryOptions | None = ..., - redshift_storage: feast.core.DataSource_pb2.DataSource.RedshiftOptions | None = ..., - snowflake_storage: feast.core.DataSource_pb2.DataSource.SnowflakeOptions | None = ..., - trino_storage: feast.core.DataSource_pb2.DataSource.TrinoOptions | None = ..., - spark_storage: feast.core.DataSource_pb2.DataSource.SparkOptions | None = ..., - custom_storage: feast.core.DataSource_pb2.DataSource.CustomSourceOptions | None = ..., - athena_storage: feast.core.DataSource_pb2.DataSource.AthenaOptions | None = ..., + file_storage: _DataSource_pb2.DataSource.FileOptions | None = ..., + bigquery_storage: _DataSource_pb2.DataSource.BigQueryOptions | None = ..., + redshift_storage: _DataSource_pb2.DataSource.RedshiftOptions | None = ..., + snowflake_storage: _DataSource_pb2.DataSource.SnowflakeOptions | None = ..., + trino_storage: _DataSource_pb2.DataSource.TrinoOptions | None = ..., + spark_storage: _DataSource_pb2.DataSource.SparkOptions | None = ..., + custom_storage: _DataSource_pb2.DataSource.CustomSourceOptions | None = ..., + athena_storage: _DataSource_pb2.DataSource.AthenaOptions | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["athena_storage", b"athena_storage", "bigquery_storage", b"bigquery_storage", "custom_storage", b"custom_storage", "file_storage", b"file_storage", "kind", b"kind", "redshift_storage", b"redshift_storage", "snowflake_storage", b"snowflake_storage", "spark_storage", b"spark_storage", "trino_storage", b"trino_storage"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["athena_storage", b"athena_storage", "bigquery_storage", b"bigquery_storage", "custom_storage", b"custom_storage", "file_storage", b"file_storage", "kind", b"kind", "redshift_storage", b"redshift_storage", "snowflake_storage", b"snowflake_storage", "spark_storage", b"spark_storage", "trino_storage", b"trino_storage"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["kind", b"kind"]) -> typing_extensions.Literal["file_storage", "bigquery_storage", "redshift_storage", "snowflake_storage", "trino_storage", "spark_storage", "custom_storage", "athena_storage"] | None: ... - -global___SavedDatasetStorage = SavedDatasetStorage - -class SavedDatasetMeta(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int - MIN_EVENT_TIMESTAMP_FIELD_NUMBER: builtins.int - MAX_EVENT_TIMESTAMP_FIELD_NUMBER: builtins.int - @property - def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + _HasFieldArgType: _TypeAlias = _typing.Literal["athena_storage", b"athena_storage", "bigquery_storage", b"bigquery_storage", "custom_storage", b"custom_storage", "file_storage", b"file_storage", "kind", b"kind", "redshift_storage", b"redshift_storage", "snowflake_storage", b"snowflake_storage", "spark_storage", b"spark_storage", "trino_storage", b"trino_storage"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["athena_storage", b"athena_storage", "bigquery_storage", b"bigquery_storage", "custom_storage", b"custom_storage", "file_storage", b"file_storage", "kind", b"kind", "redshift_storage", b"redshift_storage", "snowflake_storage", b"snowflake_storage", "spark_storage", b"spark_storage", "trino_storage", b"trino_storage"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_kind: _TypeAlias = _typing.Literal["file_storage", "bigquery_storage", "redshift_storage", "snowflake_storage", "trino_storage", "spark_storage", "custom_storage", "athena_storage"] # noqa: Y015 + _WhichOneofArgType_kind: _TypeAlias = _typing.Literal["kind", b"kind"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_kind) -> _WhichOneofReturnType_kind | None: ... + +Global___SavedDatasetStorage: _TypeAlias = SavedDatasetStorage # noqa: Y015 + +@_typing.final +class SavedDatasetMeta(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + MIN_EVENT_TIMESTAMP_FIELD_NUMBER: _builtins.int + MAX_EVENT_TIMESTAMP_FIELD_NUMBER: _builtins.int + @_builtins.property + def created_timestamp(self) -> _timestamp_pb2.Timestamp: """Time when this saved dataset is created""" - @property - def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + + @_builtins.property + def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: """Time when this saved dataset is last updated""" - @property - def min_event_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + + @_builtins.property + def min_event_timestamp(self) -> _timestamp_pb2.Timestamp: """Min timestamp in the dataset (needed for retrieval)""" - @property - def max_event_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + + @_builtins.property + def max_event_timestamp(self) -> _timestamp_pb2.Timestamp: """Max timestamp in the dataset (needed for retrieval)""" + def __init__( self, *, - created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - min_event_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - max_event_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., + min_event_timestamp: _timestamp_pb2.Timestamp | None = ..., + max_event_timestamp: _timestamp_pb2.Timestamp | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp", "max_event_timestamp", b"max_event_timestamp", "min_event_timestamp", b"min_event_timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp", "max_event_timestamp", b"max_event_timestamp", "min_event_timestamp", b"min_event_timestamp"]) -> None: ... - -global___SavedDatasetMeta = SavedDatasetMeta - -class SavedDataset(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - SPEC_FIELD_NUMBER: builtins.int - META_FIELD_NUMBER: builtins.int - @property - def spec(self) -> global___SavedDatasetSpec: ... - @property - def meta(self) -> global___SavedDatasetMeta: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp", "max_event_timestamp", b"max_event_timestamp", "min_event_timestamp", b"min_event_timestamp"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp", "max_event_timestamp", b"max_event_timestamp", "min_event_timestamp", b"min_event_timestamp"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___SavedDatasetMeta: _TypeAlias = SavedDatasetMeta # noqa: Y015 + +@_typing.final +class SavedDataset(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + SPEC_FIELD_NUMBER: _builtins.int + META_FIELD_NUMBER: _builtins.int + @_builtins.property + def spec(self) -> Global___SavedDatasetSpec: ... + @_builtins.property + def meta(self) -> Global___SavedDatasetMeta: ... def __init__( self, *, - spec: global___SavedDatasetSpec | None = ..., - meta: global___SavedDatasetMeta | None = ..., + spec: Global___SavedDatasetSpec | None = ..., + meta: Global___SavedDatasetMeta | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___SavedDataset = SavedDataset +Global___SavedDataset: _TypeAlias = SavedDataset # noqa: Y015 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 2daafffebf..fb5a41b6d9 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 8cc14781c7..9d533d1b2c 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/SqliteTable_pb2.pyi index 10ecebf362..43d97f7d18 100644 --- a/sdk/python/feast/protos/feast/core/SqliteTable_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/SqliteTable_pb2.pyi @@ -16,35 +16,39 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ -import builtins -import google.protobuf.descriptor -import google.protobuf.message + +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class SqliteTable(google.protobuf.message.Message): +@_typing.final +class SqliteTable(_message.Message): """Represents a Sqlite table""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - PATH_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - path: builtins.str + PATH_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + path: _builtins.str """Absolute path of the table""" - name: builtins.str + name: _builtins.str """Name of the table""" def __init__( self, *, - path: builtins.str = ..., - name: builtins.str = ..., + path: _builtins.str = ..., + name: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "path", b"path"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["name", b"name", "path", b"path"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___SqliteTable = SqliteTable +Global___SqliteTable: _TypeAlias = SqliteTable # noqa: Y015 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 2daafffebf..5dc6890f38 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 7d24e11947..dc2ef99b21 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/Store_pb2.pyi index 5ee957d184..718654b267 100644 --- a/sdk/python/feast/protos/feast/core/Store_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Store_pb2.pyi @@ -16,37 +16,39 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ -import builtins -import collections.abc -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message + +from collections import abc as _abc +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +import builtins as _builtins import sys -import typing +import typing as _typing if sys.version_info >= (3, 10): - import typing as typing_extensions + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class Store(google.protobuf.message.Message): +@_typing.final +class Store(_message.Message): """Store provides a location where Feast reads and writes feature values. Feature values will be written to the Store in the form of FeatureRow elements. The way FeatureRow is encoded and decoded when it is written to and read from the Store depends on the type of the Store. """ - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor class _StoreType: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 - class _StoreTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Store._StoreType.ValueType], builtins.type): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + class _StoreTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Store._StoreType.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor INVALID: Store._StoreType.ValueType # 0 REDIS: Store._StoreType.ValueType # 1 """Redis stores a FeatureRow element as a key, value pair. @@ -76,48 +78,51 @@ class Store(google.protobuf.message.Message): """ REDIS_CLUSTER: Store.StoreType.ValueType # 4 - class RedisConfig(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - HOST_FIELD_NUMBER: builtins.int - PORT_FIELD_NUMBER: builtins.int - INITIAL_BACKOFF_MS_FIELD_NUMBER: builtins.int - MAX_RETRIES_FIELD_NUMBER: builtins.int - FLUSH_FREQUENCY_SECONDS_FIELD_NUMBER: builtins.int - SSL_FIELD_NUMBER: builtins.int - host: builtins.str - port: builtins.int - initial_backoff_ms: builtins.int + @_typing.final + class RedisConfig(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + HOST_FIELD_NUMBER: _builtins.int + PORT_FIELD_NUMBER: _builtins.int + INITIAL_BACKOFF_MS_FIELD_NUMBER: _builtins.int + MAX_RETRIES_FIELD_NUMBER: _builtins.int + FLUSH_FREQUENCY_SECONDS_FIELD_NUMBER: _builtins.int + SSL_FIELD_NUMBER: _builtins.int + host: _builtins.str + port: _builtins.int + initial_backoff_ms: _builtins.int """Optional. The number of milliseconds to wait before retrying failed Redis connection. By default, Feast uses exponential backoff policy and "initial_backoff_ms" sets the initial wait duration. """ - max_retries: builtins.int + max_retries: _builtins.int """Optional. Maximum total number of retries for connecting to Redis. Default to zero retries.""" - flush_frequency_seconds: builtins.int + flush_frequency_seconds: _builtins.int """Optional. How often flush data to redis""" - ssl: builtins.bool + ssl: _builtins.bool """Optional. Connect over SSL.""" def __init__( self, *, - host: builtins.str = ..., - port: builtins.int = ..., - initial_backoff_ms: builtins.int = ..., - max_retries: builtins.int = ..., - flush_frequency_seconds: builtins.int = ..., - ssl: builtins.bool = ..., + host: _builtins.str = ..., + port: _builtins.int = ..., + initial_backoff_ms: _builtins.int = ..., + max_retries: _builtins.int = ..., + flush_frequency_seconds: _builtins.int = ..., + ssl: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["flush_frequency_seconds", b"flush_frequency_seconds", "host", b"host", "initial_backoff_ms", b"initial_backoff_ms", "max_retries", b"max_retries", "port", b"port", "ssl", b"ssl"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["flush_frequency_seconds", b"flush_frequency_seconds", "host", b"host", "initial_backoff_ms", b"initial_backoff_ms", "max_retries", b"max_retries", "port", b"port", "ssl", b"ssl"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class RedisClusterConfig(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class RedisClusterConfig(_message.Message): + DESCRIPTOR: _descriptor.Descriptor class _ReadFrom: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 - class _ReadFromEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Store.RedisClusterConfig._ReadFrom.ValueType], builtins.type): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + class _ReadFromEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Store.RedisClusterConfig._ReadFrom.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor MASTER: Store.RedisClusterConfig._ReadFrom.ValueType # 0 MASTER_PREFERRED: Store.RedisClusterConfig._ReadFrom.ValueType # 1 REPLICA: Store.RedisClusterConfig._ReadFrom.ValueType # 2 @@ -131,50 +136,52 @@ class Store(google.protobuf.message.Message): REPLICA: Store.RedisClusterConfig.ReadFrom.ValueType # 2 REPLICA_PREFERRED: Store.RedisClusterConfig.ReadFrom.ValueType # 3 - CONNECTION_STRING_FIELD_NUMBER: builtins.int - INITIAL_BACKOFF_MS_FIELD_NUMBER: builtins.int - MAX_RETRIES_FIELD_NUMBER: builtins.int - FLUSH_FREQUENCY_SECONDS_FIELD_NUMBER: builtins.int - KEY_PREFIX_FIELD_NUMBER: builtins.int - ENABLE_FALLBACK_FIELD_NUMBER: builtins.int - FALLBACK_PREFIX_FIELD_NUMBER: builtins.int - READ_FROM_FIELD_NUMBER: builtins.int - connection_string: builtins.str + CONNECTION_STRING_FIELD_NUMBER: _builtins.int + INITIAL_BACKOFF_MS_FIELD_NUMBER: _builtins.int + MAX_RETRIES_FIELD_NUMBER: _builtins.int + FLUSH_FREQUENCY_SECONDS_FIELD_NUMBER: _builtins.int + KEY_PREFIX_FIELD_NUMBER: _builtins.int + ENABLE_FALLBACK_FIELD_NUMBER: _builtins.int + FALLBACK_PREFIX_FIELD_NUMBER: _builtins.int + READ_FROM_FIELD_NUMBER: _builtins.int + connection_string: _builtins.str """List of Redis Uri for all the nodes in Redis Cluster, comma separated. Eg. host1:6379, host2:6379""" - initial_backoff_ms: builtins.int - max_retries: builtins.int - flush_frequency_seconds: builtins.int + initial_backoff_ms: _builtins.int + max_retries: _builtins.int + flush_frequency_seconds: _builtins.int """Optional. How often flush data to redis""" - key_prefix: builtins.str + key_prefix: _builtins.str """Optional. Append a prefix to the Redis Key""" - enable_fallback: builtins.bool + enable_fallback: _builtins.bool """Optional. Enable fallback to another key prefix if the original key is not present. Useful for migrating key prefix without re-ingestion. Disabled by default. """ - fallback_prefix: builtins.str + fallback_prefix: _builtins.str """Optional. This would be the fallback prefix to use if enable_fallback is true.""" - read_from: global___Store.RedisClusterConfig.ReadFrom.ValueType + read_from: Global___Store.RedisClusterConfig.ReadFrom.ValueType def __init__( self, *, - connection_string: builtins.str = ..., - initial_backoff_ms: builtins.int = ..., - max_retries: builtins.int = ..., - flush_frequency_seconds: builtins.int = ..., - key_prefix: builtins.str = ..., - enable_fallback: builtins.bool = ..., - fallback_prefix: builtins.str = ..., - read_from: global___Store.RedisClusterConfig.ReadFrom.ValueType = ..., + connection_string: _builtins.str = ..., + initial_backoff_ms: _builtins.int = ..., + max_retries: _builtins.int = ..., + flush_frequency_seconds: _builtins.int = ..., + key_prefix: _builtins.str = ..., + enable_fallback: _builtins.bool = ..., + fallback_prefix: _builtins.str = ..., + read_from: Global___Store.RedisClusterConfig.ReadFrom.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["connection_string", b"connection_string", "enable_fallback", b"enable_fallback", "fallback_prefix", b"fallback_prefix", "flush_frequency_seconds", b"flush_frequency_seconds", "initial_backoff_ms", b"initial_backoff_ms", "key_prefix", b"key_prefix", "max_retries", b"max_retries", "read_from", b"read_from"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["connection_string", b"connection_string", "enable_fallback", b"enable_fallback", "fallback_prefix", b"fallback_prefix", "flush_frequency_seconds", b"flush_frequency_seconds", "initial_backoff_ms", b"initial_backoff_ms", "key_prefix", b"key_prefix", "max_retries", b"max_retries", "read_from", b"read_from"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - class Subscription(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class Subscription(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - PROJECT_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - EXCLUDE_FIELD_NUMBER: builtins.int - project: builtins.str + PROJECT_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + EXCLUDE_FIELD_NUMBER: _builtins.int + project: _builtins.str """Name of project that the feature sets belongs to. This can be one of - [project_name] - * @@ -182,7 +189,7 @@ class Store(google.protobuf.message.Message): be matched. It is NOT possible to provide an asterisk with a string in order to do pattern matching. """ - name: builtins.str + name: _builtins.str """Name of the desired feature set. Asterisks can be used as wildcards in the name. Matching on names is only permitted if a specific project is defined. It is disallowed If the project name is set to "*" @@ -191,44 +198,50 @@ class Store(google.protobuf.message.Message): - my-feature-set* can be used to match all features prefixed by "my-feature-set" - my-feature-set-6 can be used to select a single feature set """ - exclude: builtins.bool + exclude: _builtins.bool """All matches with exclude enabled will be filtered out instead of added""" def __init__( self, *, - project: builtins.str = ..., - name: builtins.str = ..., - exclude: builtins.bool = ..., + project: _builtins.str = ..., + name: _builtins.str = ..., + exclude: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["exclude", b"exclude", "name", b"name", "project", b"project"]) -> None: ... - - NAME_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - SUBSCRIPTIONS_FIELD_NUMBER: builtins.int - REDIS_CONFIG_FIELD_NUMBER: builtins.int - REDIS_CLUSTER_CONFIG_FIELD_NUMBER: builtins.int - name: builtins.str + _ClearFieldArgType: _TypeAlias = _typing.Literal["exclude", b"exclude", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + NAME_FIELD_NUMBER: _builtins.int + TYPE_FIELD_NUMBER: _builtins.int + SUBSCRIPTIONS_FIELD_NUMBER: _builtins.int + REDIS_CONFIG_FIELD_NUMBER: _builtins.int + REDIS_CLUSTER_CONFIG_FIELD_NUMBER: _builtins.int + name: _builtins.str """Name of the store.""" - type: global___Store.StoreType.ValueType + type: Global___Store.StoreType.ValueType """Type of store.""" - @property - def subscriptions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Store.Subscription]: + @_builtins.property + def subscriptions(self) -> _containers.RepeatedCompositeFieldContainer[Global___Store.Subscription]: """Feature sets to subscribe to.""" - @property - def redis_config(self) -> global___Store.RedisConfig: ... - @property - def redis_cluster_config(self) -> global___Store.RedisClusterConfig: ... + + @_builtins.property + def redis_config(self) -> Global___Store.RedisConfig: ... + @_builtins.property + def redis_cluster_config(self) -> Global___Store.RedisClusterConfig: ... def __init__( self, *, - name: builtins.str = ..., - type: global___Store.StoreType.ValueType = ..., - subscriptions: collections.abc.Iterable[global___Store.Subscription] | None = ..., - redis_config: global___Store.RedisConfig | None = ..., - redis_cluster_config: global___Store.RedisClusterConfig | None = ..., + name: _builtins.str = ..., + type: Global___Store.StoreType.ValueType = ..., + subscriptions: _abc.Iterable[Global___Store.Subscription] | None = ..., + redis_config: Global___Store.RedisConfig | None = ..., + redis_cluster_config: Global___Store.RedisClusterConfig | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["config", b"config", "redis_cluster_config", b"redis_cluster_config", "redis_config", b"redis_config"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "name", b"name", "redis_cluster_config", b"redis_cluster_config", "redis_config", b"redis_config", "subscriptions", b"subscriptions", "type", b"type"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["config", b"config"]) -> typing_extensions.Literal["redis_config", "redis_cluster_config"] | None: ... - -global___Store = Store + _HasFieldArgType: _TypeAlias = _typing.Literal["config", b"config", "redis_cluster_config", b"redis_cluster_config", "redis_config", b"redis_config"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["config", b"config", "name", b"name", "redis_cluster_config", b"redis_cluster_config", "redis_config", b"redis_config", "subscriptions", b"subscriptions", "type", b"type"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_config: _TypeAlias = _typing.Literal["redis_config", "redis_cluster_config"] # noqa: Y015 + _WhichOneofArgType_config: _TypeAlias = _typing.Literal["config", b"config"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_config) -> _WhichOneofReturnType_config | None: ... + +Global___Store: _TypeAlias = Store # noqa: Y015 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 2daafffebf..add94acbbc 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 cd3ec69057..155a389a7b 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.pyi index 853ada60a2..8c6cdc32b0 100644 --- a/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.pyi @@ -16,170 +16,198 @@ 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 -import collections.abc -import feast.core.Aggregation_pb2 -import feast.core.DataSource_pb2 -import feast.core.FeatureView_pb2 -import feast.core.Feature_pb2 -import feast.core.OnDemandFeatureView_pb2 -import feast.core.Transformation_pb2 -import google.protobuf.descriptor -import google.protobuf.duration_pb2 -import google.protobuf.internal.containers -import google.protobuf.message + +from collections import abc as _abc +from feast.core import Aggregation_pb2 as _Aggregation_pb2 +from feast.core import DataSource_pb2 as _DataSource_pb2 +from feast.core import FeatureView_pb2 as _FeatureView_pb2 +from feast.core import Feature_pb2 as _Feature_pb2 +from feast.core import OnDemandFeatureView_pb2 as _OnDemandFeatureView_pb2 +from feast.core import Transformation_pb2 as _Transformation_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing + +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias +else: + from typing_extensions import TypeAlias as _TypeAlias -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 13): + from warnings import deprecated as _deprecated else: - import typing_extensions + from typing_extensions import deprecated as _deprecated -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class StreamFeatureView(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class StreamFeatureView(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SPEC_FIELD_NUMBER: builtins.int - META_FIELD_NUMBER: builtins.int - @property - def spec(self) -> global___StreamFeatureViewSpec: + SPEC_FIELD_NUMBER: _builtins.int + META_FIELD_NUMBER: _builtins.int + @_builtins.property + def spec(self) -> Global___StreamFeatureViewSpec: """User-specified specifications of this feature view.""" - @property - def meta(self) -> feast.core.FeatureView_pb2.FeatureViewMeta: ... + + @_builtins.property + def meta(self) -> _FeatureView_pb2.FeatureViewMeta: ... def __init__( self, *, - spec: global___StreamFeatureViewSpec | None = ..., - meta: feast.core.FeatureView_pb2.FeatureViewMeta | None = ..., + spec: Global___StreamFeatureViewSpec | None = ..., + meta: _FeatureView_pb2.FeatureViewMeta | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___StreamFeatureView = StreamFeatureView +Global___StreamFeatureView: _TypeAlias = StreamFeatureView # noqa: Y015 -class StreamFeatureViewSpec(google.protobuf.message.Message): +@_typing.final +class StreamFeatureViewSpec(_message.Message): """Next available id: 21""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ENTITIES_FIELD_NUMBER: builtins.int - FEATURES_FIELD_NUMBER: builtins.int - ENTITY_COLUMNS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - OWNER_FIELD_NUMBER: builtins.int - TTL_FIELD_NUMBER: builtins.int - BATCH_SOURCE_FIELD_NUMBER: builtins.int - STREAM_SOURCE_FIELD_NUMBER: builtins.int - ONLINE_FIELD_NUMBER: builtins.int - USER_DEFINED_FUNCTION_FIELD_NUMBER: builtins.int - MODE_FIELD_NUMBER: builtins.int - AGGREGATIONS_FIELD_NUMBER: builtins.int - TIMESTAMP_FIELD_FIELD_NUMBER: builtins.int - FEATURE_TRANSFORMATION_FIELD_NUMBER: builtins.int - ENABLE_TILING_FIELD_NUMBER: builtins.int - TILING_HOP_SIZE_FIELD_NUMBER: builtins.int - ENABLE_VALIDATION_FIELD_NUMBER: builtins.int - name: builtins.str + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ENTITIES_FIELD_NUMBER: _builtins.int + FEATURES_FIELD_NUMBER: _builtins.int + ENTITY_COLUMNS_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + OWNER_FIELD_NUMBER: _builtins.int + TTL_FIELD_NUMBER: _builtins.int + BATCH_SOURCE_FIELD_NUMBER: _builtins.int + STREAM_SOURCE_FIELD_NUMBER: _builtins.int + ONLINE_FIELD_NUMBER: _builtins.int + USER_DEFINED_FUNCTION_FIELD_NUMBER: _builtins.int + MODE_FIELD_NUMBER: _builtins.int + AGGREGATIONS_FIELD_NUMBER: _builtins.int + TIMESTAMP_FIELD_FIELD_NUMBER: _builtins.int + FEATURE_TRANSFORMATION_FIELD_NUMBER: _builtins.int + ENABLE_TILING_FIELD_NUMBER: _builtins.int + TILING_HOP_SIZE_FIELD_NUMBER: _builtins.int + ENABLE_VALIDATION_FIELD_NUMBER: _builtins.int + name: _builtins.str """Name of the feature view. Must be unique. Not updated.""" - project: builtins.str + project: _builtins.str """Name of Feast project that this feature view belongs to.""" - @property - def entities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + description: _builtins.str + """Description of the feature view.""" + owner: _builtins.str + """Owner of the feature view.""" + online: _builtins.bool + """Whether these features should be served online or not""" + mode: _builtins.str + """Mode of execution""" + timestamp_field: _builtins.str + """Timestamp field for aggregation""" + enable_tiling: _builtins.bool + """Enable tiling for efficient window aggregation""" + enable_validation: _builtins.bool + """Whether schema validation is enabled during materialization""" + @_builtins.property + def entities(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: """List of names of entities associated with this feature view.""" - @property - def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: + + @_builtins.property + def features(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: """List of specifications for each feature defined as part of this feature view.""" - @property - def entity_columns(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: + + @_builtins.property + def entity_columns(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: """List of specifications for each entity defined as part of this feature view.""" - description: builtins.str - """Description of the feature view.""" - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: """User defined metadata""" - owner: builtins.str - """Owner of the feature view.""" - @property - def ttl(self) -> google.protobuf.duration_pb2.Duration: + + @_builtins.property + def ttl(self) -> _duration_pb2.Duration: """Features in this feature view can only be retrieved from online serving younger than ttl. Ttl is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside ttl will be returned as unset values and indicated to end user """ - @property - def batch_source(self) -> feast.core.DataSource_pb2.DataSource: + + @_builtins.property + def batch_source(self) -> _DataSource_pb2.DataSource: """Batch/Offline DataSource where this view can retrieve offline feature data.""" - @property - def stream_source(self) -> feast.core.DataSource_pb2.DataSource: + + @_builtins.property + def stream_source(self) -> _DataSource_pb2.DataSource: """Streaming DataSource from where this view can consume "online" feature data.""" - online: builtins.bool - """Whether these features should be served online or not""" - @property - def user_defined_function(self) -> feast.core.OnDemandFeatureView_pb2.UserDefinedFunction: + + @_builtins.property + @_deprecated("""This field has been marked as deprecated using proto field options.""") + def user_defined_function(self) -> _OnDemandFeatureView_pb2.UserDefinedFunction: """Serialized function that is encoded in the streamfeatureview""" - mode: builtins.str - """Mode of execution""" - @property - def aggregations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Aggregation_pb2.Aggregation]: + + @_builtins.property + def aggregations(self) -> _containers.RepeatedCompositeFieldContainer[_Aggregation_pb2.Aggregation]: """Aggregation definitions""" - timestamp_field: builtins.str - """Timestamp field for aggregation""" - @property - def feature_transformation(self) -> feast.core.Transformation_pb2.FeatureTransformationV2: + + @_builtins.property + def feature_transformation(self) -> _Transformation_pb2.FeatureTransformationV2: """Oneof with {user_defined_function, on_demand_substrait_transformation}""" - enable_tiling: builtins.bool - """Enable tiling for efficient window aggregation""" - @property - def tiling_hop_size(self) -> google.protobuf.duration_pb2.Duration: + + @_builtins.property + def tiling_hop_size(self) -> _duration_pb2.Duration: """Hop size for tiling (e.g., 5 minutes). Determines the granularity of pre-aggregated tiles. If not specified, defaults to 5 minutes. Only used when enable_tiling is true. """ - enable_validation: builtins.bool - """Whether schema validation is enabled during materialization""" + def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - entities: collections.abc.Iterable[builtins.str] | None = ..., - features: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., - entity_columns: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., - description: builtins.str = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - owner: builtins.str = ..., - ttl: google.protobuf.duration_pb2.Duration | None = ..., - batch_source: feast.core.DataSource_pb2.DataSource | None = ..., - stream_source: feast.core.DataSource_pb2.DataSource | None = ..., - online: builtins.bool = ..., - user_defined_function: feast.core.OnDemandFeatureView_pb2.UserDefinedFunction | None = ..., - mode: builtins.str = ..., - aggregations: collections.abc.Iterable[feast.core.Aggregation_pb2.Aggregation] | None = ..., - timestamp_field: builtins.str = ..., - feature_transformation: feast.core.Transformation_pb2.FeatureTransformationV2 | None = ..., - enable_tiling: builtins.bool = ..., - tiling_hop_size: google.protobuf.duration_pb2.Duration | None = ..., - enable_validation: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + entities: _abc.Iterable[_builtins.str] | None = ..., + features: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., + entity_columns: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., + description: _builtins.str = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + owner: _builtins.str = ..., + ttl: _duration_pb2.Duration | None = ..., + batch_source: _DataSource_pb2.DataSource | None = ..., + stream_source: _DataSource_pb2.DataSource | None = ..., + online: _builtins.bool = ..., + user_defined_function: _OnDemandFeatureView_pb2.UserDefinedFunction | None = ..., + mode: _builtins.str = ..., + aggregations: _abc.Iterable[_Aggregation_pb2.Aggregation] | None = ..., + timestamp_field: _builtins.str = ..., + feature_transformation: _Transformation_pb2.FeatureTransformationV2 | None = ..., + enable_tiling: _builtins.bool = ..., + tiling_hop_size: _duration_pb2.Duration | None = ..., + enable_validation: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "feature_transformation", b"feature_transformation", "stream_source", b"stream_source", "tiling_hop_size", b"tiling_hop_size", "ttl", b"ttl", "user_defined_function", b"user_defined_function"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["aggregations", b"aggregations", "batch_source", b"batch_source", "description", b"description", "enable_tiling", b"enable_tiling", "enable_validation", b"enable_validation", "entities", b"entities", "entity_columns", b"entity_columns", "feature_transformation", b"feature_transformation", "features", b"features", "mode", b"mode", "name", b"name", "online", b"online", "owner", b"owner", "project", b"project", "stream_source", b"stream_source", "tags", b"tags", "tiling_hop_size", b"tiling_hop_size", "timestamp_field", b"timestamp_field", "ttl", b"ttl", "user_defined_function", b"user_defined_function"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "feature_transformation", b"feature_transformation", "stream_source", b"stream_source", "tiling_hop_size", b"tiling_hop_size", "ttl", b"ttl", "user_defined_function", b"user_defined_function"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["aggregations", b"aggregations", "batch_source", b"batch_source", "description", b"description", "enable_tiling", b"enable_tiling", "enable_validation", b"enable_validation", "entities", b"entities", "entity_columns", b"entity_columns", "feature_transformation", b"feature_transformation", "features", b"features", "mode", b"mode", "name", b"name", "online", b"online", "owner", b"owner", "project", b"project", "stream_source", b"stream_source", "tags", b"tags", "tiling_hop_size", b"tiling_hop_size", "timestamp_field", b"timestamp_field", "ttl", b"ttl", "user_defined_function", b"user_defined_function"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___StreamFeatureViewSpec = StreamFeatureViewSpec +Global___StreamFeatureViewSpec: _TypeAlias = StreamFeatureViewSpec # noqa: Y015 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 2daafffebf..5246d73510 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 c322bc1925..ad4c403b03 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/Transformation_pb2.pyi index fb56ab5bc7..d8aacf9f81 100644 --- a/sdk/python/feast/protos/feast/core/Transformation_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Transformation_pb2.pyi @@ -2,83 +2,94 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ -import builtins -import google.protobuf.descriptor -import google.protobuf.message + +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class UserDefinedFunctionV2(google.protobuf.message.Message): +@_typing.final +class UserDefinedFunctionV2(_message.Message): """Serialized representation of python function.""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - BODY_FIELD_NUMBER: builtins.int - BODY_TEXT_FIELD_NUMBER: builtins.int - MODE_FIELD_NUMBER: builtins.int - name: builtins.str + NAME_FIELD_NUMBER: _builtins.int + BODY_FIELD_NUMBER: _builtins.int + BODY_TEXT_FIELD_NUMBER: _builtins.int + MODE_FIELD_NUMBER: _builtins.int + name: _builtins.str """The function name""" - body: builtins.bytes + body: _builtins.bytes """The python-syntax function body (serialized by dill)""" - body_text: builtins.str + body_text: _builtins.str """The string representation of the udf""" - mode: builtins.str + mode: _builtins.str """The transformation mode (e.g., "python", "pandas", "ray", "spark", "sql")""" def __init__( self, *, - name: builtins.str = ..., - body: builtins.bytes = ..., - body_text: builtins.str = ..., - mode: builtins.str = ..., + name: _builtins.str = ..., + body: _builtins.bytes = ..., + body_text: _builtins.str = ..., + mode: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["body", b"body", "body_text", b"body_text", "mode", b"mode", "name", b"name"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["body", b"body", "body_text", b"body_text", "mode", b"mode", "name", b"name"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___UserDefinedFunctionV2 = UserDefinedFunctionV2 +Global___UserDefinedFunctionV2: _TypeAlias = UserDefinedFunctionV2 # noqa: Y015 -class FeatureTransformationV2(google.protobuf.message.Message): +@_typing.final +class FeatureTransformationV2(_message.Message): """A feature transformation executed as a user-defined function""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - USER_DEFINED_FUNCTION_FIELD_NUMBER: builtins.int - SUBSTRAIT_TRANSFORMATION_FIELD_NUMBER: builtins.int - @property - def user_defined_function(self) -> global___UserDefinedFunctionV2: ... - @property - def substrait_transformation(self) -> global___SubstraitTransformationV2: ... + USER_DEFINED_FUNCTION_FIELD_NUMBER: _builtins.int + SUBSTRAIT_TRANSFORMATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def user_defined_function(self) -> Global___UserDefinedFunctionV2: ... + @_builtins.property + def substrait_transformation(self) -> Global___SubstraitTransformationV2: ... def __init__( self, *, - user_defined_function: global___UserDefinedFunctionV2 | None = ..., - substrait_transformation: global___SubstraitTransformationV2 | None = ..., + user_defined_function: Global___UserDefinedFunctionV2 | None = ..., + substrait_transformation: Global___SubstraitTransformationV2 | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["substrait_transformation", b"substrait_transformation", "transformation", b"transformation", "user_defined_function", b"user_defined_function"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["substrait_transformation", b"substrait_transformation", "transformation", b"transformation", "user_defined_function", b"user_defined_function"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["transformation", b"transformation"]) -> typing_extensions.Literal["user_defined_function", "substrait_transformation"] | None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["substrait_transformation", b"substrait_transformation", "transformation", b"transformation", "user_defined_function", b"user_defined_function"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["substrait_transformation", b"substrait_transformation", "transformation", b"transformation", "user_defined_function", b"user_defined_function"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_transformation: _TypeAlias = _typing.Literal["user_defined_function", "substrait_transformation"] # noqa: Y015 + _WhichOneofArgType_transformation: _TypeAlias = _typing.Literal["transformation", b"transformation"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_transformation) -> _WhichOneofReturnType_transformation | None: ... -global___FeatureTransformationV2 = FeatureTransformationV2 +Global___FeatureTransformationV2: _TypeAlias = FeatureTransformationV2 # noqa: Y015 -class SubstraitTransformationV2(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class SubstraitTransformationV2(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SUBSTRAIT_PLAN_FIELD_NUMBER: builtins.int - IBIS_FUNCTION_FIELD_NUMBER: builtins.int - substrait_plan: builtins.bytes - ibis_function: builtins.bytes + SUBSTRAIT_PLAN_FIELD_NUMBER: _builtins.int + IBIS_FUNCTION_FIELD_NUMBER: _builtins.int + substrait_plan: _builtins.bytes + ibis_function: _builtins.bytes def __init__( self, *, - substrait_plan: builtins.bytes = ..., - ibis_function: builtins.bytes = ..., + substrait_plan: _builtins.bytes = ..., + ibis_function: _builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["ibis_function", b"ibis_function", "substrait_plan", b"substrait_plan"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["ibis_function", b"ibis_function", "substrait_plan", b"substrait_plan"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___SubstraitTransformationV2 = SubstraitTransformationV2 +Global___SubstraitTransformationV2: _TypeAlias = SubstraitTransformationV2 # noqa: Y015 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 2daafffebf..1e265036e1 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 0fb27ceab1..4e55298b27 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.pyi index 93da1e0f5e..16cc081f05 100644 --- a/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.pyi @@ -16,121 +16,139 @@ 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 -import collections.abc -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message + +from collections import abc as _abc +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys -import typing +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class GEValidationProfiler(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GEValidationProfiler(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class UserDefinedProfiler(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class UserDefinedProfiler(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - BODY_FIELD_NUMBER: builtins.int - body: builtins.bytes + BODY_FIELD_NUMBER: _builtins.int + body: _builtins.bytes """The python-syntax function body (serialized by dill)""" def __init__( self, *, - body: builtins.bytes = ..., + body: _builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["body", b"body"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["body", b"body"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - PROFILER_FIELD_NUMBER: builtins.int - @property - def profiler(self) -> global___GEValidationProfiler.UserDefinedProfiler: ... + PROFILER_FIELD_NUMBER: _builtins.int + @_builtins.property + def profiler(self) -> Global___GEValidationProfiler.UserDefinedProfiler: ... def __init__( self, *, - profiler: global___GEValidationProfiler.UserDefinedProfiler | None = ..., + profiler: Global___GEValidationProfiler.UserDefinedProfiler | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["profiler", b"profiler"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["profiler", b"profiler"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["profiler", b"profiler"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["profiler", b"profiler"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GEValidationProfiler = GEValidationProfiler +Global___GEValidationProfiler: _TypeAlias = GEValidationProfiler # noqa: Y015 -class GEValidationProfile(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GEValidationProfile(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - EXPECTATION_SUITE_FIELD_NUMBER: builtins.int - expectation_suite: builtins.bytes + EXPECTATION_SUITE_FIELD_NUMBER: _builtins.int + expectation_suite: _builtins.bytes """JSON-serialized ExpectationSuite object""" def __init__( self, *, - expectation_suite: builtins.bytes = ..., + expectation_suite: _builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["expectation_suite", b"expectation_suite"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["expectation_suite", b"expectation_suite"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GEValidationProfile = GEValidationProfile +Global___GEValidationProfile: _TypeAlias = GEValidationProfile # noqa: Y015 -class ValidationReference(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ValidationReference(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - NAME_FIELD_NUMBER: builtins.int - REFERENCE_DATASET_NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - GE_PROFILER_FIELD_NUMBER: builtins.int - GE_PROFILE_FIELD_NUMBER: builtins.int - name: builtins.str + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + NAME_FIELD_NUMBER: _builtins.int + REFERENCE_DATASET_NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + GE_PROFILER_FIELD_NUMBER: _builtins.int + GE_PROFILE_FIELD_NUMBER: _builtins.int + name: _builtins.str """Unique name of validation reference within the project""" - reference_dataset_name: builtins.str + reference_dataset_name: _builtins.str """Name of saved dataset used as reference dataset""" - project: builtins.str + project: _builtins.str """Name of Feast project that this object source belongs to""" - description: builtins.str + description: _builtins.str """Description of the validation reference""" - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: """User defined metadata""" - @property - def ge_profiler(self) -> global___GEValidationProfiler: ... - @property - def ge_profile(self) -> global___GEValidationProfile: ... + + @_builtins.property + def ge_profiler(self) -> Global___GEValidationProfiler: ... + @_builtins.property + def ge_profile(self) -> Global___GEValidationProfile: ... def __init__( self, *, - name: builtins.str = ..., - reference_dataset_name: builtins.str = ..., - project: builtins.str = ..., - description: builtins.str = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - ge_profiler: global___GEValidationProfiler | None = ..., - ge_profile: global___GEValidationProfile | None = ..., + name: _builtins.str = ..., + reference_dataset_name: _builtins.str = ..., + project: _builtins.str = ..., + description: _builtins.str = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + ge_profiler: Global___GEValidationProfiler | None = ..., + ge_profile: Global___GEValidationProfile | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["cached_profile", b"cached_profile", "ge_profile", b"ge_profile", "ge_profiler", b"ge_profiler", "profiler", b"profiler"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["cached_profile", b"cached_profile", "description", b"description", "ge_profile", b"ge_profile", "ge_profiler", b"ge_profiler", "name", b"name", "profiler", b"profiler", "project", b"project", "reference_dataset_name", b"reference_dataset_name", "tags", b"tags"]) -> None: ... - @typing.overload - def WhichOneof(self, oneof_group: typing_extensions.Literal["cached_profile", b"cached_profile"]) -> typing_extensions.Literal["ge_profile"] | None: ... - @typing.overload - def WhichOneof(self, oneof_group: typing_extensions.Literal["profiler", b"profiler"]) -> typing_extensions.Literal["ge_profiler"] | None: ... - -global___ValidationReference = ValidationReference + _HasFieldArgType: _TypeAlias = _typing.Literal["cached_profile", b"cached_profile", "ge_profile", b"ge_profile", "ge_profiler", b"ge_profiler", "profiler", b"profiler"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["cached_profile", b"cached_profile", "description", b"description", "ge_profile", b"ge_profile", "ge_profiler", b"ge_profiler", "name", b"name", "profiler", b"profiler", "project", b"project", "reference_dataset_name", b"reference_dataset_name", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_cached_profile: _TypeAlias = _typing.Literal["ge_profile"] # noqa: Y015 + _WhichOneofArgType_cached_profile: _TypeAlias = _typing.Literal["cached_profile", b"cached_profile"] # noqa: Y015 + _WhichOneofReturnType_profiler: _TypeAlias = _typing.Literal["ge_profiler"] # noqa: Y015 + _WhichOneofArgType_profiler: _TypeAlias = _typing.Literal["profiler", b"profiler"] # noqa: Y015 + @_typing.overload + def WhichOneof(self, oneof_group: _WhichOneofArgType_cached_profile) -> _WhichOneofReturnType_cached_profile | None: ... + @_typing.overload + def WhichOneof(self, oneof_group: _WhichOneofArgType_profiler) -> _WhichOneofReturnType_profiler | None: ... + +Global___ValidationReference: _TypeAlias = ValidationReference # noqa: Y015 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 2daafffebf..0c52863b5e 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 8b346fcd67..bca9466e75 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.31.1 """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, + 31, + 1, + '', + 'feast/registry/RegistryServer.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,32 +43,32 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.registry.RegistryServer_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/feast-dev/feast/go/protos/feast/registry' - _globals['_LISTENTITIESREQUEST_TAGSENTRY']._options = None + _globals['_LISTENTITIESREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTENTITIESREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTDATASOURCESREQUEST_TAGSENTRY']._options = None + _globals['_LISTDATASOURCESREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTDATASOURCESREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTFEATUREVIEWSREQUEST_TAGSENTRY']._options = None + _globals['_LISTFEATUREVIEWSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTFEATUREVIEWSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTALLFEATUREVIEWSREQUEST_TAGSENTRY']._options = None + _globals['_LISTALLFEATUREVIEWSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTALLFEATUREVIEWSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTSTREAMFEATUREVIEWSREQUEST_TAGSENTRY']._options = None + _globals['_LISTSTREAMFEATUREVIEWSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTSTREAMFEATUREVIEWSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTONDEMANDFEATUREVIEWSREQUEST_TAGSENTRY']._options = None + _globals['_LISTONDEMANDFEATUREVIEWSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTONDEMANDFEATUREVIEWSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTFEATURESERVICESREQUEST_TAGSENTRY']._options = None + _globals['_LISTFEATURESERVICESREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTFEATURESERVICESREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTSAVEDDATASETSREQUEST_TAGSENTRY']._options = None + _globals['_LISTSAVEDDATASETSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTSAVEDDATASETSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTVALIDATIONREFERENCESREQUEST_TAGSENTRY']._options = None + _globals['_LISTVALIDATIONREFERENCESREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTVALIDATIONREFERENCESREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTPERMISSIONSREQUEST_TAGSENTRY']._options = None + _globals['_LISTPERMISSIONSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTPERMISSIONSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTPROJECTSREQUEST_TAGSENTRY']._options = None + _globals['_LISTPROJECTSREQUEST_TAGSENTRY']._loaded_options = None _globals['_LISTPROJECTSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_FEATURE_TAGSENTRY']._options = None + _globals['_FEATURE_TAGSENTRY']._loaded_options = None _globals['_FEATURE_TAGSENTRY']._serialized_options = b'8\001' _globals['_PAGINATIONPARAMS']._serialized_start=487 _globals['_PAGINATIONPARAMS']._serialized_end=534 diff --git a/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.pyi b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.pyi index a1f1b99365..7dd137bc89 100644 --- a/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.pyi +++ b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.pyi @@ -2,1841 +2,2053 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ -import builtins -import collections.abc -import feast.core.DataSource_pb2 -import feast.core.Entity_pb2 -import feast.core.FeatureService_pb2 -import feast.core.FeatureView_pb2 -import feast.core.InfraObject_pb2 -import feast.core.OnDemandFeatureView_pb2 -import feast.core.Permission_pb2 -import feast.core.Project_pb2 -import feast.core.Registry_pb2 -import feast.core.SavedDataset_pb2 -import feast.core.StreamFeatureView_pb2 -import feast.core.ValidationProfile_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from feast.core import DataSource_pb2 as _DataSource_pb2 +from feast.core import Entity_pb2 as _Entity_pb2 +from feast.core import FeatureService_pb2 as _FeatureService_pb2 +from feast.core import FeatureView_pb2 as _FeatureView_pb2 +from feast.core import InfraObject_pb2 as _InfraObject_pb2 +from feast.core import OnDemandFeatureView_pb2 as _OnDemandFeatureView_pb2 +from feast.core import Permission_pb2 as _Permission_pb2 +from feast.core import Project_pb2 as _Project_pb2 +from feast.core import Registry_pb2 as _Registry_pb2 +from feast.core import SavedDataset_pb2 as _SavedDataset_pb2 +from feast.core import StreamFeatureView_pb2 as _StreamFeatureView_pb2 +from feast.core import ValidationProfile_pb2 as _ValidationProfile_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class PaginationParams(google.protobuf.message.Message): +@_typing.final +class PaginationParams(_message.Message): """Common pagination and sorting messages""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - PAGE_FIELD_NUMBER: builtins.int - LIMIT_FIELD_NUMBER: builtins.int - page: builtins.int + PAGE_FIELD_NUMBER: _builtins.int + LIMIT_FIELD_NUMBER: _builtins.int + page: _builtins.int """1-based page number""" - limit: builtins.int + limit: _builtins.int """Number of items per page""" def __init__( self, *, - page: builtins.int = ..., - limit: builtins.int = ..., + page: _builtins.int = ..., + limit: _builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["limit", b"limit", "page", b"page"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["limit", b"limit", "page", b"page"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___PaginationParams = PaginationParams +Global___PaginationParams: _TypeAlias = PaginationParams # noqa: Y015 -class SortingParams(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class SortingParams(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SORT_BY_FIELD_NUMBER: builtins.int - SORT_ORDER_FIELD_NUMBER: builtins.int - sort_by: builtins.str + SORT_BY_FIELD_NUMBER: _builtins.int + SORT_ORDER_FIELD_NUMBER: _builtins.int + sort_by: _builtins.str """Field to sort by (supports dot notation)""" - sort_order: builtins.str + sort_order: _builtins.str """"asc" or "desc" """ def __init__( self, *, - sort_by: builtins.str = ..., - sort_order: builtins.str = ..., + sort_by: _builtins.str = ..., + sort_order: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["sort_by", b"sort_by", "sort_order", b"sort_order"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["sort_by", b"sort_by", "sort_order", b"sort_order"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___SortingParams = SortingParams +Global___SortingParams: _TypeAlias = SortingParams # noqa: Y015 -class PaginationMetadata(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class PaginationMetadata(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - PAGE_FIELD_NUMBER: builtins.int - LIMIT_FIELD_NUMBER: builtins.int - TOTAL_COUNT_FIELD_NUMBER: builtins.int - TOTAL_PAGES_FIELD_NUMBER: builtins.int - HAS_NEXT_FIELD_NUMBER: builtins.int - HAS_PREVIOUS_FIELD_NUMBER: builtins.int - page: builtins.int - limit: builtins.int - total_count: builtins.int - total_pages: builtins.int - has_next: builtins.bool - has_previous: builtins.bool + PAGE_FIELD_NUMBER: _builtins.int + LIMIT_FIELD_NUMBER: _builtins.int + TOTAL_COUNT_FIELD_NUMBER: _builtins.int + TOTAL_PAGES_FIELD_NUMBER: _builtins.int + HAS_NEXT_FIELD_NUMBER: _builtins.int + HAS_PREVIOUS_FIELD_NUMBER: _builtins.int + page: _builtins.int + limit: _builtins.int + total_count: _builtins.int + total_pages: _builtins.int + has_next: _builtins.bool + has_previous: _builtins.bool def __init__( self, *, - page: builtins.int = ..., - limit: builtins.int = ..., - total_count: builtins.int = ..., - total_pages: builtins.int = ..., - has_next: builtins.bool = ..., - has_previous: builtins.bool = ..., + page: _builtins.int = ..., + limit: _builtins.int = ..., + total_count: _builtins.int = ..., + total_pages: _builtins.int = ..., + has_next: _builtins.bool = ..., + has_previous: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["has_next", b"has_next", "has_previous", b"has_previous", "limit", b"limit", "page", b"page", "total_count", b"total_count", "total_pages", b"total_pages"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["has_next", b"has_next", "has_previous", b"has_previous", "limit", b"limit", "page", b"page", "total_count", b"total_count", "total_pages", b"total_pages"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___PaginationMetadata = PaginationMetadata +Global___PaginationMetadata: _TypeAlias = PaginationMetadata # noqa: Y015 -class RefreshRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class RefreshRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - PROJECT_FIELD_NUMBER: builtins.int - project: builtins.str + PROJECT_FIELD_NUMBER: _builtins.int + project: _builtins.str def __init__( self, *, - project: builtins.str = ..., + project: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___RefreshRequest = RefreshRequest +Global___RefreshRequest: _TypeAlias = RefreshRequest # noqa: Y015 -class UpdateInfraRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class UpdateInfraRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - INFRA_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - @property - def infra(self) -> feast.core.InfraObject_pb2.Infra: ... - project: builtins.str - commit: builtins.bool + INFRA_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + project: _builtins.str + commit: _builtins.bool + @_builtins.property + def infra(self) -> _InfraObject_pb2.Infra: ... def __init__( self, *, - infra: feast.core.InfraObject_pb2.Infra | None = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + infra: _InfraObject_pb2.Infra | None = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["infra", b"infra"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "infra", b"infra", "project", b"project"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["infra", b"infra"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "infra", b"infra", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___UpdateInfraRequest = UpdateInfraRequest +Global___UpdateInfraRequest: _TypeAlias = UpdateInfraRequest # noqa: Y015 -class GetInfraRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetInfraRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetInfraRequest = GetInfraRequest +Global___GetInfraRequest: _TypeAlias = GetInfraRequest # noqa: Y015 -class ListProjectMetadataRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListProjectMetadataRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListProjectMetadataRequest = ListProjectMetadataRequest +Global___ListProjectMetadataRequest: _TypeAlias = ListProjectMetadataRequest # noqa: Y015 -class ListProjectMetadataResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListProjectMetadataResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - PROJECT_METADATA_FIELD_NUMBER: builtins.int - @property - def project_metadata(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Registry_pb2.ProjectMetadata]: ... + PROJECT_METADATA_FIELD_NUMBER: _builtins.int + @_builtins.property + def project_metadata(self) -> _containers.RepeatedCompositeFieldContainer[_Registry_pb2.ProjectMetadata]: ... def __init__( self, *, - project_metadata: collections.abc.Iterable[feast.core.Registry_pb2.ProjectMetadata] | None = ..., + project_metadata: _abc.Iterable[_Registry_pb2.ProjectMetadata] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["project_metadata", b"project_metadata"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["project_metadata", b"project_metadata"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListProjectMetadataResponse = ListProjectMetadataResponse +Global___ListProjectMetadataResponse: _TypeAlias = ListProjectMetadataResponse # noqa: Y015 -class ApplyMaterializationRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ApplyMaterializationRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - FEATURE_VIEW_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - START_DATE_FIELD_NUMBER: builtins.int - END_DATE_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - @property - def feature_view(self) -> feast.core.FeatureView_pb2.FeatureView: ... - project: builtins.str - @property - def start_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def end_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - commit: builtins.bool + FEATURE_VIEW_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + START_DATE_FIELD_NUMBER: _builtins.int + END_DATE_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + project: _builtins.str + commit: _builtins.bool + @_builtins.property + def feature_view(self) -> _FeatureView_pb2.FeatureView: ... + @_builtins.property + def start_date(self) -> _timestamp_pb2.Timestamp: ... + @_builtins.property + def end_date(self) -> _timestamp_pb2.Timestamp: ... def __init__( self, *, - feature_view: feast.core.FeatureView_pb2.FeatureView | None = ..., - project: builtins.str = ..., - start_date: google.protobuf.timestamp_pb2.Timestamp | None = ..., - end_date: google.protobuf.timestamp_pb2.Timestamp | None = ..., - commit: builtins.bool = ..., + feature_view: _FeatureView_pb2.FeatureView | None = ..., + project: _builtins.str = ..., + start_date: _timestamp_pb2.Timestamp | None = ..., + end_date: _timestamp_pb2.Timestamp | None = ..., + commit: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["end_date", b"end_date", "feature_view", b"feature_view", "start_date", b"start_date"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "end_date", b"end_date", "feature_view", b"feature_view", "project", b"project", "start_date", b"start_date"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["end_date", b"end_date", "feature_view", b"feature_view", "start_date", b"start_date"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "end_date", b"end_date", "feature_view", b"feature_view", "project", b"project", "start_date", b"start_date"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ApplyMaterializationRequest = ApplyMaterializationRequest +Global___ApplyMaterializationRequest: _TypeAlias = ApplyMaterializationRequest # noqa: Y015 -class ApplyEntityRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ApplyEntityRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - ENTITY_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - @property - def entity(self) -> feast.core.Entity_pb2.Entity: ... - project: builtins.str - commit: builtins.bool + ENTITY_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + project: _builtins.str + commit: _builtins.bool + @_builtins.property + def entity(self) -> _Entity_pb2.Entity: ... def __init__( self, *, - entity: feast.core.Entity_pb2.Entity | None = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + entity: _Entity_pb2.Entity | None = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["entity", b"entity"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "entity", b"entity", "project", b"project"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["entity", b"entity"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "entity", b"entity", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ApplyEntityRequest = ApplyEntityRequest +Global___ApplyEntityRequest: _TypeAlias = ApplyEntityRequest # noqa: Y015 -class GetEntityRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetEntityRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - allow_cache: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - allow_cache: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetEntityRequest = GetEntityRequest +Global___GetEntityRequest: _TypeAlias = GetEntityRequest # noqa: Y015 -class ListEntitiesRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListEntitiesRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... def __init__( self, *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListEntitiesRequest = ListEntitiesRequest +Global___ListEntitiesRequest: _TypeAlias = ListEntitiesRequest # noqa: Y015 -class ListEntitiesResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListEntitiesResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - ENTITIES_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def entities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Entity_pb2.Entity]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... + ENTITIES_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def entities(self) -> _containers.RepeatedCompositeFieldContainer[_Entity_pb2.Entity]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... def __init__( self, *, - entities: collections.abc.Iterable[feast.core.Entity_pb2.Entity] | None = ..., - pagination: global___PaginationMetadata | None = ..., + entities: _abc.Iterable[_Entity_pb2.Entity] | None = ..., + pagination: Global___PaginationMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["entities", b"entities", "pagination", b"pagination"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["entities", b"entities", "pagination", b"pagination"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListEntitiesResponse = ListEntitiesResponse +Global___ListEntitiesResponse: _TypeAlias = ListEntitiesResponse # noqa: Y015 -class DeleteEntityRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class DeleteEntityRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - commit: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + commit: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___DeleteEntityRequest = DeleteEntityRequest +Global___DeleteEntityRequest: _TypeAlias = DeleteEntityRequest # noqa: Y015 -class ApplyDataSourceRequest(google.protobuf.message.Message): +@_typing.final +class ApplyDataSourceRequest(_message.Message): """DataSources""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - DATA_SOURCE_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - @property - def data_source(self) -> feast.core.DataSource_pb2.DataSource: ... - project: builtins.str - commit: builtins.bool + DATA_SOURCE_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + project: _builtins.str + commit: _builtins.bool + @_builtins.property + def data_source(self) -> _DataSource_pb2.DataSource: ... def __init__( self, *, - data_source: feast.core.DataSource_pb2.DataSource | None = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + data_source: _DataSource_pb2.DataSource | None = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["data_source", b"data_source"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "data_source", b"data_source", "project", b"project"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["data_source", b"data_source"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "data_source", b"data_source", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ApplyDataSourceRequest = ApplyDataSourceRequest +Global___ApplyDataSourceRequest: _TypeAlias = ApplyDataSourceRequest # noqa: Y015 -class GetDataSourceRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetDataSourceRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - allow_cache: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - allow_cache: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetDataSourceRequest = GetDataSourceRequest +Global___GetDataSourceRequest: _TypeAlias = GetDataSourceRequest # noqa: Y015 -class ListDataSourcesRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListDataSourcesRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... def __init__( self, *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListDataSourcesRequest = ListDataSourcesRequest +Global___ListDataSourcesRequest: _TypeAlias = ListDataSourcesRequest # noqa: Y015 -class ListDataSourcesResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListDataSourcesResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - DATA_SOURCES_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def data_sources(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.DataSource_pb2.DataSource]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... + DATA_SOURCES_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def data_sources(self) -> _containers.RepeatedCompositeFieldContainer[_DataSource_pb2.DataSource]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... def __init__( self, *, - data_sources: collections.abc.Iterable[feast.core.DataSource_pb2.DataSource] | None = ..., - pagination: global___PaginationMetadata | None = ..., + data_sources: _abc.Iterable[_DataSource_pb2.DataSource] | None = ..., + pagination: Global___PaginationMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["data_sources", b"data_sources", "pagination", b"pagination"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["data_sources", b"data_sources", "pagination", b"pagination"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListDataSourcesResponse = ListDataSourcesResponse +Global___ListDataSourcesResponse: _TypeAlias = ListDataSourcesResponse # noqa: Y015 -class DeleteDataSourceRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class DeleteDataSourceRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - commit: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + commit: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___DeleteDataSourceRequest = DeleteDataSourceRequest +Global___DeleteDataSourceRequest: _TypeAlias = DeleteDataSourceRequest # noqa: Y015 -class ApplyFeatureViewRequest(google.protobuf.message.Message): +@_typing.final +class ApplyFeatureViewRequest(_message.Message): """FeatureViews""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - FEATURE_VIEW_FIELD_NUMBER: builtins.int - ON_DEMAND_FEATURE_VIEW_FIELD_NUMBER: builtins.int - STREAM_FEATURE_VIEW_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - @property - def feature_view(self) -> feast.core.FeatureView_pb2.FeatureView: ... - @property - def on_demand_feature_view(self) -> feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView: ... - @property - def stream_feature_view(self) -> feast.core.StreamFeatureView_pb2.StreamFeatureView: ... - project: builtins.str - commit: builtins.bool + FEATURE_VIEW_FIELD_NUMBER: _builtins.int + ON_DEMAND_FEATURE_VIEW_FIELD_NUMBER: _builtins.int + STREAM_FEATURE_VIEW_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + project: _builtins.str + commit: _builtins.bool + @_builtins.property + def feature_view(self) -> _FeatureView_pb2.FeatureView: ... + @_builtins.property + def on_demand_feature_view(self) -> _OnDemandFeatureView_pb2.OnDemandFeatureView: ... + @_builtins.property + def stream_feature_view(self) -> _StreamFeatureView_pb2.StreamFeatureView: ... def __init__( self, *, - feature_view: feast.core.FeatureView_pb2.FeatureView | None = ..., - on_demand_feature_view: feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView | None = ..., - stream_feature_view: feast.core.StreamFeatureView_pb2.StreamFeatureView | None = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + feature_view: _FeatureView_pb2.FeatureView | None = ..., + on_demand_feature_view: _OnDemandFeatureView_pb2.OnDemandFeatureView | None = ..., + stream_feature_view: _StreamFeatureView_pb2.StreamFeatureView | None = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["base_feature_view", b"base_feature_view", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "stream_feature_view", b"stream_feature_view"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["base_feature_view", b"base_feature_view", "commit", b"commit", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "project", b"project", "stream_feature_view", b"stream_feature_view"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["base_feature_view", b"base_feature_view"]) -> typing_extensions.Literal["feature_view", "on_demand_feature_view", "stream_feature_view"] | None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["base_feature_view", b"base_feature_view", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "stream_feature_view", b"stream_feature_view"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["base_feature_view", b"base_feature_view", "commit", b"commit", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "project", b"project", "stream_feature_view", b"stream_feature_view"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_base_feature_view: _TypeAlias = _typing.Literal["feature_view", "on_demand_feature_view", "stream_feature_view"] # noqa: Y015 + _WhichOneofArgType_base_feature_view: _TypeAlias = _typing.Literal["base_feature_view", b"base_feature_view"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_base_feature_view) -> _WhichOneofReturnType_base_feature_view | None: ... -global___ApplyFeatureViewRequest = ApplyFeatureViewRequest +Global___ApplyFeatureViewRequest: _TypeAlias = ApplyFeatureViewRequest # noqa: Y015 -class GetFeatureViewRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetFeatureViewRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - allow_cache: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - allow_cache: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetFeatureViewRequest = GetFeatureViewRequest +Global___GetFeatureViewRequest: _TypeAlias = GetFeatureViewRequest # noqa: Y015 -class ListFeatureViewsRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListFeatureViewsRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... def __init__( self, *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListFeatureViewsRequest = ListFeatureViewsRequest +Global___ListFeatureViewsRequest: _TypeAlias = ListFeatureViewsRequest # noqa: Y015 -class ListFeatureViewsResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListFeatureViewsResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - FEATURE_VIEWS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureView_pb2.FeatureView]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... + FEATURE_VIEWS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def feature_views(self) -> _containers.RepeatedCompositeFieldContainer[_FeatureView_pb2.FeatureView]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... def __init__( self, *, - feature_views: collections.abc.Iterable[feast.core.FeatureView_pb2.FeatureView] | None = ..., - pagination: global___PaginationMetadata | None = ..., + feature_views: _abc.Iterable[_FeatureView_pb2.FeatureView] | None = ..., + pagination: Global___PaginationMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["feature_views", b"feature_views", "pagination", b"pagination"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_views", b"feature_views", "pagination", b"pagination"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListFeatureViewsResponse = ListFeatureViewsResponse +Global___ListFeatureViewsResponse: _TypeAlias = ListFeatureViewsResponse # noqa: Y015 -class DeleteFeatureViewRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class DeleteFeatureViewRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - commit: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + commit: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___DeleteFeatureViewRequest = DeleteFeatureViewRequest +Global___DeleteFeatureViewRequest: _TypeAlias = DeleteFeatureViewRequest # noqa: Y015 -class AnyFeatureView(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class AnyFeatureView(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - FEATURE_VIEW_FIELD_NUMBER: builtins.int - ON_DEMAND_FEATURE_VIEW_FIELD_NUMBER: builtins.int - STREAM_FEATURE_VIEW_FIELD_NUMBER: builtins.int - @property - def feature_view(self) -> feast.core.FeatureView_pb2.FeatureView: ... - @property - def on_demand_feature_view(self) -> feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView: ... - @property - def stream_feature_view(self) -> feast.core.StreamFeatureView_pb2.StreamFeatureView: ... + FEATURE_VIEW_FIELD_NUMBER: _builtins.int + ON_DEMAND_FEATURE_VIEW_FIELD_NUMBER: _builtins.int + STREAM_FEATURE_VIEW_FIELD_NUMBER: _builtins.int + @_builtins.property + def feature_view(self) -> _FeatureView_pb2.FeatureView: ... + @_builtins.property + def on_demand_feature_view(self) -> _OnDemandFeatureView_pb2.OnDemandFeatureView: ... + @_builtins.property + def stream_feature_view(self) -> _StreamFeatureView_pb2.StreamFeatureView: ... def __init__( self, *, - feature_view: feast.core.FeatureView_pb2.FeatureView | None = ..., - on_demand_feature_view: feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView | None = ..., - stream_feature_view: feast.core.StreamFeatureView_pb2.StreamFeatureView | None = ..., + feature_view: _FeatureView_pb2.FeatureView | None = ..., + on_demand_feature_view: _OnDemandFeatureView_pb2.OnDemandFeatureView | None = ..., + stream_feature_view: _StreamFeatureView_pb2.StreamFeatureView | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["any_feature_view", b"any_feature_view", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "stream_feature_view", b"stream_feature_view"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["any_feature_view", b"any_feature_view", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "stream_feature_view", b"stream_feature_view"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["any_feature_view", b"any_feature_view"]) -> typing_extensions.Literal["feature_view", "on_demand_feature_view", "stream_feature_view"] | None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["any_feature_view", b"any_feature_view", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "stream_feature_view", b"stream_feature_view"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["any_feature_view", b"any_feature_view", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "stream_feature_view", b"stream_feature_view"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_any_feature_view: _TypeAlias = _typing.Literal["feature_view", "on_demand_feature_view", "stream_feature_view"] # noqa: Y015 + _WhichOneofArgType_any_feature_view: _TypeAlias = _typing.Literal["any_feature_view", b"any_feature_view"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_any_feature_view) -> _WhichOneofReturnType_any_feature_view | None: ... -global___AnyFeatureView = AnyFeatureView +Global___AnyFeatureView: _TypeAlias = AnyFeatureView # noqa: Y015 -class GetAnyFeatureViewRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetAnyFeatureViewRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - allow_cache: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - allow_cache: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetAnyFeatureViewRequest = GetAnyFeatureViewRequest +Global___GetAnyFeatureViewRequest: _TypeAlias = GetAnyFeatureViewRequest # noqa: Y015 -class GetAnyFeatureViewResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetAnyFeatureViewResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - ANY_FEATURE_VIEW_FIELD_NUMBER: builtins.int - @property - def any_feature_view(self) -> global___AnyFeatureView: ... + ANY_FEATURE_VIEW_FIELD_NUMBER: _builtins.int + @_builtins.property + def any_feature_view(self) -> Global___AnyFeatureView: ... def __init__( self, *, - any_feature_view: global___AnyFeatureView | None = ..., + any_feature_view: Global___AnyFeatureView | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["any_feature_view", b"any_feature_view"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["any_feature_view", b"any_feature_view"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["any_feature_view", b"any_feature_view"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["any_feature_view", b"any_feature_view"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetAnyFeatureViewResponse = GetAnyFeatureViewResponse +Global___GetAnyFeatureViewResponse: _TypeAlias = GetAnyFeatureViewResponse # noqa: Y015 -class ListAllFeatureViewsRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListAllFeatureViewsRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - ENTITY_FIELD_NUMBER: builtins.int - FEATURE_FIELD_NUMBER: builtins.int - FEATURE_SERVICE_FIELD_NUMBER: builtins.int - DATA_SOURCE_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - entity: builtins.str - feature: builtins.str - feature_service: builtins.str - data_source: builtins.str - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... - def __init__( - self, - *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - entity: builtins.str = ..., - feature: builtins.str = ..., - feature_service: builtins.str = ..., - data_source: builtins.str = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "data_source", b"data_source", "entity", b"entity", "feature", b"feature", "feature_service", b"feature_service", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... - -global___ListAllFeatureViewsRequest = ListAllFeatureViewsRequest - -class ListAllFeatureViewsResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - FEATURE_VIEWS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AnyFeatureView]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... - def __init__( - self, - *, - feature_views: collections.abc.Iterable[global___AnyFeatureView] | None = ..., - pagination: global___PaginationMetadata | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["feature_views", b"feature_views", "pagination", b"pagination"]) -> None: ... - -global___ListAllFeatureViewsResponse = ListAllFeatureViewsResponse - -class GetStreamFeatureViewRequest(google.protobuf.message.Message): + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + ENTITY_FIELD_NUMBER: _builtins.int + FEATURE_FIELD_NUMBER: _builtins.int + FEATURE_SERVICE_FIELD_NUMBER: _builtins.int + DATA_SOURCE_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool + entity: _builtins.str + feature: _builtins.str + feature_service: _builtins.str + data_source: _builtins.str + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... + def __init__( + self, + *, + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + entity: _builtins.str = ..., + feature: _builtins.str = ..., + feature_service: _builtins.str = ..., + data_source: _builtins.str = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "data_source", b"data_source", "entity", b"entity", "feature", b"feature", "feature_service", b"feature_service", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ListAllFeatureViewsRequest: _TypeAlias = ListAllFeatureViewsRequest # noqa: Y015 + +@_typing.final +class ListAllFeatureViewsResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + FEATURE_VIEWS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def feature_views(self) -> _containers.RepeatedCompositeFieldContainer[Global___AnyFeatureView]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... + def __init__( + self, + *, + feature_views: _abc.Iterable[Global___AnyFeatureView] | None = ..., + pagination: Global___PaginationMetadata | None = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_views", b"feature_views", "pagination", b"pagination"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ListAllFeatureViewsResponse: _TypeAlias = ListAllFeatureViewsResponse # noqa: Y015 + +@_typing.final +class GetStreamFeatureViewRequest(_message.Message): """StreamFeatureView""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - allow_cache: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - allow_cache: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetStreamFeatureViewRequest = GetStreamFeatureViewRequest +Global___GetStreamFeatureViewRequest: _TypeAlias = GetStreamFeatureViewRequest # noqa: Y015 -class ListStreamFeatureViewsRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListStreamFeatureViewsRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... def __init__( self, *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListStreamFeatureViewsRequest = ListStreamFeatureViewsRequest +Global___ListStreamFeatureViewsRequest: _TypeAlias = ListStreamFeatureViewsRequest # noqa: Y015 -class ListStreamFeatureViewsResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListStreamFeatureViewsResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - STREAM_FEATURE_VIEWS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def stream_feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.StreamFeatureView_pb2.StreamFeatureView]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... + STREAM_FEATURE_VIEWS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def stream_feature_views(self) -> _containers.RepeatedCompositeFieldContainer[_StreamFeatureView_pb2.StreamFeatureView]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... def __init__( self, *, - stream_feature_views: collections.abc.Iterable[feast.core.StreamFeatureView_pb2.StreamFeatureView] | None = ..., - pagination: global___PaginationMetadata | None = ..., + stream_feature_views: _abc.Iterable[_StreamFeatureView_pb2.StreamFeatureView] | None = ..., + pagination: Global___PaginationMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "stream_feature_views", b"stream_feature_views"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "stream_feature_views", b"stream_feature_views"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListStreamFeatureViewsResponse = ListStreamFeatureViewsResponse +Global___ListStreamFeatureViewsResponse: _TypeAlias = ListStreamFeatureViewsResponse # noqa: Y015 -class GetOnDemandFeatureViewRequest(google.protobuf.message.Message): +@_typing.final +class GetOnDemandFeatureViewRequest(_message.Message): """OnDemandFeatureView""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - allow_cache: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - allow_cache: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetOnDemandFeatureViewRequest = GetOnDemandFeatureViewRequest +Global___GetOnDemandFeatureViewRequest: _TypeAlias = GetOnDemandFeatureViewRequest # noqa: Y015 -class ListOnDemandFeatureViewsRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListOnDemandFeatureViewsRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... def __init__( self, *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListOnDemandFeatureViewsRequest = ListOnDemandFeatureViewsRequest +Global___ListOnDemandFeatureViewsRequest: _TypeAlias = ListOnDemandFeatureViewsRequest # noqa: Y015 -class ListOnDemandFeatureViewsResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListOnDemandFeatureViewsResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - ON_DEMAND_FEATURE_VIEWS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def on_demand_feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... + ON_DEMAND_FEATURE_VIEWS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def on_demand_feature_views(self) -> _containers.RepeatedCompositeFieldContainer[_OnDemandFeatureView_pb2.OnDemandFeatureView]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... def __init__( self, *, - on_demand_feature_views: collections.abc.Iterable[feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView] | None = ..., - pagination: global___PaginationMetadata | None = ..., + on_demand_feature_views: _abc.Iterable[_OnDemandFeatureView_pb2.OnDemandFeatureView] | None = ..., + pagination: Global___PaginationMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["on_demand_feature_views", b"on_demand_feature_views", "pagination", b"pagination"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["on_demand_feature_views", b"on_demand_feature_views", "pagination", b"pagination"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListOnDemandFeatureViewsResponse = ListOnDemandFeatureViewsResponse +Global___ListOnDemandFeatureViewsResponse: _TypeAlias = ListOnDemandFeatureViewsResponse # noqa: Y015 -class ApplyFeatureServiceRequest(google.protobuf.message.Message): +@_typing.final +class ApplyFeatureServiceRequest(_message.Message): """FeatureServices""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - FEATURE_SERVICE_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - @property - def feature_service(self) -> feast.core.FeatureService_pb2.FeatureService: ... - project: builtins.str - commit: builtins.bool + FEATURE_SERVICE_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + project: _builtins.str + commit: _builtins.bool + @_builtins.property + def feature_service(self) -> _FeatureService_pb2.FeatureService: ... def __init__( self, *, - feature_service: feast.core.FeatureService_pb2.FeatureService | None = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + feature_service: _FeatureService_pb2.FeatureService | None = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["feature_service", b"feature_service"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "feature_service", b"feature_service", "project", b"project"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["feature_service", b"feature_service"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "feature_service", b"feature_service", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ApplyFeatureServiceRequest = ApplyFeatureServiceRequest +Global___ApplyFeatureServiceRequest: _TypeAlias = ApplyFeatureServiceRequest # noqa: Y015 -class GetFeatureServiceRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetFeatureServiceRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - allow_cache: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - allow_cache: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetFeatureServiceRequest = GetFeatureServiceRequest +Global___GetFeatureServiceRequest: _TypeAlias = GetFeatureServiceRequest # noqa: Y015 -class ListFeatureServicesRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListFeatureServicesRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - FEATURE_VIEW_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - feature_view: builtins.str - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + FEATURE_VIEW_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool + feature_view: _builtins.str + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... def __init__( self, *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - feature_view: builtins.str = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + feature_view: _builtins.str = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "feature_view", b"feature_view", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "feature_view", b"feature_view", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListFeatureServicesRequest = ListFeatureServicesRequest +Global___ListFeatureServicesRequest: _TypeAlias = ListFeatureServicesRequest # noqa: Y015 -class ListFeatureServicesResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListFeatureServicesResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - FEATURE_SERVICES_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def feature_services(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureService_pb2.FeatureService]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... + FEATURE_SERVICES_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def feature_services(self) -> _containers.RepeatedCompositeFieldContainer[_FeatureService_pb2.FeatureService]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... def __init__( self, *, - feature_services: collections.abc.Iterable[feast.core.FeatureService_pb2.FeatureService] | None = ..., - pagination: global___PaginationMetadata | None = ..., + feature_services: _abc.Iterable[_FeatureService_pb2.FeatureService] | None = ..., + pagination: Global___PaginationMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["feature_services", b"feature_services", "pagination", b"pagination"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_services", b"feature_services", "pagination", b"pagination"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListFeatureServicesResponse = ListFeatureServicesResponse +Global___ListFeatureServicesResponse: _TypeAlias = ListFeatureServicesResponse # noqa: Y015 -class DeleteFeatureServiceRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class DeleteFeatureServiceRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - commit: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + commit: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___DeleteFeatureServiceRequest = DeleteFeatureServiceRequest +Global___DeleteFeatureServiceRequest: _TypeAlias = DeleteFeatureServiceRequest # noqa: Y015 -class ApplySavedDatasetRequest(google.protobuf.message.Message): +@_typing.final +class ApplySavedDatasetRequest(_message.Message): """SavedDataset""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - SAVED_DATASET_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - @property - def saved_dataset(self) -> feast.core.SavedDataset_pb2.SavedDataset: ... - project: builtins.str - commit: builtins.bool + SAVED_DATASET_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + project: _builtins.str + commit: _builtins.bool + @_builtins.property + def saved_dataset(self) -> _SavedDataset_pb2.SavedDataset: ... def __init__( self, *, - saved_dataset: feast.core.SavedDataset_pb2.SavedDataset | None = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + saved_dataset: _SavedDataset_pb2.SavedDataset | None = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["saved_dataset", b"saved_dataset"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "project", b"project", "saved_dataset", b"saved_dataset"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["saved_dataset", b"saved_dataset"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "project", b"project", "saved_dataset", b"saved_dataset"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ApplySavedDatasetRequest = ApplySavedDatasetRequest +Global___ApplySavedDatasetRequest: _TypeAlias = ApplySavedDatasetRequest # noqa: Y015 -class GetSavedDatasetRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetSavedDatasetRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - allow_cache: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - allow_cache: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetSavedDatasetRequest = GetSavedDatasetRequest +Global___GetSavedDatasetRequest: _TypeAlias = GetSavedDatasetRequest # noqa: Y015 -class ListSavedDatasetsRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListSavedDatasetsRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... def __init__( self, *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListSavedDatasetsRequest = ListSavedDatasetsRequest +Global___ListSavedDatasetsRequest: _TypeAlias = ListSavedDatasetsRequest # noqa: Y015 -class ListSavedDatasetsResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListSavedDatasetsResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SAVED_DATASETS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def saved_datasets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.SavedDataset_pb2.SavedDataset]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... + SAVED_DATASETS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def saved_datasets(self) -> _containers.RepeatedCompositeFieldContainer[_SavedDataset_pb2.SavedDataset]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... def __init__( self, *, - saved_datasets: collections.abc.Iterable[feast.core.SavedDataset_pb2.SavedDataset] | None = ..., - pagination: global___PaginationMetadata | None = ..., + saved_datasets: _abc.Iterable[_SavedDataset_pb2.SavedDataset] | None = ..., + pagination: Global___PaginationMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "saved_datasets", b"saved_datasets"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "saved_datasets", b"saved_datasets"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListSavedDatasetsResponse = ListSavedDatasetsResponse +Global___ListSavedDatasetsResponse: _TypeAlias = ListSavedDatasetsResponse # noqa: Y015 -class DeleteSavedDatasetRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class DeleteSavedDatasetRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - commit: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + commit: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___DeleteSavedDatasetRequest = DeleteSavedDatasetRequest +Global___DeleteSavedDatasetRequest: _TypeAlias = DeleteSavedDatasetRequest # noqa: Y015 -class ApplyValidationReferenceRequest(google.protobuf.message.Message): +@_typing.final +class ApplyValidationReferenceRequest(_message.Message): """ValidationReference""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - VALIDATION_REFERENCE_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - @property - def validation_reference(self) -> feast.core.ValidationProfile_pb2.ValidationReference: ... - project: builtins.str - commit: builtins.bool + VALIDATION_REFERENCE_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + project: _builtins.str + commit: _builtins.bool + @_builtins.property + def validation_reference(self) -> _ValidationProfile_pb2.ValidationReference: ... def __init__( self, *, - validation_reference: feast.core.ValidationProfile_pb2.ValidationReference | None = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + validation_reference: _ValidationProfile_pb2.ValidationReference | None = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["validation_reference", b"validation_reference"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "project", b"project", "validation_reference", b"validation_reference"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["validation_reference", b"validation_reference"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "project", b"project", "validation_reference", b"validation_reference"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ApplyValidationReferenceRequest = ApplyValidationReferenceRequest +Global___ApplyValidationReferenceRequest: _TypeAlias = ApplyValidationReferenceRequest # noqa: Y015 -class GetValidationReferenceRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetValidationReferenceRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - allow_cache: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - allow_cache: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetValidationReferenceRequest = GetValidationReferenceRequest +Global___GetValidationReferenceRequest: _TypeAlias = GetValidationReferenceRequest # noqa: Y015 -class ListValidationReferencesRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListValidationReferencesRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... def __init__( self, *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListValidationReferencesRequest = ListValidationReferencesRequest +Global___ListValidationReferencesRequest: _TypeAlias = ListValidationReferencesRequest # noqa: Y015 -class ListValidationReferencesResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListValidationReferencesResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VALIDATION_REFERENCES_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def validation_references(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.ValidationProfile_pb2.ValidationReference]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... + VALIDATION_REFERENCES_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def validation_references(self) -> _containers.RepeatedCompositeFieldContainer[_ValidationProfile_pb2.ValidationReference]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... def __init__( self, *, - validation_references: collections.abc.Iterable[feast.core.ValidationProfile_pb2.ValidationReference] | None = ..., - pagination: global___PaginationMetadata | None = ..., + validation_references: _abc.Iterable[_ValidationProfile_pb2.ValidationReference] | None = ..., + pagination: Global___PaginationMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "validation_references", b"validation_references"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "validation_references", b"validation_references"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListValidationReferencesResponse = ListValidationReferencesResponse +Global___ListValidationReferencesResponse: _TypeAlias = ListValidationReferencesResponse # noqa: Y015 -class DeleteValidationReferenceRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class DeleteValidationReferenceRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - commit: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + commit: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___DeleteValidationReferenceRequest = DeleteValidationReferenceRequest +Global___DeleteValidationReferenceRequest: _TypeAlias = DeleteValidationReferenceRequest # noqa: Y015 -class ApplyPermissionRequest(google.protobuf.message.Message): +@_typing.final +class ApplyPermissionRequest(_message.Message): """Permissions""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - PERMISSION_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - @property - def permission(self) -> feast.core.Permission_pb2.Permission: ... - project: builtins.str - commit: builtins.bool + PERMISSION_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + project: _builtins.str + commit: _builtins.bool + @_builtins.property + def permission(self) -> _Permission_pb2.Permission: ... def __init__( self, *, - permission: feast.core.Permission_pb2.Permission | None = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + permission: _Permission_pb2.Permission | None = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["permission", b"permission"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "permission", b"permission", "project", b"project"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["permission", b"permission"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "permission", b"permission", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ApplyPermissionRequest = ApplyPermissionRequest +Global___ApplyPermissionRequest: _TypeAlias = ApplyPermissionRequest # noqa: Y015 -class GetPermissionRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetPermissionRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - allow_cache: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - allow_cache: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetPermissionRequest = GetPermissionRequest +Global___GetPermissionRequest: _TypeAlias = GetPermissionRequest # noqa: Y015 -class ListPermissionsRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListPermissionsRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... def __init__( self, *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListPermissionsRequest = ListPermissionsRequest +Global___ListPermissionsRequest: _TypeAlias = ListPermissionsRequest # noqa: Y015 -class ListPermissionsResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListPermissionsResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - PERMISSIONS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def permissions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Permission_pb2.Permission]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... + PERMISSIONS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def permissions(self) -> _containers.RepeatedCompositeFieldContainer[_Permission_pb2.Permission]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... def __init__( self, *, - permissions: collections.abc.Iterable[feast.core.Permission_pb2.Permission] | None = ..., - pagination: global___PaginationMetadata | None = ..., + permissions: _abc.Iterable[_Permission_pb2.Permission] | None = ..., + pagination: Global___PaginationMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "permissions", b"permissions"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "permissions", b"permissions"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListPermissionsResponse = ListPermissionsResponse +Global___ListPermissionsResponse: _TypeAlias = ListPermissionsResponse # noqa: Y015 -class DeletePermissionRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class DeletePermissionRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - name: builtins.str - project: builtins.str - commit: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + name: _builtins.str + project: _builtins.str + commit: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - project: builtins.str = ..., - commit: builtins.bool = ..., + name: _builtins.str = ..., + project: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___DeletePermissionRequest = DeletePermissionRequest +Global___DeletePermissionRequest: _TypeAlias = DeletePermissionRequest # noqa: Y015 -class ApplyProjectRequest(google.protobuf.message.Message): +@_typing.final +class ApplyProjectRequest(_message.Message): """Projects""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - PROJECT_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - @property - def project(self) -> feast.core.Project_pb2.Project: ... - commit: builtins.bool + PROJECT_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + commit: _builtins.bool + @_builtins.property + def project(self) -> _Project_pb2.Project: ... def __init__( self, *, - project: feast.core.Project_pb2.Project | None = ..., - commit: builtins.bool = ..., + project: _Project_pb2.Project | None = ..., + commit: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["project", b"project"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "project", b"project"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["project", b"project"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ApplyProjectRequest = ApplyProjectRequest +Global___ApplyProjectRequest: _TypeAlias = ApplyProjectRequest # noqa: Y015 -class GetProjectRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetProjectRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - name: builtins.str - allow_cache: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + name: _builtins.str + allow_cache: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - allow_cache: builtins.bool = ..., + name: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetProjectRequest = GetProjectRequest +Global___GetProjectRequest: _TypeAlias = GetProjectRequest # noqa: Y015 -class ListProjectsRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListProjectsRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - ALLOW_CACHE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - allow_cache: builtins.bool - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + allow_cache: _builtins.bool + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... def __init__( self, *, - allow_cache: builtins.bool = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., + allow_cache: _builtins.bool = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "sorting", b"sorting", "tags", b"tags"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListProjectsRequest = ListProjectsRequest +Global___ListProjectsRequest: _TypeAlias = ListProjectsRequest # noqa: Y015 -class ListProjectsResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ListProjectsResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - PROJECTS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def projects(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Project_pb2.Project]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... + PROJECTS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def projects(self) -> _containers.RepeatedCompositeFieldContainer[_Project_pb2.Project]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... def __init__( self, *, - projects: collections.abc.Iterable[feast.core.Project_pb2.Project] | None = ..., - pagination: global___PaginationMetadata | None = ..., + projects: _abc.Iterable[_Project_pb2.Project] | None = ..., + pagination: Global___PaginationMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "projects", b"projects"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "projects", b"projects"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ListProjectsResponse = ListProjectsResponse +Global___ListProjectsResponse: _TypeAlias = ListProjectsResponse # noqa: Y015 -class DeleteProjectRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class DeleteProjectRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - COMMIT_FIELD_NUMBER: builtins.int - name: builtins.str - commit: builtins.bool + NAME_FIELD_NUMBER: _builtins.int + COMMIT_FIELD_NUMBER: _builtins.int + name: _builtins.str + commit: _builtins.bool def __init__( self, *, - name: builtins.str = ..., - commit: builtins.bool = ..., + name: _builtins.str = ..., + commit: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___DeleteProjectRequest = DeleteProjectRequest +Global___DeleteProjectRequest: _TypeAlias = DeleteProjectRequest # noqa: Y015 -class EntityReference(google.protobuf.message.Message): +@_typing.final +class EntityReference(_message.Message): """Lineage""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - TYPE_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - type: builtins.str + TYPE_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + type: _builtins.str """"dataSource", "entity", "featureView", "featureService" """ - name: builtins.str + name: _builtins.str def __init__( self, *, - type: builtins.str = ..., - name: builtins.str = ..., + type: _builtins.str = ..., + name: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "type", b"type"]) -> None: ... - -global___EntityReference = EntityReference + _ClearFieldArgType: _TypeAlias = _typing.Literal["name", b"name", "type", b"type"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -class EntityRelation(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +Global___EntityReference: _TypeAlias = EntityReference # noqa: Y015 - SOURCE_FIELD_NUMBER: builtins.int - TARGET_FIELD_NUMBER: builtins.int - @property - def source(self) -> global___EntityReference: ... - @property - def target(self) -> global___EntityReference: ... +@_typing.final +class EntityRelation(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + SOURCE_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + @_builtins.property + def source(self) -> Global___EntityReference: ... + @_builtins.property + def target(self) -> Global___EntityReference: ... def __init__( self, *, - source: global___EntityReference | None = ..., - target: global___EntityReference | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["source", b"source", "target", b"target"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["source", b"source", "target", b"target"]) -> None: ... - -global___EntityRelation = EntityRelation - -class GetRegistryLineageRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + source: Global___EntityReference | None = ..., + target: Global___EntityReference | None = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["source", b"source", "target", b"target"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["source", b"source", "target", b"target"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___EntityRelation: _TypeAlias = EntityRelation # noqa: Y015 + +@_typing.final +class GetRegistryLineageRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - PROJECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - FILTER_OBJECT_TYPE_FIELD_NUMBER: builtins.int - FILTER_OBJECT_NAME_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - allow_cache: builtins.bool - filter_object_type: builtins.str - filter_object_name: builtins.str - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... + PROJECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + FILTER_OBJECT_TYPE_FIELD_NUMBER: _builtins.int + FILTER_OBJECT_NAME_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + allow_cache: _builtins.bool + filter_object_type: _builtins.str + filter_object_name: _builtins.str + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... def __init__( self, *, - project: builtins.str = ..., - allow_cache: builtins.bool = ..., - filter_object_type: builtins.str = ..., - filter_object_name: builtins.str = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., + project: _builtins.str = ..., + allow_cache: _builtins.bool = ..., + filter_object_type: _builtins.str = ..., + filter_object_name: _builtins.str = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "filter_object_name", b"filter_object_name", "filter_object_type", b"filter_object_type", "pagination", b"pagination", "project", b"project", "sorting", b"sorting"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "filter_object_name", b"filter_object_name", "filter_object_type", b"filter_object_type", "pagination", b"pagination", "project", b"project", "sorting", b"sorting"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetRegistryLineageRequest = GetRegistryLineageRequest +Global___GetRegistryLineageRequest: _TypeAlias = GetRegistryLineageRequest # noqa: Y015 -class GetRegistryLineageResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetRegistryLineageResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - RELATIONSHIPS_FIELD_NUMBER: builtins.int - INDIRECT_RELATIONSHIPS_FIELD_NUMBER: builtins.int - RELATIONSHIPS_PAGINATION_FIELD_NUMBER: builtins.int - INDIRECT_RELATIONSHIPS_PAGINATION_FIELD_NUMBER: builtins.int - @property - def relationships(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EntityRelation]: ... - @property - def indirect_relationships(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EntityRelation]: ... - @property - def relationships_pagination(self) -> global___PaginationMetadata: ... - @property - def indirect_relationships_pagination(self) -> global___PaginationMetadata: ... + RELATIONSHIPS_FIELD_NUMBER: _builtins.int + INDIRECT_RELATIONSHIPS_FIELD_NUMBER: _builtins.int + RELATIONSHIPS_PAGINATION_FIELD_NUMBER: _builtins.int + INDIRECT_RELATIONSHIPS_PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def relationships(self) -> _containers.RepeatedCompositeFieldContainer[Global___EntityRelation]: ... + @_builtins.property + def indirect_relationships(self) -> _containers.RepeatedCompositeFieldContainer[Global___EntityRelation]: ... + @_builtins.property + def relationships_pagination(self) -> Global___PaginationMetadata: ... + @_builtins.property + def indirect_relationships_pagination(self) -> Global___PaginationMetadata: ... def __init__( self, *, - relationships: collections.abc.Iterable[global___EntityRelation] | None = ..., - indirect_relationships: collections.abc.Iterable[global___EntityRelation] | None = ..., - relationships_pagination: global___PaginationMetadata | None = ..., - indirect_relationships_pagination: global___PaginationMetadata | None = ..., + relationships: _abc.Iterable[Global___EntityRelation] | None = ..., + indirect_relationships: _abc.Iterable[Global___EntityRelation] | None = ..., + relationships_pagination: Global___PaginationMetadata | None = ..., + indirect_relationships_pagination: Global___PaginationMetadata | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["indirect_relationships_pagination", b"indirect_relationships_pagination", "relationships_pagination", b"relationships_pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["indirect_relationships", b"indirect_relationships", "indirect_relationships_pagination", b"indirect_relationships_pagination", "relationships", b"relationships", "relationships_pagination", b"relationships_pagination"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["indirect_relationships_pagination", b"indirect_relationships_pagination", "relationships_pagination", b"relationships_pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["indirect_relationships", b"indirect_relationships", "indirect_relationships_pagination", b"indirect_relationships_pagination", "relationships", b"relationships", "relationships_pagination", b"relationships_pagination"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetRegistryLineageResponse = GetRegistryLineageResponse +Global___GetRegistryLineageResponse: _TypeAlias = GetRegistryLineageResponse # noqa: Y015 -class GetObjectRelationshipsRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - PROJECT_FIELD_NUMBER: builtins.int - OBJECT_TYPE_FIELD_NUMBER: builtins.int - OBJECT_NAME_FIELD_NUMBER: builtins.int - INCLUDE_INDIRECT_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - object_type: builtins.str - object_name: builtins.str - include_indirect: builtins.bool - allow_cache: builtins.bool - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... - def __init__( - self, - *, - project: builtins.str = ..., - object_type: builtins.str = ..., - object_name: builtins.str = ..., - include_indirect: builtins.bool = ..., - allow_cache: builtins.bool = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "include_indirect", b"include_indirect", "object_name", b"object_name", "object_type", b"object_type", "pagination", b"pagination", "project", b"project", "sorting", b"sorting"]) -> None: ... - -global___GetObjectRelationshipsRequest = GetObjectRelationshipsRequest - -class GetObjectRelationshipsResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - RELATIONSHIPS_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def relationships(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EntityRelation]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... - def __init__( - self, - *, - relationships: collections.abc.Iterable[global___EntityRelation] | None = ..., - pagination: global___PaginationMetadata | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "relationships", b"relationships"]) -> None: ... - -global___GetObjectRelationshipsResponse = GetObjectRelationshipsResponse - -class Feature(google.protobuf.message.Message): +@_typing.final +class GetObjectRelationshipsRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + PROJECT_FIELD_NUMBER: _builtins.int + OBJECT_TYPE_FIELD_NUMBER: _builtins.int + OBJECT_NAME_FIELD_NUMBER: _builtins.int + INCLUDE_INDIRECT_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + object_type: _builtins.str + object_name: _builtins.str + include_indirect: _builtins.bool + allow_cache: _builtins.bool + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... + def __init__( + self, + *, + project: _builtins.str = ..., + object_type: _builtins.str = ..., + object_name: _builtins.str = ..., + include_indirect: _builtins.bool = ..., + allow_cache: _builtins.bool = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "include_indirect", b"include_indirect", "object_name", b"object_name", "object_type", b"object_type", "pagination", b"pagination", "project", b"project", "sorting", b"sorting"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___GetObjectRelationshipsRequest: _TypeAlias = GetObjectRelationshipsRequest # noqa: Y015 + +@_typing.final +class GetObjectRelationshipsResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + RELATIONSHIPS_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def relationships(self) -> _containers.RepeatedCompositeFieldContainer[Global___EntityRelation]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... + def __init__( + self, + *, + relationships: _abc.Iterable[Global___EntityRelation] | None = ..., + pagination: Global___PaginationMetadata | None = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "relationships", b"relationships"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___GetObjectRelationshipsResponse: _TypeAlias = GetObjectRelationshipsResponse # noqa: Y015 + +@_typing.final +class Feature(_message.Message): """Feature messages""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - NAME_FIELD_NUMBER: builtins.int - FEATURE_VIEW_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - OWNER_FIELD_NUMBER: builtins.int - CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - name: builtins.str - feature_view: builtins.str - type: builtins.str - description: builtins.str - owner: builtins.str - @property - def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - def __init__( - self, - *, - name: builtins.str = ..., - feature_view: builtins.str = ..., - type: builtins.str = ..., - description: builtins.str = ..., - owner: builtins.str = ..., - created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "description", b"description", "feature_view", b"feature_view", "last_updated_timestamp", b"last_updated_timestamp", "name", b"name", "owner", b"owner", "tags", b"tags", "type", b"type"]) -> None: ... - -global___Feature = Feature - -class ListFeaturesRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - PROJECT_FIELD_NUMBER: builtins.int - FEATURE_VIEW_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - SORTING_FIELD_NUMBER: builtins.int - project: builtins.str - feature_view: builtins.str - name: builtins.str - allow_cache: builtins.bool - @property - def pagination(self) -> global___PaginationParams: ... - @property - def sorting(self) -> global___SortingParams: ... - def __init__( - self, - *, - project: builtins.str = ..., - feature_view: builtins.str = ..., - name: builtins.str = ..., - allow_cache: builtins.bool = ..., - pagination: global___PaginationParams | None = ..., - sorting: global___SortingParams | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "feature_view", b"feature_view", "name", b"name", "pagination", b"pagination", "project", b"project", "sorting", b"sorting"]) -> None: ... - -global___ListFeaturesRequest = ListFeaturesRequest - -class ListFeaturesResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - FEATURES_FIELD_NUMBER: builtins.int - PAGINATION_FIELD_NUMBER: builtins.int - @property - def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Feature]: ... - @property - def pagination(self) -> global___PaginationMetadata: ... - def __init__( - self, - *, - features: collections.abc.Iterable[global___Feature] | None = ..., - pagination: global___PaginationMetadata | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["features", b"features", "pagination", b"pagination"]) -> None: ... - -global___ListFeaturesResponse = ListFeaturesResponse - -class GetFeatureRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - PROJECT_FIELD_NUMBER: builtins.int - FEATURE_VIEW_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - ALLOW_CACHE_FIELD_NUMBER: builtins.int - project: builtins.str - feature_view: builtins.str - name: builtins.str - allow_cache: builtins.bool - def __init__( - self, - *, - project: builtins.str = ..., - feature_view: builtins.str = ..., - name: builtins.str = ..., - allow_cache: builtins.bool = ..., + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + NAME_FIELD_NUMBER: _builtins.int + FEATURE_VIEW_FIELD_NUMBER: _builtins.int + TYPE_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + OWNER_FIELD_NUMBER: _builtins.int + CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + name: _builtins.str + feature_view: _builtins.str + type: _builtins.str + description: _builtins.str + owner: _builtins.str + @_builtins.property + def created_timestamp(self) -> _timestamp_pb2.Timestamp: ... + @_builtins.property + def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: ... + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + def __init__( + self, + *, + name: _builtins.str = ..., + feature_view: _builtins.str = ..., + type: _builtins.str = ..., + description: _builtins.str = ..., + owner: _builtins.str = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "description", b"description", "feature_view", b"feature_view", "last_updated_timestamp", b"last_updated_timestamp", "name", b"name", "owner", b"owner", "tags", b"tags", "type", b"type"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___Feature: _TypeAlias = Feature # noqa: Y015 + +@_typing.final +class ListFeaturesRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + PROJECT_FIELD_NUMBER: _builtins.int + FEATURE_VIEW_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + SORTING_FIELD_NUMBER: _builtins.int + project: _builtins.str + feature_view: _builtins.str + name: _builtins.str + allow_cache: _builtins.bool + @_builtins.property + def pagination(self) -> Global___PaginationParams: ... + @_builtins.property + def sorting(self) -> Global___SortingParams: ... + def __init__( + self, + *, + project: _builtins.str = ..., + feature_view: _builtins.str = ..., + name: _builtins.str = ..., + allow_cache: _builtins.bool = ..., + pagination: Global___PaginationParams | None = ..., + sorting: Global___SortingParams | None = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "feature_view", b"feature_view", "name", b"name", "pagination", b"pagination", "project", b"project", "sorting", b"sorting"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ListFeaturesRequest: _TypeAlias = ListFeaturesRequest # noqa: Y015 + +@_typing.final +class ListFeaturesResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + FEATURES_FIELD_NUMBER: _builtins.int + PAGINATION_FIELD_NUMBER: _builtins.int + @_builtins.property + def features(self) -> _containers.RepeatedCompositeFieldContainer[Global___Feature]: ... + @_builtins.property + def pagination(self) -> Global___PaginationMetadata: ... + def __init__( + self, + *, + features: _abc.Iterable[Global___Feature] | None = ..., + pagination: Global___PaginationMetadata | None = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["features", b"features", "pagination", b"pagination"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ListFeaturesResponse: _TypeAlias = ListFeaturesResponse # noqa: Y015 + +@_typing.final +class GetFeatureRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + PROJECT_FIELD_NUMBER: _builtins.int + FEATURE_VIEW_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + ALLOW_CACHE_FIELD_NUMBER: _builtins.int + project: _builtins.str + feature_view: _builtins.str + name: _builtins.str + allow_cache: _builtins.bool + def __init__( + self, + *, + project: _builtins.str = ..., + feature_view: _builtins.str = ..., + name: _builtins.str = ..., + allow_cache: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "feature_view", b"feature_view", "name", b"name", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "feature_view", b"feature_view", "name", b"name", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetFeatureRequest = GetFeatureRequest +Global___GetFeatureRequest: _TypeAlias = GetFeatureRequest # noqa: Y015 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 84de666b6b..48a5c750ae 100644 --- a/sdk/python/feast/protos/feast/registry/RegistryServer_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2_grpc.py @@ -1,6 +1,7 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from feast.protos.feast.core import DataSource_pb2 as feast_dot_core_dot_DataSource__pb2 from feast.protos.feast.core import Entity_pb2 as feast_dot_core_dot_Entity__pb2 @@ -17,6 +18,25 @@ from feast.protos.feast.registry import RegistryServer_pb2 as feast_dot_registry_dot_RegistryServer__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 +GRPC_GENERATED_VERSION = '1.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in feast/registry/RegistryServer_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class RegistryServerStub(object): """Missing associated documentation comment in .proto file.""" @@ -31,247 +51,247 @@ def __init__(self, channel): '/feast.registry.RegistryServer/ApplyEntity', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyEntityRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetEntity = channel.unary_unary( '/feast.registry.RegistryServer/GetEntity', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetEntityRequest.SerializeToString, response_deserializer=feast_dot_core_dot_Entity__pb2.Entity.FromString, - ) + _registered_method=True) self.ListEntities = channel.unary_unary( '/feast.registry.RegistryServer/ListEntities', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListEntitiesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListEntitiesResponse.FromString, - ) + _registered_method=True) self.DeleteEntity = channel.unary_unary( '/feast.registry.RegistryServer/DeleteEntity', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteEntityRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplyDataSource = channel.unary_unary( '/feast.registry.RegistryServer/ApplyDataSource', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyDataSourceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetDataSource = channel.unary_unary( '/feast.registry.RegistryServer/GetDataSource', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetDataSourceRequest.SerializeToString, response_deserializer=feast_dot_core_dot_DataSource__pb2.DataSource.FromString, - ) + _registered_method=True) self.ListDataSources = channel.unary_unary( '/feast.registry.RegistryServer/ListDataSources', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListDataSourcesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListDataSourcesResponse.FromString, - ) + _registered_method=True) self.DeleteDataSource = channel.unary_unary( '/feast.registry.RegistryServer/DeleteDataSource', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteDataSourceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplyFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/ApplyFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyFeatureViewRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.DeleteFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/DeleteFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteFeatureViewRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetAnyFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/GetAnyFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetAnyFeatureViewRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.GetAnyFeatureViewResponse.FromString, - ) + _registered_method=True) self.ListAllFeatureViews = channel.unary_unary( '/feast.registry.RegistryServer/ListAllFeatureViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListAllFeatureViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListAllFeatureViewsResponse.FromString, - ) + _registered_method=True) self.GetFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/GetFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetFeatureViewRequest.SerializeToString, response_deserializer=feast_dot_core_dot_FeatureView__pb2.FeatureView.FromString, - ) + _registered_method=True) self.ListFeatureViews = channel.unary_unary( '/feast.registry.RegistryServer/ListFeatureViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeatureViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeatureViewsResponse.FromString, - ) + _registered_method=True) self.GetStreamFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/GetStreamFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetStreamFeatureViewRequest.SerializeToString, response_deserializer=feast_dot_core_dot_StreamFeatureView__pb2.StreamFeatureView.FromString, - ) + _registered_method=True) self.ListStreamFeatureViews = channel.unary_unary( '/feast.registry.RegistryServer/ListStreamFeatureViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListStreamFeatureViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListStreamFeatureViewsResponse.FromString, - ) + _registered_method=True) self.GetOnDemandFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/GetOnDemandFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetOnDemandFeatureViewRequest.SerializeToString, response_deserializer=feast_dot_core_dot_OnDemandFeatureView__pb2.OnDemandFeatureView.FromString, - ) + _registered_method=True) self.ListOnDemandFeatureViews = channel.unary_unary( '/feast.registry.RegistryServer/ListOnDemandFeatureViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListOnDemandFeatureViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListOnDemandFeatureViewsResponse.FromString, - ) + _registered_method=True) self.ApplyFeatureService = channel.unary_unary( '/feast.registry.RegistryServer/ApplyFeatureService', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyFeatureServiceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetFeatureService = channel.unary_unary( '/feast.registry.RegistryServer/GetFeatureService', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetFeatureServiceRequest.SerializeToString, response_deserializer=feast_dot_core_dot_FeatureService__pb2.FeatureService.FromString, - ) + _registered_method=True) self.ListFeatureServices = channel.unary_unary( '/feast.registry.RegistryServer/ListFeatureServices', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeatureServicesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeatureServicesResponse.FromString, - ) + _registered_method=True) self.DeleteFeatureService = channel.unary_unary( '/feast.registry.RegistryServer/DeleteFeatureService', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteFeatureServiceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplySavedDataset = channel.unary_unary( '/feast.registry.RegistryServer/ApplySavedDataset', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplySavedDatasetRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetSavedDataset = channel.unary_unary( '/feast.registry.RegistryServer/GetSavedDataset', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetSavedDatasetRequest.SerializeToString, response_deserializer=feast_dot_core_dot_SavedDataset__pb2.SavedDataset.FromString, - ) + _registered_method=True) self.ListSavedDatasets = channel.unary_unary( '/feast.registry.RegistryServer/ListSavedDatasets', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListSavedDatasetsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListSavedDatasetsResponse.FromString, - ) + _registered_method=True) self.DeleteSavedDataset = channel.unary_unary( '/feast.registry.RegistryServer/DeleteSavedDataset', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteSavedDatasetRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplyValidationReference = channel.unary_unary( '/feast.registry.RegistryServer/ApplyValidationReference', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyValidationReferenceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetValidationReference = channel.unary_unary( '/feast.registry.RegistryServer/GetValidationReference', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetValidationReferenceRequest.SerializeToString, response_deserializer=feast_dot_core_dot_ValidationProfile__pb2.ValidationReference.FromString, - ) + _registered_method=True) self.ListValidationReferences = channel.unary_unary( '/feast.registry.RegistryServer/ListValidationReferences', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListValidationReferencesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListValidationReferencesResponse.FromString, - ) + _registered_method=True) self.DeleteValidationReference = channel.unary_unary( '/feast.registry.RegistryServer/DeleteValidationReference', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteValidationReferenceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplyPermission = channel.unary_unary( '/feast.registry.RegistryServer/ApplyPermission', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyPermissionRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetPermission = channel.unary_unary( '/feast.registry.RegistryServer/GetPermission', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetPermissionRequest.SerializeToString, response_deserializer=feast_dot_core_dot_Permission__pb2.Permission.FromString, - ) + _registered_method=True) self.ListPermissions = channel.unary_unary( '/feast.registry.RegistryServer/ListPermissions', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListPermissionsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListPermissionsResponse.FromString, - ) + _registered_method=True) self.DeletePermission = channel.unary_unary( '/feast.registry.RegistryServer/DeletePermission', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeletePermissionRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplyProject = channel.unary_unary( '/feast.registry.RegistryServer/ApplyProject', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyProjectRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetProject = channel.unary_unary( '/feast.registry.RegistryServer/GetProject', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetProjectRequest.SerializeToString, response_deserializer=feast_dot_core_dot_Project__pb2.Project.FromString, - ) + _registered_method=True) self.ListProjects = channel.unary_unary( '/feast.registry.RegistryServer/ListProjects', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListProjectsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListProjectsResponse.FromString, - ) + _registered_method=True) self.DeleteProject = channel.unary_unary( '/feast.registry.RegistryServer/DeleteProject', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteProjectRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ApplyMaterialization = channel.unary_unary( '/feast.registry.RegistryServer/ApplyMaterialization', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyMaterializationRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.ListProjectMetadata = channel.unary_unary( '/feast.registry.RegistryServer/ListProjectMetadata', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListProjectMetadataRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListProjectMetadataResponse.FromString, - ) + _registered_method=True) self.UpdateInfra = channel.unary_unary( '/feast.registry.RegistryServer/UpdateInfra', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.UpdateInfraRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.GetInfra = channel.unary_unary( '/feast.registry.RegistryServer/GetInfra', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetInfraRequest.SerializeToString, response_deserializer=feast_dot_core_dot_InfraObject__pb2.Infra.FromString, - ) + _registered_method=True) self.Commit = channel.unary_unary( '/feast.registry.RegistryServer/Commit', request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.Refresh = channel.unary_unary( '/feast.registry.RegistryServer/Refresh', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.RefreshRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - ) + _registered_method=True) self.Proto = channel.unary_unary( '/feast.registry.RegistryServer/Proto', request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, response_deserializer=feast_dot_core_dot_Registry__pb2.Registry.FromString, - ) + _registered_method=True) 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): @@ -836,6 +856,7 @@ def add_RegistryServerServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'feast.registry.RegistryServer', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('feast.registry.RegistryServer', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -853,11 +874,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, @@ -870,11 +901,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, @@ -887,11 +928,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, @@ -904,11 +955,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, @@ -921,11 +982,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, @@ -938,11 +1009,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, @@ -955,11 +1036,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, @@ -972,11 +1063,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, @@ -989,11 +1090,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, @@ -1006,11 +1117,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, @@ -1023,11 +1144,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, @@ -1040,11 +1171,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, @@ -1057,11 +1198,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, @@ -1074,11 +1225,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, @@ -1091,11 +1252,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, @@ -1108,11 +1279,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, @@ -1125,11 +1306,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, @@ -1142,11 +1333,21 @@ def ListOnDemandFeatureViews(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/ListOnDemandFeatureViews', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/ListOnDemandFeatureViews', feast_dot_registry_dot_RegistryServer__pb2.ListOnDemandFeatureViewsRequest.SerializeToString, feast_dot_registry_dot_RegistryServer__pb2.ListOnDemandFeatureViewsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ApplyFeatureService(request, @@ -1159,11 +1360,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, @@ -1176,11 +1387,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, @@ -1193,11 +1414,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, @@ -1210,11 +1441,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, @@ -1227,11 +1468,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, @@ -1244,11 +1495,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, @@ -1261,11 +1522,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, @@ -1278,11 +1549,21 @@ def DeleteSavedDataset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.registry.RegistryServer/DeleteSavedDataset', + return grpc.experimental.unary_unary( + request, + target, + '/feast.registry.RegistryServer/DeleteSavedDataset', feast_dot_registry_dot_RegistryServer__pb2.DeleteSavedDatasetRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ApplyValidationReference(request, @@ -1295,11 +1576,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, @@ -1312,11 +1603,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, @@ -1329,11 +1630,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, @@ -1346,11 +1657,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, @@ -1363,11 +1684,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, @@ -1380,11 +1711,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, @@ -1397,11 +1738,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, @@ -1414,11 +1765,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, @@ -1431,11 +1792,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, @@ -1448,11 +1819,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, @@ -1465,11 +1846,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, @@ -1482,11 +1873,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, @@ -1499,11 +1900,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, @@ -1516,11 +1927,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, @@ -1533,11 +1954,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, @@ -1550,11 +1981,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, @@ -1567,11 +2008,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, @@ -1584,11 +2035,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, @@ -1601,11 +2062,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, @@ -1618,11 +2089,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, @@ -1635,11 +2116,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, @@ -1652,11 +2143,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, @@ -1669,8 +2170,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 b38471dea8..570522155f 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/serving/Connector_pb2.pyi index f87109e0fa..2c5e8c34eb 100644 --- a/sdk/python/feast/protos/feast/serving/Connector_pb2.pyi +++ b/sdk/python/feast/protos/feast/serving/Connector_pb2.pyi @@ -2,96 +2,107 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ -import builtins -import collections.abc -import feast.serving.ServingService_pb2 -import feast.types.EntityKey_pb2 -import feast.types.Value_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from feast.serving import ServingService_pb2 as _ServingService_pb2 +from feast.types import EntityKey_pb2 as _EntityKey_pb2 +from feast.types import Value_pb2 as _Value_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class ConnectorFeature(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ConnectorFeature(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - REFERENCE_FIELD_NUMBER: builtins.int - TIMESTAMP_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - @property - def reference(self) -> feast.serving.ServingService_pb2.FeatureReferenceV2: ... - @property - def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def value(self) -> feast.types.Value_pb2.Value: ... + REFERENCE_FIELD_NUMBER: _builtins.int + TIMESTAMP_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + @_builtins.property + def reference(self) -> _ServingService_pb2.FeatureReferenceV2: ... + @_builtins.property + def timestamp(self) -> _timestamp_pb2.Timestamp: ... + @_builtins.property + def value(self) -> _Value_pb2.Value: ... def __init__( self, *, - reference: feast.serving.ServingService_pb2.FeatureReferenceV2 | None = ..., - timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - value: feast.types.Value_pb2.Value | None = ..., + reference: _ServingService_pb2.FeatureReferenceV2 | None = ..., + timestamp: _timestamp_pb2.Timestamp | None = ..., + value: _Value_pb2.Value | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["reference", b"reference", "timestamp", b"timestamp", "value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["reference", b"reference", "timestamp", b"timestamp", "value", b"value"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["reference", b"reference", "timestamp", b"timestamp", "value", b"value"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["reference", b"reference", "timestamp", b"timestamp", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ConnectorFeature = ConnectorFeature +Global___ConnectorFeature: _TypeAlias = ConnectorFeature # noqa: Y015 -class ConnectorFeatureList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ConnectorFeatureList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - FEATURELIST_FIELD_NUMBER: builtins.int - @property - def featureList(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ConnectorFeature]: ... + FEATURELIST_FIELD_NUMBER: _builtins.int + @_builtins.property + def featureList(self) -> _containers.RepeatedCompositeFieldContainer[Global___ConnectorFeature]: ... def __init__( self, *, - featureList: collections.abc.Iterable[global___ConnectorFeature] | None = ..., + featureList: _abc.Iterable[Global___ConnectorFeature] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["featureList", b"featureList"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["featureList", b"featureList"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ConnectorFeatureList = ConnectorFeatureList +Global___ConnectorFeatureList: _TypeAlias = ConnectorFeatureList # noqa: Y015 -class OnlineReadRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class OnlineReadRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - ENTITYKEYS_FIELD_NUMBER: builtins.int - VIEW_FIELD_NUMBER: builtins.int - FEATURES_FIELD_NUMBER: builtins.int - @property - def entityKeys(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.types.EntityKey_pb2.EntityKey]: ... - view: builtins.str - @property - def features(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + ENTITYKEYS_FIELD_NUMBER: _builtins.int + VIEW_FIELD_NUMBER: _builtins.int + FEATURES_FIELD_NUMBER: _builtins.int + view: _builtins.str + @_builtins.property + def entityKeys(self) -> _containers.RepeatedCompositeFieldContainer[_EntityKey_pb2.EntityKey]: ... + @_builtins.property + def features(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... def __init__( self, *, - entityKeys: collections.abc.Iterable[feast.types.EntityKey_pb2.EntityKey] | None = ..., - view: builtins.str = ..., - features: collections.abc.Iterable[builtins.str] | None = ..., + entityKeys: _abc.Iterable[_EntityKey_pb2.EntityKey] | None = ..., + view: _builtins.str = ..., + features: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["entityKeys", b"entityKeys", "features", b"features", "view", b"view"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["entityKeys", b"entityKeys", "features", b"features", "view", b"view"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___OnlineReadRequest = OnlineReadRequest +Global___OnlineReadRequest: _TypeAlias = OnlineReadRequest # noqa: Y015 -class OnlineReadResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class OnlineReadResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - RESULTS_FIELD_NUMBER: builtins.int - @property - def results(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ConnectorFeatureList]: ... + RESULTS_FIELD_NUMBER: _builtins.int + @_builtins.property + def results(self) -> _containers.RepeatedCompositeFieldContainer[Global___ConnectorFeatureList]: ... def __init__( self, *, - results: collections.abc.Iterable[global___ConnectorFeatureList] | None = ..., + results: _abc.Iterable[Global___ConnectorFeatureList] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["results", b"results"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["results", b"results"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___OnlineReadResponse = OnlineReadResponse +Global___OnlineReadResponse: _TypeAlias = OnlineReadResponse # noqa: Y015 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 dfadf982dd..38cefe43dc 100644 --- a/sdk/python/feast/protos/feast/serving/Connector_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/Connector_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from feast.protos.feast.serving import Connector_pb2 as feast_dot_serving_dot_Connector__pb2 +GRPC_GENERATED_VERSION = '1.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in feast/serving/Connector_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class OnlineStoreStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,7 +38,7 @@ def __init__(self, channel): '/grpc.connector.OnlineStore/OnlineRead', request_serializer=feast_dot_serving_dot_Connector__pb2.OnlineReadRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_Connector__pb2.OnlineReadResponse.FromString, - ) + _registered_method=True) class OnlineStoreServicer(object): @@ -42,6 +62,7 @@ def add_OnlineStoreServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'grpc.connector.OnlineStore', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('grpc.connector.OnlineStore', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -59,8 +80,18 @@ def OnlineRead(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/grpc.connector.OnlineStore/OnlineRead', + return grpc.experimental.unary_unary( + request, + target, + '/grpc.connector.OnlineStore/OnlineRead', feast_dot_serving_dot_Connector__pb2.OnlineReadRequest.SerializeToString, feast_dot_serving_dot_Connector__pb2.OnlineReadResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py index dcf9156318..8019e22f12 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py @@ -1,44 +1,63 @@ # -*- 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.31.1 """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, + 31, + 1, + '', + 'feast/serving/GrpcServer.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from feast.protos.feast.serving import ServingService_pb2 as feast_dot_serving_dot_ServingService__pb2 +from feast.protos.feast.types import Value_pb2 as feast_dot_types_dot_Value__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x66\x65\x61st/serving/GrpcServer.proto\x1a\"feast/serving/ServingService.proto\"\xb3\x01\n\x0bPushRequest\x12,\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x1a.PushRequest.FeaturesEntry\x12\x1b\n\x13stream_feature_view\x18\x02 \x01(\t\x12\x1c\n\x14\x61llow_registry_cache\x18\x03 \x01(\x08\x12\n\n\x02to\x18\x04 \x01(\t\x1a/\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1e\n\x0cPushResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\"\xc1\x01\n\x19WriteToOnlineStoreRequest\x12:\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32(.WriteToOnlineStoreRequest.FeaturesEntry\x12\x19\n\x11\x66\x65\x61ture_view_name\x18\x02 \x01(\t\x12\x1c\n\x14\x61llow_registry_cache\x18\x03 \x01(\x08\x1a/\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\",\n\x1aWriteToOnlineStoreResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\x32\xf1\x01\n\x11GrpcFeatureServer\x12%\n\x04Push\x12\x0c.PushRequest\x1a\r.PushResponse\"\x00\x12M\n\x12WriteToOnlineStore\x12\x1a.WriteToOnlineStoreRequest\x1a\x1b.WriteToOnlineStoreResponse\x12\x66\n\x11GetOnlineFeatures\x12\'.feast.serving.GetOnlineFeaturesRequest\x1a(.feast.serving.GetOnlineFeaturesResponseB]\n\x13\x66\x65\x61st.proto.servingB\x12GrpcServerAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/servingb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x66\x65\x61st/serving/GrpcServer.proto\x1a\"feast/serving/ServingService.proto\x1a\x17\x66\x65\x61st/types/Value.proto\"\xb6\x02\n\x0bPushRequest\x12,\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x1a.PushRequest.FeaturesEntry\x12\x1b\n\x13stream_feature_view\x18\x02 \x01(\t\x12\x1c\n\x14\x61llow_registry_cache\x18\x03 \x01(\x08\x12\n\n\x02to\x18\x04 \x01(\t\x12\x37\n\x0etyped_features\x18\x05 \x03(\x0b\x32\x1f.PushRequest.TypedFeaturesEntry\x1a/\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aH\n\x12TypedFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.feast.types.Value:\x02\x38\x01\"\x1e\n\x0cPushResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\"\xd2\x02\n\x19WriteToOnlineStoreRequest\x12:\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32(.WriteToOnlineStoreRequest.FeaturesEntry\x12\x19\n\x11\x66\x65\x61ture_view_name\x18\x02 \x01(\t\x12\x1c\n\x14\x61llow_registry_cache\x18\x03 \x01(\x08\x12\x45\n\x0etyped_features\x18\x04 \x03(\x0b\x32-.WriteToOnlineStoreRequest.TypedFeaturesEntry\x1a/\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aH\n\x12TypedFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.feast.types.Value:\x02\x38\x01\",\n\x1aWriteToOnlineStoreResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\x32\xf1\x01\n\x11GrpcFeatureServer\x12%\n\x04Push\x12\x0c.PushRequest\x1a\r.PushResponse\"\x00\x12M\n\x12WriteToOnlineStore\x12\x1a.WriteToOnlineStoreRequest\x1a\x1b.WriteToOnlineStoreResponse\x12\x66\n\x11GetOnlineFeatures\x12\'.feast.serving.GetOnlineFeaturesRequest\x1a(.feast.serving.GetOnlineFeaturesResponseB]\n\x13\x66\x65\x61st.proto.servingB\x12GrpcServerAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/servingb\x06proto3') _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['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._options = None + _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._loaded_options = None + _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._serialized_options = b'8\001' + _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._loaded_options = None _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_options = b'8\001' - _globals['_PUSHREQUEST']._serialized_start=71 - _globals['_PUSHREQUEST']._serialized_end=250 - _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_start=203 - _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_end=250 - _globals['_PUSHRESPONSE']._serialized_start=252 - _globals['_PUSHRESPONSE']._serialized_end=282 - _globals['_WRITETOONLINESTOREREQUEST']._serialized_start=285 - _globals['_WRITETOONLINESTOREREQUEST']._serialized_end=478 - _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_start=203 - _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_end=250 - _globals['_WRITETOONLINESTORERESPONSE']._serialized_start=480 - _globals['_WRITETOONLINESTORERESPONSE']._serialized_end=524 - _globals['_GRPCFEATURESERVER']._serialized_start=527 - _globals['_GRPCFEATURESERVER']._serialized_end=768 + _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._loaded_options = None + _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._serialized_options = b'8\001' + _globals['_PUSHREQUEST']._serialized_start=96 + _globals['_PUSHREQUEST']._serialized_end=406 + _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_start=285 + _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_end=332 + _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._serialized_start=334 + _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._serialized_end=406 + _globals['_PUSHRESPONSE']._serialized_start=408 + _globals['_PUSHRESPONSE']._serialized_end=438 + _globals['_WRITETOONLINESTOREREQUEST']._serialized_start=441 + _globals['_WRITETOONLINESTOREREQUEST']._serialized_end=779 + _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_start=285 + _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_end=332 + _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._serialized_start=334 + _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._serialized_end=406 + _globals['_WRITETOONLINESTORERESPONSE']._serialized_start=781 + _globals['_WRITETOONLINESTORERESPONSE']._serialized_end=825 + _globals['_GRPCFEATURESERVER']._serialized_start=828 + _globals['_GRPCFEATURESERVER']._serialized_end=1069 # @@protoc_insertion_point(module_scope) diff --git a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi index 54964f46e5..ccb171c91a 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi @@ -2,119 +2,182 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ -import builtins -import collections.abc -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message + +from collections import abc as _abc +from feast.types import Value_pb2 as _Value_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class PushRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class PushRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class FeaturesEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class FeaturesEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str + def __init__( + self, + *, + key: _builtins.str = ..., + value: _builtins.str = ..., + ) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + @_typing.final + class TypedFeaturesEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + @_builtins.property + def value(self) -> _Value_pb2.Value: ... def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _Value_pb2.Value | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - FEATURES_FIELD_NUMBER: builtins.int - STREAM_FEATURE_VIEW_FIELD_NUMBER: builtins.int - ALLOW_REGISTRY_CACHE_FIELD_NUMBER: builtins.int - TO_FIELD_NUMBER: builtins.int - @property - def features(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - stream_feature_view: builtins.str - allow_registry_cache: builtins.bool - to: builtins.str + _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + FEATURES_FIELD_NUMBER: _builtins.int + STREAM_FEATURE_VIEW_FIELD_NUMBER: _builtins.int + ALLOW_REGISTRY_CACHE_FIELD_NUMBER: _builtins.int + TO_FIELD_NUMBER: _builtins.int + TYPED_FEATURES_FIELD_NUMBER: _builtins.int + stream_feature_view: _builtins.str + allow_registry_cache: _builtins.bool + to: _builtins.str + @_builtins.property + def features(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def typed_features(self) -> _containers.MessageMap[_builtins.str, _Value_pb2.Value]: ... def __init__( self, *, - features: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - stream_feature_view: builtins.str = ..., - allow_registry_cache: builtins.bool = ..., - to: builtins.str = ..., + features: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + stream_feature_view: _builtins.str = ..., + allow_registry_cache: _builtins.bool = ..., + to: _builtins.str = ..., + typed_features: _abc.Mapping[_builtins.str, _Value_pb2.Value] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_registry_cache", b"allow_registry_cache", "features", b"features", "stream_feature_view", b"stream_feature_view", "to", b"to"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_registry_cache", b"allow_registry_cache", "features", b"features", "stream_feature_view", b"stream_feature_view", "to", b"to", "typed_features", b"typed_features"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___PushRequest = PushRequest +Global___PushRequest: _TypeAlias = PushRequest # noqa: Y015 -class PushResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class PushResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - STATUS_FIELD_NUMBER: builtins.int - status: builtins.bool + STATUS_FIELD_NUMBER: _builtins.int + status: _builtins.bool def __init__( self, *, - status: builtins.bool = ..., + status: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["status", b"status"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["status", b"status"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___PushResponse = PushResponse +Global___PushResponse: _TypeAlias = PushResponse # noqa: Y015 -class WriteToOnlineStoreRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class WriteToOnlineStoreRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class FeaturesEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class FeaturesEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str + def __init__( + self, + *, + key: _builtins.str = ..., + value: _builtins.str = ..., + ) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + @_typing.final + class TypedFeaturesEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + @_builtins.property + def value(self) -> _Value_pb2.Value: ... def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _Value_pb2.Value | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - FEATURES_FIELD_NUMBER: builtins.int - FEATURE_VIEW_NAME_FIELD_NUMBER: builtins.int - ALLOW_REGISTRY_CACHE_FIELD_NUMBER: builtins.int - @property - def features(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - feature_view_name: builtins.str - allow_registry_cache: builtins.bool + _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + FEATURES_FIELD_NUMBER: _builtins.int + FEATURE_VIEW_NAME_FIELD_NUMBER: _builtins.int + ALLOW_REGISTRY_CACHE_FIELD_NUMBER: _builtins.int + TYPED_FEATURES_FIELD_NUMBER: _builtins.int + feature_view_name: _builtins.str + allow_registry_cache: _builtins.bool + @_builtins.property + def features(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def typed_features(self) -> _containers.MessageMap[_builtins.str, _Value_pb2.Value]: ... def __init__( self, *, - features: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - feature_view_name: builtins.str = ..., - allow_registry_cache: builtins.bool = ..., + features: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + feature_view_name: _builtins.str = ..., + allow_registry_cache: _builtins.bool = ..., + typed_features: _abc.Mapping[_builtins.str, _Value_pb2.Value] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_registry_cache", b"allow_registry_cache", "feature_view_name", b"feature_view_name", "features", b"features"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_registry_cache", b"allow_registry_cache", "feature_view_name", b"feature_view_name", "features", b"features", "typed_features", b"typed_features"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___WriteToOnlineStoreRequest = WriteToOnlineStoreRequest +Global___WriteToOnlineStoreRequest: _TypeAlias = WriteToOnlineStoreRequest # noqa: Y015 -class WriteToOnlineStoreResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class WriteToOnlineStoreResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - STATUS_FIELD_NUMBER: builtins.int - status: builtins.bool + STATUS_FIELD_NUMBER: _builtins.int + status: _builtins.bool def __init__( self, *, - status: builtins.bool = ..., + status: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["status", b"status"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["status", b"status"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___WriteToOnlineStoreResponse = WriteToOnlineStoreResponse +Global___WriteToOnlineStoreResponse: _TypeAlias = WriteToOnlineStoreResponse # noqa: Y015 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 b381cc0f41..ead1995046 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2_grpc.py @@ -1,10 +1,30 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from feast.protos.feast.serving import GrpcServer_pb2 as feast_dot_serving_dot_GrpcServer__pb2 from feast.protos.feast.serving import ServingService_pb2 as feast_dot_serving_dot_ServingService__pb2 +GRPC_GENERATED_VERSION = '1.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in feast/serving/GrpcServer_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class GrpcFeatureServerStub(object): """Missing associated documentation comment in .proto file.""" @@ -19,17 +39,17 @@ def __init__(self, channel): '/GrpcFeatureServer/Push', request_serializer=feast_dot_serving_dot_GrpcServer__pb2.PushRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_GrpcServer__pb2.PushResponse.FromString, - ) + _registered_method=True) self.WriteToOnlineStore = channel.unary_unary( '/GrpcFeatureServer/WriteToOnlineStore', request_serializer=feast_dot_serving_dot_GrpcServer__pb2.WriteToOnlineStoreRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_GrpcServer__pb2.WriteToOnlineStoreResponse.FromString, - ) + _registered_method=True) self.GetOnlineFeatures = channel.unary_unary( '/GrpcFeatureServer/GetOnlineFeatures', request_serializer=feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesResponse.FromString, - ) + _registered_method=True) class GrpcFeatureServerServicer(object): @@ -75,6 +95,7 @@ def add_GrpcFeatureServerServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'GrpcFeatureServer', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('GrpcFeatureServer', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -92,11 +113,21 @@ def Push(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/GrpcFeatureServer/Push', + return grpc.experimental.unary_unary( + request, + target, + '/GrpcFeatureServer/Push', feast_dot_serving_dot_GrpcServer__pb2.PushRequest.SerializeToString, feast_dot_serving_dot_GrpcServer__pb2.PushResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteToOnlineStore(request, @@ -109,11 +140,21 @@ def WriteToOnlineStore(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/GrpcFeatureServer/WriteToOnlineStore', + return grpc.experimental.unary_unary( + request, + target, + '/GrpcFeatureServer/WriteToOnlineStore', feast_dot_serving_dot_GrpcServer__pb2.WriteToOnlineStoreRequest.SerializeToString, feast_dot_serving_dot_GrpcServer__pb2.WriteToOnlineStoreResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetOnlineFeatures(request, @@ -126,8 +167,18 @@ def GetOnlineFeatures(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/GrpcFeatureServer/GetOnlineFeatures', + return grpc.experimental.unary_unary( + request, + target, + '/GrpcFeatureServer/GetOnlineFeatures', feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesRequest.SerializeToString, feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/sdk/python/feast/protos/feast/serving/ServingService_pb2.py b/sdk/python/feast/protos/feast/serving/ServingService_pb2.py index fa86664057..c56555baef 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.31.1 """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, + 31, + 1, + '', + 'feast/serving/ServingService.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,14 +31,14 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.serving.ServingService_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\023feast.proto.servingB\017ServingAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/serving' - _globals['_GETONLINEFEATURESREQUESTV2_ENTITYROW_FIELDSENTRY']._options = None + _globals['_GETONLINEFEATURESREQUESTV2_ENTITYROW_FIELDSENTRY']._loaded_options = None _globals['_GETONLINEFEATURESREQUESTV2_ENTITYROW_FIELDSENTRY']._serialized_options = b'8\001' - _globals['_GETONLINEFEATURESREQUEST_ENTITIESENTRY']._options = None + _globals['_GETONLINEFEATURESREQUEST_ENTITIESENTRY']._loaded_options = None _globals['_GETONLINEFEATURESREQUEST_ENTITIESENTRY']._serialized_options = b'8\001' - _globals['_GETONLINEFEATURESREQUEST_REQUESTCONTEXTENTRY']._options = None + _globals['_GETONLINEFEATURESREQUEST_REQUESTCONTEXTENTRY']._loaded_options = None _globals['_GETONLINEFEATURESREQUEST_REQUESTCONTEXTENTRY']._serialized_options = b'8\001' _globals['_FIELDSTATUS']._serialized_start=1560 _globals['_FIELDSTATUS']._serialized_end=1651 diff --git a/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi b/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi index 3c5e57ae45..da627653ff 100644 --- a/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi +++ b/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi @@ -16,30 +16,31 @@ 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 -import collections.abc -import feast.types.Value_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message -import google.protobuf.timestamp_pb2 + +from collections import abc as _abc +from feast.types import Value_pb2 as _Value_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +import builtins as _builtins import sys -import typing +import typing as _typing if sys.version_info >= (3, 10): - import typing as typing_extensions + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor class _FieldStatus: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 -class _FieldStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_FieldStatus.ValueType], builtins.type): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor +class _FieldStatusEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_FieldStatus.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor INVALID: _FieldStatus.ValueType # 0 """Status is unset for this field.""" PRESENT: _FieldStatus.ValueType # 1 @@ -77,271 +78,312 @@ OUTSIDE_MAX_AGE: FieldStatus.ValueType # 4 """Values could be found for entity key, but field values are outside the maximum allowable range. """ -global___FieldStatus = FieldStatus +Global___FieldStatus: _TypeAlias = FieldStatus # noqa: Y015 -class GetFeastServingInfoRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetFeastServingInfoRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor def __init__( self, ) -> None: ... -global___GetFeastServingInfoRequest = GetFeastServingInfoRequest +Global___GetFeastServingInfoRequest: _TypeAlias = GetFeastServingInfoRequest # noqa: Y015 -class GetFeastServingInfoResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetFeastServingInfoResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VERSION_FIELD_NUMBER: builtins.int - version: builtins.str + VERSION_FIELD_NUMBER: _builtins.int + version: _builtins.str """Feast version of this serving deployment.""" def __init__( self, *, - version: builtins.str = ..., + version: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["version", b"version"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["version", b"version"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetFeastServingInfoResponse = GetFeastServingInfoResponse +Global___GetFeastServingInfoResponse: _TypeAlias = GetFeastServingInfoResponse # noqa: Y015 -class FeatureReferenceV2(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureReferenceV2(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - FEATURE_VIEW_NAME_FIELD_NUMBER: builtins.int - FEATURE_NAME_FIELD_NUMBER: builtins.int - feature_view_name: builtins.str + FEATURE_VIEW_NAME_FIELD_NUMBER: _builtins.int + FEATURE_NAME_FIELD_NUMBER: _builtins.int + feature_view_name: _builtins.str """Name of the Feature View to retrieve the feature from.""" - feature_name: builtins.str + feature_name: _builtins.str """Name of the Feature to retrieve the feature from.""" def __init__( self, *, - feature_view_name: builtins.str = ..., - feature_name: builtins.str = ..., + feature_view_name: _builtins.str = ..., + feature_name: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["feature_name", b"feature_name", "feature_view_name", b"feature_view_name"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_name", b"feature_name", "feature_view_name", b"feature_view_name"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureReferenceV2 = FeatureReferenceV2 +Global___FeatureReferenceV2: _TypeAlias = FeatureReferenceV2 # noqa: Y015 -class GetOnlineFeaturesRequestV2(google.protobuf.message.Message): +@_typing.final +class GetOnlineFeaturesRequestV2(_message.Message): """ToDo (oleksii): remove this message (since it's not used) and move EntityRow on package level""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - class EntityRow(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class EntityRow(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class FieldsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class FieldsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> feast.types.Value_pb2.Value: ... + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + @_builtins.property + def value(self) -> _Value_pb2.Value: ... def __init__( self, *, - key: builtins.str = ..., - value: feast.types.Value_pb2.Value | None = ..., + key: _builtins.str = ..., + value: _Value_pb2.Value | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - TIMESTAMP_FIELD_NUMBER: builtins.int - FIELDS_FIELD_NUMBER: builtins.int - @property - def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + TIMESTAMP_FIELD_NUMBER: _builtins.int + FIELDS_FIELD_NUMBER: _builtins.int + @_builtins.property + def timestamp(self) -> _timestamp_pb2.Timestamp: """Request timestamp of this row. This value will be used, together with maxAge, to determine feature staleness. """ - @property - def fields(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, feast.types.Value_pb2.Value]: + + @_builtins.property + def fields(self) -> _containers.MessageMap[_builtins.str, _Value_pb2.Value]: """Map containing mapping of entity name to entity value.""" + def __init__( self, *, - timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - fields: collections.abc.Mapping[builtins.str, feast.types.Value_pb2.Value] | None = ..., + timestamp: _timestamp_pb2.Timestamp | None = ..., + fields: _abc.Mapping[_builtins.str, _Value_pb2.Value] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["timestamp", b"timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["fields", b"fields", "timestamp", b"timestamp"]) -> None: ... - - FEATURES_FIELD_NUMBER: builtins.int - ENTITY_ROWS_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - @property - def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FeatureReferenceV2]: + _HasFieldArgType: _TypeAlias = _typing.Literal["timestamp", b"timestamp"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["fields", b"fields", "timestamp", b"timestamp"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + FEATURES_FIELD_NUMBER: _builtins.int + ENTITY_ROWS_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + project: _builtins.str + """Optional field to specify project name override. If specified, uses the + given project for retrieval. Overrides the projects specified in + Feature References if both are specified. + """ + @_builtins.property + def features(self) -> _containers.RepeatedCompositeFieldContainer[Global___FeatureReferenceV2]: """List of features that are being retrieved""" - @property - def entity_rows(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GetOnlineFeaturesRequestV2.EntityRow]: + + @_builtins.property + def entity_rows(self) -> _containers.RepeatedCompositeFieldContainer[Global___GetOnlineFeaturesRequestV2.EntityRow]: """List of entity rows, containing entity id and timestamp data. Used during retrieval of feature rows and for joining feature rows into a final dataset """ - project: builtins.str - """Optional field to specify project name override. If specified, uses the - given project for retrieval. Overrides the projects specified in - Feature References if both are specified. - """ + def __init__( self, *, - features: collections.abc.Iterable[global___FeatureReferenceV2] | None = ..., - entity_rows: collections.abc.Iterable[global___GetOnlineFeaturesRequestV2.EntityRow] | None = ..., - project: builtins.str = ..., + features: _abc.Iterable[Global___FeatureReferenceV2] | None = ..., + entity_rows: _abc.Iterable[Global___GetOnlineFeaturesRequestV2.EntityRow] | None = ..., + project: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["entity_rows", b"entity_rows", "features", b"features", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["entity_rows", b"entity_rows", "features", b"features", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetOnlineFeaturesRequestV2 = GetOnlineFeaturesRequestV2 +Global___GetOnlineFeaturesRequestV2: _TypeAlias = GetOnlineFeaturesRequestV2 # noqa: Y015 -class FeatureList(google.protobuf.message.Message): +@_typing.final +class FeatureList(_message.Message): """In JSON "val" field can be omitted""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.str] | None = ..., + val: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureList = FeatureList +Global___FeatureList: _TypeAlias = FeatureList # noqa: Y015 -class GetOnlineFeaturesRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetOnlineFeaturesRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class EntitiesEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class EntitiesEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> feast.types.Value_pb2.RepeatedValue: ... + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + @_builtins.property + def value(self) -> _Value_pb2.RepeatedValue: ... def __init__( self, *, - key: builtins.str = ..., - value: feast.types.Value_pb2.RepeatedValue | None = ..., + key: _builtins.str = ..., + value: _Value_pb2.RepeatedValue | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class RequestContextEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> feast.types.Value_pb2.RepeatedValue: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + @_typing.final + class RequestContextEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + @_builtins.property + def value(self) -> _Value_pb2.RepeatedValue: ... def __init__( self, *, - key: builtins.str = ..., - value: feast.types.Value_pb2.RepeatedValue | None = ..., + key: _builtins.str = ..., + value: _Value_pb2.RepeatedValue | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - FEATURE_SERVICE_FIELD_NUMBER: builtins.int - FEATURES_FIELD_NUMBER: builtins.int - ENTITIES_FIELD_NUMBER: builtins.int - FULL_FEATURE_NAMES_FIELD_NUMBER: builtins.int - REQUEST_CONTEXT_FIELD_NUMBER: builtins.int - feature_service: builtins.str - @property - def features(self) -> global___FeatureList: ... - @property - def entities(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, feast.types.Value_pb2.RepeatedValue]: + _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + FEATURE_SERVICE_FIELD_NUMBER: _builtins.int + FEATURES_FIELD_NUMBER: _builtins.int + ENTITIES_FIELD_NUMBER: _builtins.int + FULL_FEATURE_NAMES_FIELD_NUMBER: _builtins.int + REQUEST_CONTEXT_FIELD_NUMBER: _builtins.int + feature_service: _builtins.str + full_feature_names: _builtins.bool + @_builtins.property + def features(self) -> Global___FeatureList: ... + @_builtins.property + def entities(self) -> _containers.MessageMap[_builtins.str, _Value_pb2.RepeatedValue]: """The entity data is specified in a columnar format A map of entity name -> list of values """ - full_feature_names: builtins.bool - @property - def request_context(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, feast.types.Value_pb2.RepeatedValue]: + + @_builtins.property + def request_context(self) -> _containers.MessageMap[_builtins.str, _Value_pb2.RepeatedValue]: """Context for OnDemand Feature Transformation (was moved to dedicated parameter to avoid unnecessary separation logic on serving side) A map of variable name -> list of values """ + def __init__( self, *, - feature_service: builtins.str = ..., - features: global___FeatureList | None = ..., - entities: collections.abc.Mapping[builtins.str, feast.types.Value_pb2.RepeatedValue] | None = ..., - full_feature_names: builtins.bool = ..., - request_context: collections.abc.Mapping[builtins.str, feast.types.Value_pb2.RepeatedValue] | None = ..., + feature_service: _builtins.str = ..., + features: Global___FeatureList | None = ..., + entities: _abc.Mapping[_builtins.str, _Value_pb2.RepeatedValue] | None = ..., + full_feature_names: _builtins.bool = ..., + request_context: _abc.Mapping[_builtins.str, _Value_pb2.RepeatedValue] | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["feature_service", b"feature_service", "features", b"features", "kind", b"kind"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["entities", b"entities", "feature_service", b"feature_service", "features", b"features", "full_feature_names", b"full_feature_names", "kind", b"kind", "request_context", b"request_context"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["kind", b"kind"]) -> typing_extensions.Literal["feature_service", "features"] | None: ... - -global___GetOnlineFeaturesRequest = GetOnlineFeaturesRequest - -class GetOnlineFeaturesResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - class FeatureVector(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - VALUES_FIELD_NUMBER: builtins.int - STATUSES_FIELD_NUMBER: builtins.int - EVENT_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]: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["feature_service", b"feature_service", "features", b"features", "kind", b"kind"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["entities", b"entities", "feature_service", b"feature_service", "features", b"features", "full_feature_names", b"full_feature_names", "kind", b"kind", "request_context", b"request_context"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_kind: _TypeAlias = _typing.Literal["feature_service", "features"] # noqa: Y015 + _WhichOneofArgType_kind: _TypeAlias = _typing.Literal["kind", b"kind"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_kind) -> _WhichOneofReturnType_kind | None: ... + +Global___GetOnlineFeaturesRequest: _TypeAlias = GetOnlineFeaturesRequest # noqa: Y015 + +@_typing.final +class GetOnlineFeaturesResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + @_typing.final + class FeatureVector(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + VALUES_FIELD_NUMBER: _builtins.int + STATUSES_FIELD_NUMBER: _builtins.int + EVENT_TIMESTAMPS_FIELD_NUMBER: _builtins.int + @_builtins.property + def values(self) -> _containers.RepeatedCompositeFieldContainer[_Value_pb2.Value]: ... + @_builtins.property + def statuses(self) -> _containers.RepeatedScalarFieldContainer[Global___FieldStatus.ValueType]: ... + @_builtins.property + def event_timestamps(self) -> _containers.RepeatedCompositeFieldContainer[_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 = ..., + values: _abc.Iterable[_Value_pb2.Value] | None = ..., + statuses: _abc.Iterable[Global___FieldStatus.ValueType] | None = ..., + event_timestamps: _abc.Iterable[_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: ... - - METADATA_FIELD_NUMBER: builtins.int - RESULTS_FIELD_NUMBER: builtins.int - STATUS_FIELD_NUMBER: builtins.int - @property - def metadata(self) -> global___GetOnlineFeaturesResponseMetadata: ... - @property - def results(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GetOnlineFeaturesResponse.FeatureVector]: + _ClearFieldArgType: _TypeAlias = _typing.Literal["event_timestamps", b"event_timestamps", "statuses", b"statuses", "values", b"values"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + METADATA_FIELD_NUMBER: _builtins.int + RESULTS_FIELD_NUMBER: _builtins.int + STATUS_FIELD_NUMBER: _builtins.int + status: _builtins.bool + @_builtins.property + def metadata(self) -> Global___GetOnlineFeaturesResponseMetadata: ... + @_builtins.property + def results(self) -> _containers.RepeatedCompositeFieldContainer[Global___GetOnlineFeaturesResponse.FeatureVector]: """Length of "results" array should match length of requested features. We also preserve the same order of features here as in metadata.feature_names """ - status: builtins.bool + def __init__( self, *, - metadata: global___GetOnlineFeaturesResponseMetadata | None = ..., - results: collections.abc.Iterable[global___GetOnlineFeaturesResponse.FeatureVector] | None = ..., - status: builtins.bool = ..., + metadata: Global___GetOnlineFeaturesResponseMetadata | None = ..., + results: _abc.Iterable[Global___GetOnlineFeaturesResponse.FeatureVector] | None = ..., + status: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["metadata", b"metadata", "results", b"results", "status", b"status"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["metadata", b"metadata"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["metadata", b"metadata", "results", b"results", "status", b"status"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetOnlineFeaturesResponse = GetOnlineFeaturesResponse +Global___GetOnlineFeaturesResponse: _TypeAlias = GetOnlineFeaturesResponse # noqa: Y015 -class GetOnlineFeaturesResponseMetadata(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetOnlineFeaturesResponseMetadata(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - FEATURE_NAMES_FIELD_NUMBER: builtins.int - @property - def feature_names(self) -> global___FeatureList: ... + FEATURE_NAMES_FIELD_NUMBER: _builtins.int + @_builtins.property + def feature_names(self) -> Global___FeatureList: ... def __init__( self, *, - feature_names: global___FeatureList | None = ..., + feature_names: Global___FeatureList | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["feature_names", b"feature_names"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["feature_names", b"feature_names"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["feature_names", b"feature_names"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_names", b"feature_names"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GetOnlineFeaturesResponseMetadata = GetOnlineFeaturesResponseMetadata +Global___GetOnlineFeaturesResponseMetadata: _TypeAlias = GetOnlineFeaturesResponseMetadata # noqa: Y015 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 d3cd055f66..b894e029b7 100644 --- a/sdk/python/feast/protos/feast/serving/ServingService_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/ServingService_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from feast.protos.feast.serving import ServingService_pb2 as feast_dot_serving_dot_ServingService__pb2 +GRPC_GENERATED_VERSION = '1.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in feast/serving/ServingService_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class ServingServiceStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,12 +38,12 @@ def __init__(self, channel): '/feast.serving.ServingService/GetFeastServingInfo', request_serializer=feast_dot_serving_dot_ServingService__pb2.GetFeastServingInfoRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_ServingService__pb2.GetFeastServingInfoResponse.FromString, - ) + _registered_method=True) self.GetOnlineFeatures = channel.unary_unary( '/feast.serving.ServingService/GetOnlineFeatures', request_serializer=feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesResponse.FromString, - ) + _registered_method=True) class ServingServiceServicer(object): @@ -60,6 +80,7 @@ def add_ServingServiceServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'feast.serving.ServingService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('feast.serving.ServingService', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -77,11 +98,21 @@ def GetFeastServingInfo(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.serving.ServingService/GetFeastServingInfo', + return grpc.experimental.unary_unary( + request, + target, + '/feast.serving.ServingService/GetFeastServingInfo', feast_dot_serving_dot_ServingService__pb2.GetFeastServingInfoRequest.SerializeToString, feast_dot_serving_dot_ServingService__pb2.GetFeastServingInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetOnlineFeatures(request, @@ -94,8 +125,18 @@ def GetOnlineFeatures(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.serving.ServingService/GetOnlineFeatures', + return grpc.experimental.unary_unary( + request, + target, + '/feast.serving.ServingService/GetOnlineFeatures', feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesRequest.SerializeToString, feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/sdk/python/feast/protos/feast/serving/TransformationService_pb2.py b/sdk/python/feast/protos/feast/serving/TransformationService_pb2.py index bc060e9a77..80311650f6 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/serving/TransformationService_pb2.pyi index 3e0752b7bd..f21ebfd05f 100644 --- a/sdk/python/feast/protos/feast/serving/TransformationService_pb2.pyi +++ b/sdk/python/feast/protos/feast/serving/TransformationService_pb2.pyi @@ -16,26 +16,27 @@ 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 -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message + +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +import builtins as _builtins import sys -import typing +import typing as _typing if sys.version_info >= (3, 10): - import typing as typing_extensions + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor class _TransformationServiceType: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 -class _TransformationServiceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TransformationServiceType.ValueType], builtins.type): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor +class _TransformationServiceTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_TransformationServiceType.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor TRANSFORMATION_SERVICE_TYPE_INVALID: _TransformationServiceType.ValueType # 0 TRANSFORMATION_SERVICE_TYPE_PYTHON: _TransformationServiceType.ValueType # 1 TRANSFORMATION_SERVICE_TYPE_CUSTOM: _TransformationServiceType.ValueType # 100 @@ -45,92 +46,106 @@ class TransformationServiceType(_TransformationServiceType, metaclass=_Transform TRANSFORMATION_SERVICE_TYPE_INVALID: TransformationServiceType.ValueType # 0 TRANSFORMATION_SERVICE_TYPE_PYTHON: TransformationServiceType.ValueType # 1 TRANSFORMATION_SERVICE_TYPE_CUSTOM: TransformationServiceType.ValueType # 100 -global___TransformationServiceType = TransformationServiceType +Global___TransformationServiceType: _TypeAlias = TransformationServiceType # noqa: Y015 -class ValueType(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ValueType(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - ARROW_VALUE_FIELD_NUMBER: builtins.int - arrow_value: builtins.bytes + ARROW_VALUE_FIELD_NUMBER: _builtins.int + arrow_value: _builtins.bytes """Having a oneOf provides forward compatibility if we need to support compound types that are not supported by arrow natively. """ def __init__( self, *, - arrow_value: builtins.bytes = ..., + arrow_value: _builtins.bytes = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["arrow_value", b"arrow_value", "value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["arrow_value", b"arrow_value", "value", b"value"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["value", b"value"]) -> typing_extensions.Literal["arrow_value"] | None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["arrow_value", b"arrow_value", "value", b"value"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["arrow_value", b"arrow_value", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_value: _TypeAlias = _typing.Literal["arrow_value"] # noqa: Y015 + _WhichOneofArgType_value: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_value) -> _WhichOneofReturnType_value | None: ... -global___ValueType = ValueType +Global___ValueType: _TypeAlias = ValueType # noqa: Y015 -class GetTransformationServiceInfoRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetTransformationServiceInfoRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor def __init__( self, ) -> None: ... -global___GetTransformationServiceInfoRequest = GetTransformationServiceInfoRequest +Global___GetTransformationServiceInfoRequest: _TypeAlias = GetTransformationServiceInfoRequest # noqa: Y015 -class GetTransformationServiceInfoResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GetTransformationServiceInfoResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VERSION_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TRANSFORMATION_SERVICE_TYPE_DETAILS_FIELD_NUMBER: builtins.int - version: builtins.str + VERSION_FIELD_NUMBER: _builtins.int + TYPE_FIELD_NUMBER: _builtins.int + TRANSFORMATION_SERVICE_TYPE_DETAILS_FIELD_NUMBER: _builtins.int + version: _builtins.str """Feast version of this transformation service deployment.""" - type: global___TransformationServiceType.ValueType + type: Global___TransformationServiceType.ValueType """Type of transformation service deployment. This is either Python, or custom""" - transformation_service_type_details: builtins.str + transformation_service_type_details: _builtins.str def __init__( self, *, - version: builtins.str = ..., - type: global___TransformationServiceType.ValueType = ..., - transformation_service_type_details: builtins.str = ..., + version: _builtins.str = ..., + type: Global___TransformationServiceType.ValueType = ..., + transformation_service_type_details: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["transformation_service_type_details", b"transformation_service_type_details", "type", b"type", "version", b"version"]) -> None: ... - -global___GetTransformationServiceInfoResponse = GetTransformationServiceInfoResponse - -class TransformFeaturesRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - ON_DEMAND_FEATURE_VIEW_NAME_FIELD_NUMBER: builtins.int - PROJECT_FIELD_NUMBER: builtins.int - TRANSFORMATION_INPUT_FIELD_NUMBER: builtins.int - on_demand_feature_view_name: builtins.str - project: builtins.str - @property - def transformation_input(self) -> global___ValueType: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["transformation_service_type_details", b"transformation_service_type_details", "type", b"type", "version", b"version"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___GetTransformationServiceInfoResponse: _TypeAlias = GetTransformationServiceInfoResponse # noqa: Y015 + +@_typing.final +class TransformFeaturesRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + ON_DEMAND_FEATURE_VIEW_NAME_FIELD_NUMBER: _builtins.int + PROJECT_FIELD_NUMBER: _builtins.int + TRANSFORMATION_INPUT_FIELD_NUMBER: _builtins.int + on_demand_feature_view_name: _builtins.str + project: _builtins.str + @_builtins.property + def transformation_input(self) -> Global___ValueType: ... def __init__( self, *, - on_demand_feature_view_name: builtins.str = ..., - project: builtins.str = ..., - transformation_input: global___ValueType | None = ..., + on_demand_feature_view_name: _builtins.str = ..., + project: _builtins.str = ..., + transformation_input: Global___ValueType | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["transformation_input", b"transformation_input"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["on_demand_feature_view_name", b"on_demand_feature_view_name", "project", b"project", "transformation_input", b"transformation_input"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["transformation_input", b"transformation_input"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["on_demand_feature_view_name", b"on_demand_feature_view_name", "project", b"project", "transformation_input", b"transformation_input"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___TransformFeaturesRequest = TransformFeaturesRequest +Global___TransformFeaturesRequest: _TypeAlias = TransformFeaturesRequest # noqa: Y015 -class TransformFeaturesResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class TransformFeaturesResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - TRANSFORMATION_OUTPUT_FIELD_NUMBER: builtins.int - @property - def transformation_output(self) -> global___ValueType: ... + TRANSFORMATION_OUTPUT_FIELD_NUMBER: _builtins.int + @_builtins.property + def transformation_output(self) -> Global___ValueType: ... def __init__( self, *, - transformation_output: global___ValueType | None = ..., + transformation_output: Global___ValueType | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["transformation_output", b"transformation_output"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["transformation_output", b"transformation_output"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["transformation_output", b"transformation_output"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["transformation_output", b"transformation_output"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___TransformFeaturesResponse = TransformFeaturesResponse +Global___TransformFeaturesResponse: _TypeAlias = TransformFeaturesResponse # noqa: Y015 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 30099e39ca..c6922c3b6d 100644 --- a/sdk/python/feast/protos/feast/serving/TransformationService_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/TransformationService_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from feast.protos.feast.serving import TransformationService_pb2 as feast_dot_serving_dot_TransformationService__pb2 +GRPC_GENERATED_VERSION = '1.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in feast/serving/TransformationService_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class TransformationServiceStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,12 +38,12 @@ def __init__(self, channel): '/feast.serving.TransformationService/GetTransformationServiceInfo', request_serializer=feast_dot_serving_dot_TransformationService__pb2.GetTransformationServiceInfoRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_TransformationService__pb2.GetTransformationServiceInfoResponse.FromString, - ) + _registered_method=True) self.TransformFeatures = channel.unary_unary( '/feast.serving.TransformationService/TransformFeatures', request_serializer=feast_dot_serving_dot_TransformationService__pb2.TransformFeaturesRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_TransformationService__pb2.TransformFeaturesResponse.FromString, - ) + _registered_method=True) class TransformationServiceServicer(object): @@ -58,6 +78,7 @@ def add_TransformationServiceServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'feast.serving.TransformationService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('feast.serving.TransformationService', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -75,11 +96,21 @@ def GetTransformationServiceInfo(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.serving.TransformationService/GetTransformationServiceInfo', + return grpc.experimental.unary_unary( + request, + target, + '/feast.serving.TransformationService/GetTransformationServiceInfo', feast_dot_serving_dot_TransformationService__pb2.GetTransformationServiceInfoRequest.SerializeToString, feast_dot_serving_dot_TransformationService__pb2.GetTransformationServiceInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def TransformFeatures(request, @@ -92,8 +123,18 @@ def TransformFeatures(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/feast.serving.TransformationService/TransformFeatures', + return grpc.experimental.unary_unary( + request, + target, + '/feast.serving.TransformationService/TransformFeatures', feast_dot_serving_dot_TransformationService__pb2.TransformFeaturesRequest.SerializeToString, feast_dot_serving_dot_TransformationService__pb2.TransformFeaturesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/sdk/python/feast/protos/feast/storage/Redis_pb2.py b/sdk/python/feast/protos/feast/storage/Redis_pb2.py index 37d59c9df5..a64d778b66 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/storage/Redis_pb2.pyi index 74cc2b07f0..906e4d7076 100644 --- a/sdk/python/feast/protos/feast/storage/Redis_pb2.pyi +++ b/sdk/python/feast/protos/feast/storage/Redis_pb2.pyi @@ -16,39 +16,43 @@ 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 -import collections.abc -import feast.types.Value_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message + +from collections import abc as _abc +from feast.types import Value_pb2 as _Value_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions - -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor - -class RedisKeyV2(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - PROJECT_FIELD_NUMBER: builtins.int - ENTITY_NAMES_FIELD_NUMBER: builtins.int - ENTITY_VALUES_FIELD_NUMBER: builtins.int - project: builtins.str - @property - def entity_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def entity_values(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.types.Value_pb2.Value]: ... + from typing_extensions import TypeAlias as _TypeAlias + +DESCRIPTOR: _descriptor.FileDescriptor + +@_typing.final +class RedisKeyV2(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + PROJECT_FIELD_NUMBER: _builtins.int + ENTITY_NAMES_FIELD_NUMBER: _builtins.int + ENTITY_VALUES_FIELD_NUMBER: _builtins.int + project: _builtins.str + @_builtins.property + def entity_names(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... + @_builtins.property + def entity_values(self) -> _containers.RepeatedCompositeFieldContainer[_Value_pb2.Value]: ... def __init__( self, *, - project: builtins.str = ..., - entity_names: collections.abc.Iterable[builtins.str] | None = ..., - entity_values: collections.abc.Iterable[feast.types.Value_pb2.Value] | None = ..., + project: _builtins.str = ..., + entity_names: _abc.Iterable[_builtins.str] | None = ..., + entity_values: _abc.Iterable[_Value_pb2.Value] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["entity_names", b"entity_names", "entity_values", b"entity_values", "project", b"project"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["entity_names", b"entity_names", "entity_values", b"entity_values", "project", b"project"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___RedisKeyV2 = RedisKeyV2 +Global___RedisKeyV2: _TypeAlias = RedisKeyV2 # noqa: Y015 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 2daafffebf..2028d0c48f 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 a6e1abf730..a24dbc1fe0 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/types/EntityKey_pb2.pyi index fe65e0c1b3..1570e2853a 100644 --- a/sdk/python/feast/protos/feast/types/EntityKey_pb2.pyi +++ b/sdk/python/feast/protos/feast/types/EntityKey_pb2.pyi @@ -16,36 +16,40 @@ 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 -import collections.abc -import feast.types.Value_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message + +from collections import abc as _abc +from feast.types import Value_pb2 as _Value_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class EntityKey(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class EntityKey(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - JOIN_KEYS_FIELD_NUMBER: builtins.int - ENTITY_VALUES_FIELD_NUMBER: builtins.int - @property - def join_keys(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def entity_values(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.types.Value_pb2.Value]: ... + JOIN_KEYS_FIELD_NUMBER: _builtins.int + ENTITY_VALUES_FIELD_NUMBER: _builtins.int + @_builtins.property + def join_keys(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... + @_builtins.property + def entity_values(self) -> _containers.RepeatedCompositeFieldContainer[_Value_pb2.Value]: ... def __init__( self, *, - join_keys: collections.abc.Iterable[builtins.str] | None = ..., - entity_values: collections.abc.Iterable[feast.types.Value_pb2.Value] | None = ..., + join_keys: _abc.Iterable[_builtins.str] | None = ..., + entity_values: _abc.Iterable[_Value_pb2.Value] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["entity_values", b"entity_values", "join_keys", b"join_keys"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["entity_values", b"entity_values", "join_keys", b"join_keys"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___EntityKey = EntityKey +Global___EntityKey: _TypeAlias = EntityKey # noqa: Y015 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 2daafffebf..ef29c13a2e 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 973fdc6cde..2bea843772 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.31.1 """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, + 31, + 1, + '', + '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.pyi b/sdk/python/feast/protos/feast/types/Field_pb2.pyi index 28a2194237..76b7c33250 100644 --- a/sdk/python/feast/protos/feast/types/Field_pb2.pyi +++ b/sdk/python/feast/protos/feast/types/Field_pb2.pyi @@ -16,58 +16,65 @@ 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 -import collections.abc -import feast.types.Value_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message + +from collections import abc as _abc +from feast.types import Value_pb2 as _Value_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins import sys +import typing as _typing -if sys.version_info >= (3, 8): - import typing as typing_extensions +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor -class Field(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Field(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class TagsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class TagsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - NAME_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - TAGS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - name: builtins.str - value: feast.types.Value_pb2.ValueType.Enum.ValueType - @property - def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: - """Tags for user defined metadata on a field""" - description: builtins.str + NAME_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + TAGS_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + name: _builtins.str + value: _Value_pb2.ValueType.Enum.ValueType + description: _builtins.str """Description of the field.""" + @_builtins.property + def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + """Tags for user defined metadata on a field""" + def __init__( self, *, - name: builtins.str = ..., - value: feast.types.Value_pb2.ValueType.Enum.ValueType = ..., - tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - description: builtins.str = ..., + name: _builtins.str = ..., + value: _Value_pb2.ValueType.Enum.ValueType = ..., + tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + description: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name", "tags", b"tags", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "name", b"name", "tags", b"tags", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Field = Field +Global___Field: _TypeAlias = Field # noqa: Y015 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 2daafffebf..a294775a43 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' 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 5edd8c5bde..0b3c4adb38 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.31.1 """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, + 31, + 1, + '', + '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=2373 _globals['_NULL']._serialized_end=2389 diff --git a/sdk/python/feast/protos/feast/types/Value_pb2.pyi b/sdk/python/feast/protos/feast/types/Value_pb2.pyi index 64079291f4..abd3fcc81c 100644 --- a/sdk/python/feast/protos/feast/types/Value_pb2.pyi +++ b/sdk/python/feast/protos/feast/types/Value_pb2.pyi @@ -16,44 +16,46 @@ 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 -import collections.abc -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message + +from collections import abc as _abc +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +import builtins as _builtins import sys -import typing +import typing as _typing if sys.version_info >= (3, 10): - import typing as typing_extensions + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor class _Null: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 -class _NullEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Null.ValueType], builtins.type): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor +class _NullEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_Null.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor NULL: _Null.ValueType # 0 class Null(_Null, metaclass=_NullEnumTypeWrapper): ... NULL: Null.ValueType # 0 -global___Null = Null +Global___Null: _TypeAlias = Null # noqa: Y015 -class ValueType(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ValueType(_message.Message): + DESCRIPTOR: _descriptor.Descriptor class _Enum: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 - class _EnumEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ValueType._Enum.ValueType], builtins.type): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + class _EnumEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[ValueType._Enum.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor INVALID: ValueType._Enum.ValueType # 0 BYTES: ValueType._Enum.ValueType # 1 STRING: ValueType._Enum.ValueType # 2 @@ -125,407 +127,449 @@ class ValueType(google.protobuf.message.Message): self, ) -> None: ... -global___ValueType = ValueType - -class Value(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - BYTES_VAL_FIELD_NUMBER: builtins.int - STRING_VAL_FIELD_NUMBER: builtins.int - INT32_VAL_FIELD_NUMBER: builtins.int - INT64_VAL_FIELD_NUMBER: builtins.int - DOUBLE_VAL_FIELD_NUMBER: builtins.int - FLOAT_VAL_FIELD_NUMBER: builtins.int - BOOL_VAL_FIELD_NUMBER: builtins.int - UNIX_TIMESTAMP_VAL_FIELD_NUMBER: builtins.int - BYTES_LIST_VAL_FIELD_NUMBER: builtins.int - STRING_LIST_VAL_FIELD_NUMBER: builtins.int - INT32_LIST_VAL_FIELD_NUMBER: builtins.int - INT64_LIST_VAL_FIELD_NUMBER: builtins.int - DOUBLE_LIST_VAL_FIELD_NUMBER: builtins.int - FLOAT_LIST_VAL_FIELD_NUMBER: builtins.int - BOOL_LIST_VAL_FIELD_NUMBER: builtins.int - UNIX_TIMESTAMP_LIST_VAL_FIELD_NUMBER: builtins.int - NULL_VAL_FIELD_NUMBER: builtins.int - MAP_VAL_FIELD_NUMBER: builtins.int - MAP_LIST_VAL_FIELD_NUMBER: builtins.int - BYTES_SET_VAL_FIELD_NUMBER: builtins.int - STRING_SET_VAL_FIELD_NUMBER: builtins.int - INT32_SET_VAL_FIELD_NUMBER: builtins.int - INT64_SET_VAL_FIELD_NUMBER: builtins.int - DOUBLE_SET_VAL_FIELD_NUMBER: builtins.int - FLOAT_SET_VAL_FIELD_NUMBER: builtins.int - BOOL_SET_VAL_FIELD_NUMBER: builtins.int - UNIX_TIMESTAMP_SET_VAL_FIELD_NUMBER: builtins.int - JSON_VAL_FIELD_NUMBER: builtins.int - JSON_LIST_VAL_FIELD_NUMBER: builtins.int - STRUCT_VAL_FIELD_NUMBER: builtins.int - STRUCT_LIST_VAL_FIELD_NUMBER: builtins.int - bytes_val: builtins.bytes - string_val: builtins.str - int32_val: builtins.int - int64_val: builtins.int - double_val: builtins.float - float_val: builtins.float - bool_val: builtins.bool - unix_timestamp_val: builtins.int - @property - def bytes_list_val(self) -> global___BytesList: ... - @property - def string_list_val(self) -> global___StringList: ... - @property - def int32_list_val(self) -> global___Int32List: ... - @property - def int64_list_val(self) -> global___Int64List: ... - @property - def double_list_val(self) -> global___DoubleList: ... - @property - def float_list_val(self) -> global___FloatList: ... - @property - def bool_list_val(self) -> global___BoolList: ... - @property - def unix_timestamp_list_val(self) -> global___Int64List: ... - null_val: global___Null.ValueType - @property - def map_val(self) -> global___Map: ... - @property - def map_list_val(self) -> global___MapList: ... - @property - def bytes_set_val(self) -> global___BytesSet: ... - @property - def string_set_val(self) -> global___StringSet: ... - @property - def int32_set_val(self) -> global___Int32Set: ... - @property - def int64_set_val(self) -> global___Int64Set: ... - @property - def double_set_val(self) -> global___DoubleSet: ... - @property - def float_set_val(self) -> global___FloatSet: ... - @property - def bool_set_val(self) -> global___BoolSet: ... - @property - def unix_timestamp_set_val(self) -> global___Int64Set: ... - json_val: builtins.str - @property - def json_list_val(self) -> global___StringList: ... - @property - def struct_val(self) -> global___Map: ... - @property - def struct_list_val(self) -> global___MapList: ... +Global___ValueType: _TypeAlias = ValueType # noqa: Y015 + +@_typing.final +class Value(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + BYTES_VAL_FIELD_NUMBER: _builtins.int + STRING_VAL_FIELD_NUMBER: _builtins.int + INT32_VAL_FIELD_NUMBER: _builtins.int + INT64_VAL_FIELD_NUMBER: _builtins.int + DOUBLE_VAL_FIELD_NUMBER: _builtins.int + FLOAT_VAL_FIELD_NUMBER: _builtins.int + BOOL_VAL_FIELD_NUMBER: _builtins.int + UNIX_TIMESTAMP_VAL_FIELD_NUMBER: _builtins.int + BYTES_LIST_VAL_FIELD_NUMBER: _builtins.int + STRING_LIST_VAL_FIELD_NUMBER: _builtins.int + INT32_LIST_VAL_FIELD_NUMBER: _builtins.int + INT64_LIST_VAL_FIELD_NUMBER: _builtins.int + DOUBLE_LIST_VAL_FIELD_NUMBER: _builtins.int + FLOAT_LIST_VAL_FIELD_NUMBER: _builtins.int + BOOL_LIST_VAL_FIELD_NUMBER: _builtins.int + UNIX_TIMESTAMP_LIST_VAL_FIELD_NUMBER: _builtins.int + NULL_VAL_FIELD_NUMBER: _builtins.int + MAP_VAL_FIELD_NUMBER: _builtins.int + MAP_LIST_VAL_FIELD_NUMBER: _builtins.int + BYTES_SET_VAL_FIELD_NUMBER: _builtins.int + STRING_SET_VAL_FIELD_NUMBER: _builtins.int + INT32_SET_VAL_FIELD_NUMBER: _builtins.int + INT64_SET_VAL_FIELD_NUMBER: _builtins.int + DOUBLE_SET_VAL_FIELD_NUMBER: _builtins.int + FLOAT_SET_VAL_FIELD_NUMBER: _builtins.int + BOOL_SET_VAL_FIELD_NUMBER: _builtins.int + UNIX_TIMESTAMP_SET_VAL_FIELD_NUMBER: _builtins.int + JSON_VAL_FIELD_NUMBER: _builtins.int + JSON_LIST_VAL_FIELD_NUMBER: _builtins.int + STRUCT_VAL_FIELD_NUMBER: _builtins.int + STRUCT_LIST_VAL_FIELD_NUMBER: _builtins.int + bytes_val: _builtins.bytes + string_val: _builtins.str + int32_val: _builtins.int + int64_val: _builtins.int + double_val: _builtins.float + float_val: _builtins.float + bool_val: _builtins.bool + unix_timestamp_val: _builtins.int + null_val: Global___Null.ValueType + json_val: _builtins.str + @_builtins.property + def bytes_list_val(self) -> Global___BytesList: ... + @_builtins.property + def string_list_val(self) -> Global___StringList: ... + @_builtins.property + def int32_list_val(self) -> Global___Int32List: ... + @_builtins.property + def int64_list_val(self) -> Global___Int64List: ... + @_builtins.property + def double_list_val(self) -> Global___DoubleList: ... + @_builtins.property + def float_list_val(self) -> Global___FloatList: ... + @_builtins.property + def bool_list_val(self) -> Global___BoolList: ... + @_builtins.property + def unix_timestamp_list_val(self) -> Global___Int64List: ... + @_builtins.property + def map_val(self) -> Global___Map: ... + @_builtins.property + def map_list_val(self) -> Global___MapList: ... + @_builtins.property + def bytes_set_val(self) -> Global___BytesSet: ... + @_builtins.property + def string_set_val(self) -> Global___StringSet: ... + @_builtins.property + def int32_set_val(self) -> Global___Int32Set: ... + @_builtins.property + def int64_set_val(self) -> Global___Int64Set: ... + @_builtins.property + def double_set_val(self) -> Global___DoubleSet: ... + @_builtins.property + def float_set_val(self) -> Global___FloatSet: ... + @_builtins.property + def bool_set_val(self) -> Global___BoolSet: ... + @_builtins.property + def unix_timestamp_set_val(self) -> Global___Int64Set: ... + @_builtins.property + def json_list_val(self) -> Global___StringList: ... + @_builtins.property + def struct_val(self) -> Global___Map: ... + @_builtins.property + def struct_list_val(self) -> Global___MapList: ... def __init__( self, *, - bytes_val: builtins.bytes = ..., - string_val: builtins.str = ..., - int32_val: builtins.int = ..., - int64_val: builtins.int = ..., - double_val: builtins.float = ..., - float_val: builtins.float = ..., - bool_val: builtins.bool = ..., - unix_timestamp_val: builtins.int = ..., - bytes_list_val: global___BytesList | None = ..., - string_list_val: global___StringList | None = ..., - int32_list_val: global___Int32List | None = ..., - int64_list_val: global___Int64List | None = ..., - double_list_val: global___DoubleList | None = ..., - float_list_val: global___FloatList | None = ..., - bool_list_val: global___BoolList | None = ..., - unix_timestamp_list_val: global___Int64List | None = ..., - null_val: global___Null.ValueType = ..., - map_val: global___Map | None = ..., - map_list_val: global___MapList | None = ..., - bytes_set_val: global___BytesSet | None = ..., - string_set_val: global___StringSet | None = ..., - int32_set_val: global___Int32Set | None = ..., - int64_set_val: global___Int64Set | None = ..., - double_set_val: global___DoubleSet | None = ..., - float_set_val: global___FloatSet | None = ..., - bool_set_val: global___BoolSet | None = ..., - unix_timestamp_set_val: global___Int64Set | None = ..., - json_val: builtins.str = ..., - json_list_val: global___StringList | None = ..., - struct_val: global___Map | None = ..., - struct_list_val: global___MapList | None = ..., + bytes_val: _builtins.bytes = ..., + string_val: _builtins.str = ..., + int32_val: _builtins.int = ..., + int64_val: _builtins.int = ..., + double_val: _builtins.float = ..., + float_val: _builtins.float = ..., + bool_val: _builtins.bool = ..., + unix_timestamp_val: _builtins.int = ..., + bytes_list_val: Global___BytesList | None = ..., + string_list_val: Global___StringList | None = ..., + int32_list_val: Global___Int32List | None = ..., + int64_list_val: Global___Int64List | None = ..., + double_list_val: Global___DoubleList | None = ..., + float_list_val: Global___FloatList | None = ..., + bool_list_val: Global___BoolList | None = ..., + unix_timestamp_list_val: Global___Int64List | None = ..., + null_val: Global___Null.ValueType = ..., + map_val: Global___Map | None = ..., + map_list_val: Global___MapList | None = ..., + bytes_set_val: Global___BytesSet | None = ..., + string_set_val: Global___StringSet | None = ..., + int32_set_val: Global___Int32Set | None = ..., + int64_set_val: Global___Int64Set | None = ..., + double_set_val: Global___DoubleSet | None = ..., + float_set_val: Global___FloatSet | None = ..., + bool_set_val: Global___BoolSet | None = ..., + unix_timestamp_set_val: Global___Int64Set | None = ..., + json_val: _builtins.str = ..., + json_list_val: Global___StringList | None = ..., + struct_val: Global___Map | None = ..., + struct_list_val: Global___MapList | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["bool_list_val", b"bool_list_val", "bool_set_val", b"bool_set_val", "bool_val", b"bool_val", "bytes_list_val", b"bytes_list_val", "bytes_set_val", b"bytes_set_val", "bytes_val", b"bytes_val", "double_list_val", b"double_list_val", "double_set_val", b"double_set_val", "double_val", b"double_val", "float_list_val", b"float_list_val", "float_set_val", b"float_set_val", "float_val", b"float_val", "int32_list_val", b"int32_list_val", "int32_set_val", b"int32_set_val", "int32_val", b"int32_val", "int64_list_val", b"int64_list_val", "int64_set_val", b"int64_set_val", "int64_val", b"int64_val", "json_list_val", b"json_list_val", "json_val", b"json_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "string_list_val", b"string_list_val", "string_set_val", b"string_set_val", "string_val", b"string_val", "struct_list_val", b"struct_list_val", "struct_val", b"struct_val", "unix_timestamp_list_val", b"unix_timestamp_list_val", "unix_timestamp_set_val", b"unix_timestamp_set_val", "unix_timestamp_val", b"unix_timestamp_val", "val", b"val"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["bool_list_val", b"bool_list_val", "bool_set_val", b"bool_set_val", "bool_val", b"bool_val", "bytes_list_val", b"bytes_list_val", "bytes_set_val", b"bytes_set_val", "bytes_val", b"bytes_val", "double_list_val", b"double_list_val", "double_set_val", b"double_set_val", "double_val", b"double_val", "float_list_val", b"float_list_val", "float_set_val", b"float_set_val", "float_val", b"float_val", "int32_list_val", b"int32_list_val", "int32_set_val", b"int32_set_val", "int32_val", b"int32_val", "int64_list_val", b"int64_list_val", "int64_set_val", b"int64_set_val", "int64_val", b"int64_val", "json_list_val", b"json_list_val", "json_val", b"json_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "string_list_val", b"string_list_val", "string_set_val", b"string_set_val", "string_val", b"string_val", "struct_list_val", b"struct_list_val", "struct_val", b"struct_val", "unix_timestamp_list_val", b"unix_timestamp_list_val", "unix_timestamp_set_val", b"unix_timestamp_set_val", "unix_timestamp_val", b"unix_timestamp_val", "val", b"val"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["val", b"val"]) -> typing_extensions.Literal["bytes_val", "string_val", "int32_val", "int64_val", "double_val", "float_val", "bool_val", "unix_timestamp_val", "bytes_list_val", "string_list_val", "int32_list_val", "int64_list_val", "double_list_val", "float_list_val", "bool_list_val", "unix_timestamp_list_val", "null_val", "map_val", "map_list_val", "bytes_set_val", "string_set_val", "int32_set_val", "int64_set_val", "double_set_val", "float_set_val", "bool_set_val", "unix_timestamp_set_val", "json_val", "json_list_val", "struct_val", "struct_list_val"] | None: ... - -global___Value = Value - -class BytesList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["bool_list_val", b"bool_list_val", "bool_set_val", b"bool_set_val", "bool_val", b"bool_val", "bytes_list_val", b"bytes_list_val", "bytes_set_val", b"bytes_set_val", "bytes_val", b"bytes_val", "double_list_val", b"double_list_val", "double_set_val", b"double_set_val", "double_val", b"double_val", "float_list_val", b"float_list_val", "float_set_val", b"float_set_val", "float_val", b"float_val", "int32_list_val", b"int32_list_val", "int32_set_val", b"int32_set_val", "int32_val", b"int32_val", "int64_list_val", b"int64_list_val", "int64_set_val", b"int64_set_val", "int64_val", b"int64_val", "json_list_val", b"json_list_val", "json_val", b"json_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "string_list_val", b"string_list_val", "string_set_val", b"string_set_val", "string_val", b"string_val", "struct_list_val", b"struct_list_val", "struct_val", b"struct_val", "unix_timestamp_list_val", b"unix_timestamp_list_val", "unix_timestamp_set_val", b"unix_timestamp_set_val", "unix_timestamp_val", b"unix_timestamp_val", "val", b"val"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["bool_list_val", b"bool_list_val", "bool_set_val", b"bool_set_val", "bool_val", b"bool_val", "bytes_list_val", b"bytes_list_val", "bytes_set_val", b"bytes_set_val", "bytes_val", b"bytes_val", "double_list_val", b"double_list_val", "double_set_val", b"double_set_val", "double_val", b"double_val", "float_list_val", b"float_list_val", "float_set_val", b"float_set_val", "float_val", b"float_val", "int32_list_val", b"int32_list_val", "int32_set_val", b"int32_set_val", "int32_val", b"int32_val", "int64_list_val", b"int64_list_val", "int64_set_val", b"int64_set_val", "int64_val", b"int64_val", "json_list_val", b"json_list_val", "json_val", b"json_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "string_list_val", b"string_list_val", "string_set_val", b"string_set_val", "string_val", b"string_val", "struct_list_val", b"struct_list_val", "struct_val", b"struct_val", "unix_timestamp_list_val", b"unix_timestamp_list_val", "unix_timestamp_set_val", b"unix_timestamp_set_val", "unix_timestamp_val", b"unix_timestamp_val", "val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType_val: _TypeAlias = _typing.Literal["bytes_val", "string_val", "int32_val", "int64_val", "double_val", "float_val", "bool_val", "unix_timestamp_val", "bytes_list_val", "string_list_val", "int32_list_val", "int64_list_val", "double_list_val", "float_list_val", "bool_list_val", "unix_timestamp_list_val", "null_val", "map_val", "map_list_val", "bytes_set_val", "string_set_val", "int32_set_val", "int64_set_val", "double_set_val", "float_set_val", "bool_set_val", "unix_timestamp_set_val", "json_val", "json_list_val", "struct_val", "struct_list_val"] # noqa: Y015 + _WhichOneofArgType_val: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType_val) -> _WhichOneofReturnType_val | None: ... + +Global___Value: _TypeAlias = Value # noqa: Y015 + +@_typing.final +class BytesList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.bytes]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.bytes] | None = ..., + val: _abc.Iterable[_builtins.bytes] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___BytesList = BytesList +Global___BytesList: _TypeAlias = BytesList # noqa: Y015 -class StringList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class StringList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.str] | None = ..., + val: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___StringList = StringList +Global___StringList: _TypeAlias = StringList # noqa: Y015 -class Int32List(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Int32List(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.int] | None = ..., + val: _abc.Iterable[_builtins.int] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Int32List = Int32List +Global___Int32List: _TypeAlias = Int32List # noqa: Y015 -class Int64List(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Int64List(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.int] | None = ..., + val: _abc.Iterable[_builtins.int] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Int64List = Int64List +Global___Int64List: _TypeAlias = Int64List # noqa: Y015 -class DoubleList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class DoubleList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.float]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.float] | None = ..., + val: _abc.Iterable[_builtins.float] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___DoubleList = DoubleList +Global___DoubleList: _TypeAlias = DoubleList # noqa: Y015 -class FloatList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FloatList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.float]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.float] | None = ..., + val: _abc.Iterable[_builtins.float] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FloatList = FloatList +Global___FloatList: _TypeAlias = FloatList # noqa: Y015 -class BoolList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class BoolList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bool]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.bool]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.bool] | None = ..., + val: _abc.Iterable[_builtins.bool] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___BoolList = BoolList +Global___BoolList: _TypeAlias = BoolList # noqa: Y015 -class BytesSet(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class BytesSet(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.bytes]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.bytes] | None = ..., + val: _abc.Iterable[_builtins.bytes] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___BytesSet = BytesSet +Global___BytesSet: _TypeAlias = BytesSet # noqa: Y015 -class StringSet(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class StringSet(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.str] | None = ..., + val: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___StringSet = StringSet +Global___StringSet: _TypeAlias = StringSet # noqa: Y015 -class Int32Set(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Int32Set(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.int] | None = ..., + val: _abc.Iterable[_builtins.int] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Int32Set = Int32Set +Global___Int32Set: _TypeAlias = Int32Set # noqa: Y015 -class Int64Set(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Int64Set(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.int] | None = ..., + val: _abc.Iterable[_builtins.int] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Int64Set = Int64Set +Global___Int64Set: _TypeAlias = Int64Set # noqa: Y015 -class DoubleSet(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class DoubleSet(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.float]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.float] | None = ..., + val: _abc.Iterable[_builtins.float] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___DoubleSet = DoubleSet +Global___DoubleSet: _TypeAlias = DoubleSet # noqa: Y015 -class FloatSet(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FloatSet(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.float]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.float] | None = ..., + val: _abc.Iterable[_builtins.float] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FloatSet = FloatSet +Global___FloatSet: _TypeAlias = FloatSet # noqa: Y015 -class BoolSet(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class BoolSet(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bool]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.bool]: ... def __init__( self, *, - val: collections.abc.Iterable[builtins.bool] | None = ..., + val: _abc.Iterable[_builtins.bool] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___BoolSet = BoolSet +Global___BoolSet: _TypeAlias = BoolSet # noqa: Y015 -class Map(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Map(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - class ValEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class ValEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> global___Value: ... + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + @_builtins.property + def value(self) -> Global___Value: ... def __init__( self, *, - key: builtins.str = ..., - value: global___Value | None = ..., + key: _builtins.str = ..., + value: Global___Value | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Value]: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.MessageMap[_builtins.str, Global___Value]: ... def __init__( self, *, - val: collections.abc.Mapping[builtins.str, global___Value] | None = ..., + val: _abc.Mapping[_builtins.str, Global___Value] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Map = Map +Global___Map: _TypeAlias = Map # noqa: Y015 -class MapList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class MapList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Map]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedCompositeFieldContainer[Global___Map]: ... def __init__( self, *, - val: collections.abc.Iterable[global___Map] | None = ..., + val: _abc.Iterable[Global___Map] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___MapList = MapList +Global___MapList: _TypeAlias = MapList # noqa: Y015 -class RepeatedValue(google.protobuf.message.Message): +@_typing.final +class RepeatedValue(_message.Message): """This is to avoid an issue of being unable to specify `repeated value` in oneofs or maps In JSON "val" field can be omitted """ - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - VAL_FIELD_NUMBER: builtins.int - @property - def val(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Value]: ... + VAL_FIELD_NUMBER: _builtins.int + @_builtins.property + def val(self) -> _containers.RepeatedCompositeFieldContainer[Global___Value]: ... def __init__( self, *, - val: collections.abc.Iterable[global___Value] | None = ..., + val: _abc.Iterable[Global___Value] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___RepeatedValue = RepeatedValue +Global___RepeatedValue: _TypeAlias = RepeatedValue # noqa: Y015 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 2daafffebf..f7b657986f 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.78.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in feast/types/Value_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/sdk/python/tests/unit/test_grpc_server_write_protos.py b/sdk/python/tests/unit/test_grpc_server_write_protos.py new file mode 100644 index 0000000000..6d18001394 --- /dev/null +++ b/sdk/python/tests/unit/test_grpc_server_write_protos.py @@ -0,0 +1,90 @@ +import pytest + +from feast.protos.feast.serving.GrpcServer_pb2 import ( + PushRequest, + WriteToOnlineStoreRequest, +) +from feast.protos.feast.types.Value_pb2 import Value + + +def test_push_request_string_features(): + request = PushRequest( + features={"driver_id": "1001", "conv_rate": "0.5"}, + stream_feature_view="driver_stats", + to="online", + ) + assert request.features["driver_id"] == "1001" + assert request.features["conv_rate"] == "0.5" + assert len(request.typed_features) == 0 + + +def test_push_request_typed_features(): + request = PushRequest( + typed_features={ + "driver_id": Value(int64_val=1001), + "conv_rate": Value(float_val=0.5), + "active": Value(bool_val=True), + "label": Value(string_val="fast"), + }, + stream_feature_view="driver_stats", + to="online", + ) + assert request.typed_features["driver_id"].int64_val == 1001 + assert request.typed_features["conv_rate"].float_val == pytest.approx(0.5) + assert request.typed_features["active"].bool_val is True + assert request.typed_features["label"].string_val == "fast" + assert len(request.features) == 0 + + +def test_push_request_typed_features_val_case(): + """WhichOneof('val') returns the correct field name for each value type.""" + cases = [ + (Value(int32_val=1), "int32_val"), + (Value(int64_val=2), "int64_val"), + (Value(float_val=1.0), "float_val"), + (Value(double_val=2.0), "double_val"), + (Value(bool_val=True), "bool_val"), + (Value(string_val="x"), "string_val"), + ] + for value, expected_case in cases: + assert value.WhichOneof("val") == expected_case + + +def test_write_to_online_store_request_string_features(): + request = WriteToOnlineStoreRequest( + features={"driver_id": "1001", "avg_daily_trips": "10"}, + feature_view_name="driver_hourly_stats", + ) + assert request.features["driver_id"] == "1001" + assert request.features["avg_daily_trips"] == "10" + assert len(request.typed_features) == 0 + + +def test_write_to_online_store_request_typed_features(): + request = WriteToOnlineStoreRequest( + typed_features={ + "driver_id": Value(int64_val=1001), + "avg_daily_trips": Value(int32_val=10), + "conv_rate": Value(float_val=0.42), + }, + feature_view_name="driver_hourly_stats", + ) + assert request.typed_features["driver_id"].int64_val == 1001 + assert request.typed_features["avg_daily_trips"].int32_val == 10 + assert request.typed_features["conv_rate"].float_val == pytest.approx(0.42) + assert len(request.features) == 0 + + +def test_push_request_string_and_typed_features_are_independent(): + """Setting features does not affect typed_features and vice versa.""" + r1 = PushRequest(features={"driver_id": "1001"}, stream_feature_view="s", to="online") + r2 = PushRequest(typed_features={"driver_id": Value(int64_val=1001)}, stream_feature_view="s", to="online") + assert len(r1.typed_features) == 0 + assert len(r2.features) == 0 + + +def test_write_to_online_store_string_and_typed_features_are_independent(): + r1 = WriteToOnlineStoreRequest(features={"driver_id": "1001"}, feature_view_name="fv") + r2 = WriteToOnlineStoreRequest(typed_features={"driver_id": Value(int64_val=1001)}, feature_view_name="fv") + assert len(r1.typed_features) == 0 + assert len(r2.features) == 0 From 51eccb7a456e536f908e63ce750a843c28d727e2 Mon Sep 17 00:00:00 2001 From: Nick Quinn Date: Mon, 16 Mar 2026 11:49:20 -0700 Subject: [PATCH 2/8] Devin feedback Signed-off-by: Nick Quinn --- sdk/python/feast/infra/contrib/grpc_server.py | 2 +- .../unit/test_grpc_server_write_protos.py | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/sdk/python/feast/infra/contrib/grpc_server.py b/sdk/python/feast/infra/contrib/grpc_server.py index d916cbd030..15d254eaaa 100644 --- a/sdk/python/feast/infra/contrib/grpc_server.py +++ b/sdk/python/feast/infra/contrib/grpc_server.py @@ -38,7 +38,7 @@ def parse_typed(typed_features): df = {} for key, value in typed_features.items(): val_case = value.WhichOneof("val") - df[key] = [getattr(value, val_case) if val_case is not None else None] + df[key] = [None if val_case is None or val_case == "null_val" else getattr(value, val_case)] return pd.DataFrame.from_dict(df) diff --git a/sdk/python/tests/unit/test_grpc_server_write_protos.py b/sdk/python/tests/unit/test_grpc_server_write_protos.py index 6d18001394..bebb59029e 100644 --- a/sdk/python/tests/unit/test_grpc_server_write_protos.py +++ b/sdk/python/tests/unit/test_grpc_server_write_protos.py @@ -1,10 +1,11 @@ import pytest +from feast.infra.contrib.grpc_server import parse_typed from feast.protos.feast.serving.GrpcServer_pb2 import ( PushRequest, WriteToOnlineStoreRequest, ) -from feast.protos.feast.types.Value_pb2 import Value +from feast.protos.feast.types.Value_pb2 import Null, Value def test_push_request_string_features(): @@ -88,3 +89,19 @@ def test_write_to_online_store_string_and_typed_features_are_independent(): r2 = WriteToOnlineStoreRequest(typed_features={"driver_id": Value(int64_val=1001)}, feature_view_name="fv") assert len(r1.typed_features) == 0 assert len(r2.features) == 0 + + +def test_parse_typed_null_val_becomes_none(): + """Value(null_val=NULL) must produce None in the DataFrame, not the integer 0.""" + df = parse_typed({ + "present": Value(int64_val=42), + "missing": Value(null_val=Null.NULL), + }) + assert df["present"].iloc[0] == 42 + assert df["missing"].iloc[0] is None + + +def test_parse_typed_unset_val_becomes_none(): + """A Value with no oneof field set (WhichOneof returns None) must also produce None.""" + df = parse_typed({"empty": Value()}) + assert df["empty"].iloc[0] is None From e597bc90615e404138577dc2df20cada29c52aad Mon Sep 17 00:00:00 2001 From: Nick Quinn Date: Mon, 16 Mar 2026 11:56:30 -0700 Subject: [PATCH 3/8] feat: Add typed_features field to grpc write request (#6117) Signed-off-by: Nick Quinn --- sdk/python/feast/infra/contrib/grpc_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/feast/infra/contrib/grpc_server.py b/sdk/python/feast/infra/contrib/grpc_server.py index 15d254eaaa..4df9b95631 100644 --- a/sdk/python/feast/infra/contrib/grpc_server.py +++ b/sdk/python/feast/infra/contrib/grpc_server.py @@ -76,7 +76,7 @@ def Push(self, request, context): f"'online_and_offline']." ) self.fs.push( - push_source_name=request.push_source_name, + push_source_name=request.stream_feature_view, df=df, allow_registry_cache=request.allow_registry_cache, to=to, From ea1fdb6d66a07235178ff6705f0213718db0f1d7 Mon Sep 17 00:00:00 2001 From: Nick Quinn Date: Mon, 16 Mar 2026 12:03:17 -0700 Subject: [PATCH 4/8] fix: Revert generated proto files to CI-compatible version Signed-off-by: Nick Quinn --- .../protos/feast/core/Aggregation_pb2.py | 20 +- .../protos/feast/core/Aggregation_pb2.pyi | 65 +- .../protos/feast/core/Aggregation_pb2_grpc.py | 20 - .../feast/protos/feast/core/DataFormat_pb2.py | 24 +- .../protos/feast/core/DataFormat_pb2.pyi | 354 +-- .../protos/feast/core/DataFormat_pb2_grpc.py | 20 - .../feast/protos/feast/core/DataSource_pb2.py | 22 +- .../protos/feast/core/DataSource_pb2.pyi | 711 ++--- .../protos/feast/core/DataSource_pb2_grpc.py | 20 - .../protos/feast/core/DatastoreTable_pb2.py | 16 +- .../protos/feast/core/DatastoreTable_pb2.pyi | 70 +- .../feast/core/DatastoreTable_pb2_grpc.py | 20 - .../feast/protos/feast/core/Entity_pb2.py | 18 +- .../feast/protos/feast/core/Entity_pb2.pyi | 181 +- .../protos/feast/core/Entity_pb2_grpc.py | 20 - .../protos/feast/core/FeatureService_pb2.py | 20 +- .../protos/feast/core/FeatureService_pb2.pyi | 444 ++- .../feast/core/FeatureService_pb2_grpc.py | 20 - .../protos/feast/core/FeatureTable_pb2.py | 18 +- .../protos/feast/core/FeatureTable_pb2.pyi | 213 +- .../feast/core/FeatureTable_pb2_grpc.py | 20 - .../feast/core/FeatureViewProjection_pb2.py | 18 +- .../feast/core/FeatureViewProjection_pb2.pyi | 123 +- .../core/FeatureViewProjection_pb2_grpc.py | 20 - .../protos/feast/core/FeatureView_pb2.py | 18 +- .../protos/feast/core/FeatureView_pb2.pyi | 335 +- .../protos/feast/core/FeatureView_pb2_grpc.py | 20 - .../feast/protos/feast/core/Feature_pb2.py | 18 +- .../feast/protos/feast/core/Feature_pb2.pyi | 99 +- .../protos/feast/core/Feature_pb2_grpc.py | 20 - .../protos/feast/core/InfraObject_pb2.py | 16 +- .../protos/feast/core/InfraObject_pb2.pyi | 104 +- .../protos/feast/core/InfraObject_pb2_grpc.py | 20 - .../feast/core/OnDemandFeatureView_pb2.py | 24 +- .../feast/core/OnDemandFeatureView_pb2.pyi | 372 +-- .../core/OnDemandFeatureView_pb2_grpc.py | 20 - .../feast/protos/feast/core/Permission_pb2.py | 20 +- .../protos/feast/core/Permission_pb2.pyi | 225 +- .../protos/feast/core/Permission_pb2_grpc.py | 20 - .../feast/protos/feast/core/Policy_pb2.py | 16 +- .../feast/protos/feast/core/Policy_pb2.pyi | 172 +- .../protos/feast/core/Policy_pb2_grpc.py | 20 - .../feast/protos/feast/core/Project_pb2.py | 18 +- .../feast/protos/feast/core/Project_pb2.pyi | 143 +- .../protos/feast/core/Project_pb2_grpc.py | 20 - .../feast/protos/feast/core/Registry_pb2.py | 18 +- .../feast/protos/feast/core/Registry_pb2.pyi | 214 +- .../protos/feast/core/Registry_pb2_grpc.py | 20 - .../protos/feast/core/SavedDataset_pb2.py | 18 +- .../protos/feast/core/SavedDataset_pb2.pyi | 299 +- .../feast/core/SavedDataset_pb2_grpc.py | 20 - .../protos/feast/core/SqliteTable_pb2.py | 16 +- .../protos/feast/core/SqliteTable_pb2.pyi | 38 +- .../protos/feast/core/SqliteTable_pb2_grpc.py | 20 - .../feast/protos/feast/core/Store_pb2.py | 16 +- .../feast/protos/feast/core/Store_pb2.pyi | 223 +- .../feast/protos/feast/core/Store_pb2_grpc.py | 20 - .../feast/core/StreamFeatureView_pb2.py | 20 +- .../feast/core/StreamFeatureView_pb2.pyi | 272 +- .../feast/core/StreamFeatureView_pb2_grpc.py | 20 - .../protos/feast/core/Transformation_pb2.py | 16 +- .../protos/feast/core/Transformation_pb2.pyi | 105 +- .../feast/core/Transformation_pb2_grpc.py | 20 - .../feast/core/ValidationProfile_pb2.py | 18 +- .../feast/core/ValidationProfile_pb2.pyi | 170 +- .../feast/core/ValidationProfile_pb2_grpc.py | 20 - .../feast/registry/RegistryServer_pb2.py | 40 +- .../feast/registry/RegistryServer_pb2.pyi | 2812 ++++++++--------- .../feast/registry/RegistryServer_pb2_grpc.py | 903 ++---- .../protos/feast/serving/Connector_pb2.py | 16 +- .../protos/feast/serving/Connector_pb2.pyi | 133 +- .../feast/serving/Connector_pb2_grpc.py | 39 +- .../protos/feast/serving/GrpcServer_pb2.py | 59 +- .../protos/feast/serving/GrpcServer_pb2.pyi | 211 +- .../feast/serving/GrpcServer_pb2_grpc.py | 75 +- .../feast/serving/ServingService_pb2.py | 22 +- .../feast/serving/ServingService_pb2.pyi | 408 ++- .../feast/serving/ServingService_pb2_grpc.py | 57 +- .../serving/TransformationService_pb2.py | 16 +- .../serving/TransformationService_pb2.pyi | 145 +- .../serving/TransformationService_pb2_grpc.py | 57 +- .../feast/protos/feast/storage/Redis_pb2.py | 16 +- .../feast/protos/feast/storage/Redis_pb2.pyi | 60 +- .../protos/feast/storage/Redis_pb2_grpc.py | 20 - .../feast/protos/feast/types/EntityKey_pb2.py | 16 +- .../protos/feast/types/EntityKey_pb2.pyi | 48 +- .../protos/feast/types/EntityKey_pb2_grpc.py | 20 - .../feast/protos/feast/types/Field_pb2.py | 18 +- .../feast/protos/feast/types/Field_pb2.pyi | 81 +- .../protos/feast/types/Field_pb2_grpc.py | 20 - .../feast/protos/feast/types/Value_pb2.py | 18 +- .../feast/protos/feast/types/Value_pb2.pyi | 634 ++-- .../protos/feast/types/Value_pb2_grpc.py | 20 - 93 files changed, 4679 insertions(+), 7065 deletions(-) diff --git a/sdk/python/feast/protos/feast/core/Aggregation_pb2.py b/sdk/python/feast/protos/feast/core/Aggregation_pb2.py index 3eaf7ef184..48f107b8ef 100644 --- a/sdk/python/feast/protos/feast/core/Aggregation_pb2.py +++ b/sdk/python/feast/protos/feast/core/Aggregation_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/Aggregation.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -25,14 +15,14 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66\x65\x61st/core/Aggregation.proto\x12\nfeast.core\x1a\x1egoogle/protobuf/duration.proto\"\xa0\x01\n\x0b\x41ggregation\x12\x0e\n\x06\x63olumn\x18\x01 \x01(\t\x12\x10\n\x08\x66unction\x18\x02 \x01(\t\x12.\n\x0btime_window\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0eslide_interval\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0c\n\x04name\x18\x05 \x01(\tBU\n\x10\x66\x65\x61st.proto.coreB\x10\x41ggregationProtoZ/github.com/feast-dev/feast/go/protos/feast/coreb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cfeast/core/Aggregation.proto\x12\nfeast.core\x1a\x1egoogle/protobuf/duration.proto\"\xd3\x01\n\x0bAggregation\x12\x16\n\x06column\x18\x01 \x01(\tR\x06column\x12\x1a\n\x08function\x18\x02 \x01(\tR\x08function\x12:\n\x0btime_window\x18\x03 \x01(\x0b2\x19.google.protobuf.DurationR\ntimeWindow\x12@\n\x0eslide_interval\x18\x04 \x01(\x0b2\x19.google.protobuf.DurationR\rslideInterval\x12\x12\n\x04name\x18\x05 \x01(\tR\x04nameBU\n\x10feast.proto.coreB\x10AggregationProtoZ/github.com/feast-dev/feast/go/protos/feast/coreb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Aggregation_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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 + _globals['_AGGREGATION']._serialized_end=288 # @@protoc_insertion_point(module_scope) diff --git a/sdk/python/feast/protos/feast/core/Aggregation_pb2.pyi b/sdk/python/feast/protos/feast/core/Aggregation_pb2.pyi index 4b5c1cac9a..af9ec2b191 100644 --- a/sdk/python/feast/protos/feast/core/Aggregation_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Aggregation_pb2.pyi @@ -2,49 +2,44 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -from google.protobuf import descriptor as _descriptor -from google.protobuf import duration_pb2 as _duration_pb2 -from google.protobuf import message as _message -import builtins as _builtins +import builtins +import google.protobuf.descriptor +import google.protobuf.duration_pb2 +import google.protobuf.message import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class Aggregation(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class Aggregation(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - COLUMN_FIELD_NUMBER: _builtins.int - FUNCTION_FIELD_NUMBER: _builtins.int - TIME_WINDOW_FIELD_NUMBER: _builtins.int - SLIDE_INTERVAL_FIELD_NUMBER: _builtins.int - NAME_FIELD_NUMBER: _builtins.int - column: _builtins.str - function: _builtins.str - name: _builtins.str - @_builtins.property - def time_window(self) -> _duration_pb2.Duration: ... - @_builtins.property - def slide_interval(self) -> _duration_pb2.Duration: ... + COLUMN_FIELD_NUMBER: builtins.int + FUNCTION_FIELD_NUMBER: builtins.int + TIME_WINDOW_FIELD_NUMBER: builtins.int + SLIDE_INTERVAL_FIELD_NUMBER: builtins.int + NAME_FIELD_NUMBER: builtins.int + column: builtins.str + function: builtins.str + name: builtins.str + @property + def time_window(self) -> google.protobuf.duration_pb2.Duration: ... + @property + def slide_interval(self) -> google.protobuf.duration_pb2.Duration: ... def __init__( self, *, - column: _builtins.str = ..., - function: _builtins.str = ..., - time_window: _duration_pb2.Duration | None = ..., - slide_interval: _duration_pb2.Duration | None = ..., - name: _builtins.str = ..., + column: builtins.str = ..., + function: builtins.str = ..., + time_window: google.protobuf.duration_pb2.Duration | None = ..., + slide_interval: google.protobuf.duration_pb2.Duration | None = ..., + name: builtins.str = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["slide_interval", b"slide_interval", "time_window", b"time_window"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["column", b"column", "function", b"function", "name", b"name", "slide_interval", b"slide_interval", "time_window", b"time_window"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["slide_interval", b"slide_interval", "time_window", b"time_window"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["column", b"column", "function", b"function", "name", b"name", "slide_interval", b"slide_interval", "time_window", b"time_window"]) -> None: ... -Global___Aggregation: _TypeAlias = Aggregation # noqa: Y015 +global___Aggregation = Aggregation 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 a645a77ee6..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/Aggregation_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Aggregation_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 2aefe8da7b..b90958cb32 100644 --- a/sdk/python/feast/protos/feast/core/DataFormat_pb2.py +++ b/sdk/python/feast/protos/feast/core/DataFormat_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/DataFormat.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,16 +19,16 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.DataFormat_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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']._loaded_options = None + _globals['_FILEFORMAT'].fields_by_name['delta_format']._options = None _globals['_FILEFORMAT'].fields_by_name['delta_format']._serialized_options = b'\030\001' - _globals['_TABLEFORMAT_ICEBERGFORMAT_PROPERTIESENTRY']._loaded_options = None + _globals['_TABLEFORMAT_ICEBERGFORMAT_PROPERTIESENTRY']._options = None _globals['_TABLEFORMAT_ICEBERGFORMAT_PROPERTIESENTRY']._serialized_options = b'8\001' - _globals['_TABLEFORMAT_DELTAFORMAT_PROPERTIESENTRY']._loaded_options = None + _globals['_TABLEFORMAT_DELTAFORMAT_PROPERTIESENTRY']._options = None _globals['_TABLEFORMAT_DELTAFORMAT_PROPERTIESENTRY']._serialized_options = b'8\001' - _globals['_TABLEFORMAT_HUDIFORMAT_PROPERTIESENTRY']._loaded_options = None + _globals['_TABLEFORMAT_HUDIFORMAT_PROPERTIESENTRY']._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.pyi b/sdk/python/feast/protos/feast/core/DataFormat_pb2.pyi index fa5291fac2..193fb82a77 100644 --- a/sdk/python/feast/protos/feast/core/DataFormat_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/DataFormat_pb2.pyi @@ -16,318 +16,272 @@ 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. """ - -from collections import abc as _abc -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message import sys -import typing as _typing - -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias -else: - from typing_extensions import TypeAlias as _TypeAlias -if sys.version_info >= (3, 13): - from warnings import deprecated as _deprecated +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import deprecated as _deprecated + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class FileFormat(_message.Message): +class FileFormat(google.protobuf.message.Message): """Defines the file format encoding the features/entity data in files""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class ParquetFormat(_message.Message): + class ParquetFormat(google.protobuf.message.Message): """Defines options for the Parquet data format""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor def __init__( self, ) -> None: ... - PARQUET_FORMAT_FIELD_NUMBER: _builtins.int - DELTA_FORMAT_FIELD_NUMBER: _builtins.int - @_builtins.property - def parquet_format(self) -> Global___FileFormat.ParquetFormat: ... - @_builtins.property - @_deprecated("""This field has been marked as deprecated using proto field options.""") - def delta_format(self) -> Global___TableFormat.DeltaFormat: + PARQUET_FORMAT_FIELD_NUMBER: builtins.int + DELTA_FORMAT_FIELD_NUMBER: builtins.int + @property + def parquet_format(self) -> global___FileFormat.ParquetFormat: ... + @property + def delta_format(self) -> global___TableFormat.DeltaFormat: """Deprecated: Delta Lake is a table format, not a file format. Use TableFormat.DeltaFormat instead for Delta Lake support. """ - def __init__( self, *, - parquet_format: Global___FileFormat.ParquetFormat | None = ..., - delta_format: Global___TableFormat.DeltaFormat | None = ..., + parquet_format: global___FileFormat.ParquetFormat | None = ..., + delta_format: global___TableFormat.DeltaFormat | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["delta_format", b"delta_format", "format", b"format", "parquet_format", b"parquet_format"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["delta_format", b"delta_format", "format", b"format", "parquet_format", b"parquet_format"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_format: _TypeAlias = _typing.Literal["parquet_format", "delta_format"] # noqa: Y015 - _WhichOneofArgType_format: _TypeAlias = _typing.Literal["format", b"format"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_format) -> _WhichOneofReturnType_format | None: ... - -Global___FileFormat: _TypeAlias = FileFormat # noqa: Y015 - -@_typing.final -class TableFormat(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - @_typing.final - class IcebergFormat(_message.Message): + def HasField(self, field_name: typing_extensions.Literal["delta_format", b"delta_format", "format", b"format", "parquet_format", b"parquet_format"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["delta_format", b"delta_format", "format", b"format", "parquet_format", b"parquet_format"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["format", b"format"]) -> typing_extensions.Literal["parquet_format", "delta_format"] | None: ... + +global___FileFormat = FileFormat + +class TableFormat(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + class IcebergFormat(google.protobuf.message.Message): """Defines options for Apache Iceberg table format""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class PropertiesEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class PropertiesEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - CATALOG_FIELD_NUMBER: _builtins.int - NAMESPACE_FIELD_NUMBER: _builtins.int - PROPERTIES_FIELD_NUMBER: _builtins.int - catalog: _builtins.str + CATALOG_FIELD_NUMBER: builtins.int + NAMESPACE_FIELD_NUMBER: builtins.int + PROPERTIES_FIELD_NUMBER: builtins.int + catalog: builtins.str """Optional catalog name for the Iceberg table""" - namespace: _builtins.str + namespace: builtins.str """Optional namespace (schema/database) within the catalog""" - @_builtins.property - def properties(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + @property + def properties(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Additional properties for Iceberg configuration Examples: warehouse location, snapshot-id, as-of-timestamp, etc. """ - def __init__( self, *, - catalog: _builtins.str = ..., - namespace: _builtins.str = ..., - properties: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + catalog: builtins.str = ..., + namespace: builtins.str = ..., + properties: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["catalog", b"catalog", "namespace", b"namespace", "properties", b"properties"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["catalog", b"catalog", "namespace", b"namespace", "properties", b"properties"]) -> None: ... - @_typing.final - class DeltaFormat(_message.Message): + class DeltaFormat(google.protobuf.message.Message): """Defines options for Delta Lake table format""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class PropertiesEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class PropertiesEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - CHECKPOINT_LOCATION_FIELD_NUMBER: _builtins.int - PROPERTIES_FIELD_NUMBER: _builtins.int - checkpoint_location: _builtins.str + CHECKPOINT_LOCATION_FIELD_NUMBER: builtins.int + PROPERTIES_FIELD_NUMBER: builtins.int + checkpoint_location: builtins.str """Optional checkpoint location for Delta transaction logs""" - @_builtins.property - def properties(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + @property + def properties(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Additional properties for Delta configuration Examples: auto-optimize settings, vacuum settings, etc. """ - def __init__( self, *, - checkpoint_location: _builtins.str = ..., - properties: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + checkpoint_location: builtins.str = ..., + properties: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["checkpoint_location", b"checkpoint_location", "properties", b"properties"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["checkpoint_location", b"checkpoint_location", "properties", b"properties"]) -> None: ... - @_typing.final - class HudiFormat(_message.Message): + class HudiFormat(google.protobuf.message.Message): """Defines options for Apache Hudi table format""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class PropertiesEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class PropertiesEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - TABLE_TYPE_FIELD_NUMBER: _builtins.int - RECORD_KEY_FIELD_NUMBER: _builtins.int - PRECOMBINE_FIELD_FIELD_NUMBER: _builtins.int - PROPERTIES_FIELD_NUMBER: _builtins.int - table_type: _builtins.str + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + TABLE_TYPE_FIELD_NUMBER: builtins.int + RECORD_KEY_FIELD_NUMBER: builtins.int + PRECOMBINE_FIELD_FIELD_NUMBER: builtins.int + PROPERTIES_FIELD_NUMBER: builtins.int + table_type: builtins.str """Type of Hudi table (COPY_ON_WRITE or MERGE_ON_READ)""" - record_key: _builtins.str + record_key: builtins.str """Field(s) that uniquely identify a record""" - precombine_field: _builtins.str + precombine_field: builtins.str """Field used to determine the latest version of a record""" - @_builtins.property - def properties(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + @property + def properties(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Additional properties for Hudi configuration Examples: compaction strategy, indexing options, etc. """ - def __init__( self, *, - table_type: _builtins.str = ..., - record_key: _builtins.str = ..., - precombine_field: _builtins.str = ..., - properties: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + table_type: builtins.str = ..., + record_key: builtins.str = ..., + precombine_field: builtins.str = ..., + properties: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["precombine_field", b"precombine_field", "properties", b"properties", "record_key", b"record_key", "table_type", b"table_type"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - ICEBERG_FORMAT_FIELD_NUMBER: _builtins.int - DELTA_FORMAT_FIELD_NUMBER: _builtins.int - HUDI_FORMAT_FIELD_NUMBER: _builtins.int - @_builtins.property - def iceberg_format(self) -> Global___TableFormat.IcebergFormat: ... - @_builtins.property - def delta_format(self) -> Global___TableFormat.DeltaFormat: ... - @_builtins.property - def hudi_format(self) -> Global___TableFormat.HudiFormat: ... + def ClearField(self, field_name: typing_extensions.Literal["precombine_field", b"precombine_field", "properties", b"properties", "record_key", b"record_key", "table_type", b"table_type"]) -> None: ... + + ICEBERG_FORMAT_FIELD_NUMBER: builtins.int + DELTA_FORMAT_FIELD_NUMBER: builtins.int + HUDI_FORMAT_FIELD_NUMBER: builtins.int + @property + def iceberg_format(self) -> global___TableFormat.IcebergFormat: ... + @property + def delta_format(self) -> global___TableFormat.DeltaFormat: ... + @property + def hudi_format(self) -> global___TableFormat.HudiFormat: ... def __init__( self, *, - iceberg_format: Global___TableFormat.IcebergFormat | None = ..., - delta_format: Global___TableFormat.DeltaFormat | None = ..., - hudi_format: Global___TableFormat.HudiFormat | None = ..., + iceberg_format: global___TableFormat.IcebergFormat | None = ..., + delta_format: global___TableFormat.DeltaFormat | None = ..., + hudi_format: global___TableFormat.HudiFormat | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["delta_format", b"delta_format", "format", b"format", "hudi_format", b"hudi_format", "iceberg_format", b"iceberg_format"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["delta_format", b"delta_format", "format", b"format", "hudi_format", b"hudi_format", "iceberg_format", b"iceberg_format"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_format: _TypeAlias = _typing.Literal["iceberg_format", "delta_format", "hudi_format"] # noqa: Y015 - _WhichOneofArgType_format: _TypeAlias = _typing.Literal["format", b"format"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_format) -> _WhichOneofReturnType_format | None: ... - -Global___TableFormat: _TypeAlias = TableFormat # noqa: Y015 - -@_typing.final -class StreamFormat(_message.Message): + def HasField(self, field_name: typing_extensions.Literal["delta_format", b"delta_format", "format", b"format", "hudi_format", b"hudi_format", "iceberg_format", b"iceberg_format"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["delta_format", b"delta_format", "format", b"format", "hudi_format", b"hudi_format", "iceberg_format", b"iceberg_format"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["format", b"format"]) -> typing_extensions.Literal["iceberg_format", "delta_format", "hudi_format"] | None: ... + +global___TableFormat = TableFormat + +class StreamFormat(google.protobuf.message.Message): """Defines the data format encoding features/entity data in data streams""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class ProtoFormat(_message.Message): + class ProtoFormat(google.protobuf.message.Message): """Defines options for the protobuf data format""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - CLASS_PATH_FIELD_NUMBER: _builtins.int - class_path: _builtins.str + CLASS_PATH_FIELD_NUMBER: builtins.int + class_path: builtins.str """Classpath to the generated Java Protobuf class that can be used to decode Feature data from the obtained stream message """ def __init__( self, *, - class_path: _builtins.str = ..., + class_path: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["class_path", b"class_path"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["class_path", b"class_path"]) -> None: ... - @_typing.final - class AvroFormat(_message.Message): + class AvroFormat(google.protobuf.message.Message): """Defines options for the avro data format""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SCHEMA_JSON_FIELD_NUMBER: _builtins.int - schema_json: _builtins.str + SCHEMA_JSON_FIELD_NUMBER: builtins.int + schema_json: builtins.str """Optional if used in a File DataSource as schema is embedded in avro file. Specifies the schema of the Avro message as JSON string. """ def __init__( self, *, - schema_json: _builtins.str = ..., + schema_json: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["schema_json", b"schema_json"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["schema_json", b"schema_json"]) -> None: ... - @_typing.final - class JsonFormat(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class JsonFormat(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SCHEMA_JSON_FIELD_NUMBER: _builtins.int - schema_json: _builtins.str + SCHEMA_JSON_FIELD_NUMBER: builtins.int + schema_json: builtins.str def __init__( self, *, - schema_json: _builtins.str = ..., + schema_json: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["schema_json", b"schema_json"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - AVRO_FORMAT_FIELD_NUMBER: _builtins.int - PROTO_FORMAT_FIELD_NUMBER: _builtins.int - JSON_FORMAT_FIELD_NUMBER: _builtins.int - @_builtins.property - def avro_format(self) -> Global___StreamFormat.AvroFormat: ... - @_builtins.property - def proto_format(self) -> Global___StreamFormat.ProtoFormat: ... - @_builtins.property - def json_format(self) -> Global___StreamFormat.JsonFormat: ... + def ClearField(self, field_name: typing_extensions.Literal["schema_json", b"schema_json"]) -> None: ... + + AVRO_FORMAT_FIELD_NUMBER: builtins.int + PROTO_FORMAT_FIELD_NUMBER: builtins.int + JSON_FORMAT_FIELD_NUMBER: builtins.int + @property + def avro_format(self) -> global___StreamFormat.AvroFormat: ... + @property + def proto_format(self) -> global___StreamFormat.ProtoFormat: ... + @property + def json_format(self) -> global___StreamFormat.JsonFormat: ... def __init__( self, *, - avro_format: Global___StreamFormat.AvroFormat | None = ..., - proto_format: Global___StreamFormat.ProtoFormat | None = ..., - json_format: Global___StreamFormat.JsonFormat | None = ..., + avro_format: global___StreamFormat.AvroFormat | None = ..., + proto_format: global___StreamFormat.ProtoFormat | None = ..., + json_format: global___StreamFormat.JsonFormat | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["avro_format", b"avro_format", "format", b"format", "json_format", b"json_format", "proto_format", b"proto_format"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["avro_format", b"avro_format", "format", b"format", "json_format", b"json_format", "proto_format", b"proto_format"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_format: _TypeAlias = _typing.Literal["avro_format", "proto_format", "json_format"] # noqa: Y015 - _WhichOneofArgType_format: _TypeAlias = _typing.Literal["format", b"format"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_format) -> _WhichOneofReturnType_format | None: ... - -Global___StreamFormat: _TypeAlias = StreamFormat # noqa: Y015 + def HasField(self, field_name: typing_extensions.Literal["avro_format", b"avro_format", "format", b"format", "json_format", b"json_format", "proto_format", b"proto_format"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["avro_format", b"avro_format", "format", b"format", "json_format", b"json_format", "proto_format", b"proto_format"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["format", b"format"]) -> typing_extensions.Literal["avro_format", "proto_format", "json_format"] | None: ... + +global___StreamFormat = StreamFormat 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 e79c2fe436..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/DataFormat_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/DataFormat_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 026657ac72..f308623358 100644 --- a/sdk/python/feast/protos/feast/core/DataSource_pb2.py +++ b/sdk/python/feast/protos/feast/core/DataSource_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/DataSource.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,14 +24,14 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.DataSource_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\017DataSourceProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_DATASOURCE_TAGSENTRY']._loaded_options = None + _globals['_DATASOURCE_TAGSENTRY']._options = None _globals['_DATASOURCE_TAGSENTRY']._serialized_options = b'8\001' - _globals['_DATASOURCE_FIELDMAPPINGENTRY']._loaded_options = None + _globals['_DATASOURCE_FIELDMAPPINGENTRY']._options = None _globals['_DATASOURCE_FIELDMAPPINGENTRY']._serialized_options = b'8\001' - _globals['_DATASOURCE_REQUESTDATAOPTIONS_DEPRECATEDSCHEMAENTRY']._loaded_options = None + _globals['_DATASOURCE_REQUESTDATAOPTIONS_DEPRECATEDSCHEMAENTRY']._options = None _globals['_DATASOURCE_REQUESTDATAOPTIONS_DEPRECATEDSCHEMAENTRY']._serialized_options = b'8\001' _globals['_DATASOURCE']._serialized_start=189 _globals['_DATASOURCE']._serialized_end=3270 diff --git a/sdk/python/feast/protos/feast/core/DataSource_pb2.pyi b/sdk/python/feast/protos/feast/core/DataSource_pb2.pyi index 7244ad5cfe..7876e1adc9 100644 --- a/sdk/python/feast/protos/feast/core/DataSource_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/DataSource_pb2.pyi @@ -16,42 +16,40 @@ 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. """ - -from collections import abc as _abc -from feast.core import DataFormat_pb2 as _DataFormat_pb2 -from feast.core import Feature_pb2 as _Feature_pb2 -from feast.types import Value_pb2 as _Value_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import duration_pb2 as _duration_pb2 -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper -import builtins as _builtins +import builtins +import collections.abc +import feast.core.DataFormat_pb2 +import feast.core.Feature_pb2 +import feast.types.Value_pb2 +import google.protobuf.descriptor +import google.protobuf.duration_pb2 +import google.protobuf.internal.containers +import google.protobuf.internal.enum_type_wrapper +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing +import typing if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class DataSource(_message.Message): +class DataSource(google.protobuf.message.Message): """Defines a Data Source that can be used source Feature data Next available id: 28 """ - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor class _SourceType: - ValueType = _typing.NewType("ValueType", _builtins.int) - V: _TypeAlias = ValueType # noqa: Y015 + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType - class _SourceTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[DataSource._SourceType.ValueType], _builtins.type): - DESCRIPTOR: _descriptor.EnumDescriptor + class _SourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[DataSource._SourceType.ValueType], builtins.type): # noqa: F821 + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor INVALID: DataSource._SourceType.ValueType # 0 BATCH_FILE: DataSource._SourceType.ValueType # 1 BATCH_SNOWFLAKE: DataSource._SourceType.ValueType # 8 @@ -85,559 +83,510 @@ class DataSource(_message.Message): BATCH_SPARK: DataSource.SourceType.ValueType # 11 BATCH_ATHENA: DataSource.SourceType.ValueType # 12 - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - @_typing.final - class FieldMappingEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class FieldMappingEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - @_typing.final - class SourceMeta(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - EARLIESTEVENTTIMESTAMP_FIELD_NUMBER: _builtins.int - LATESTEVENTTIMESTAMP_FIELD_NUMBER: _builtins.int - CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - @_builtins.property - def earliestEventTimestamp(self) -> _timestamp_pb2.Timestamp: ... - @_builtins.property - def latestEventTimestamp(self) -> _timestamp_pb2.Timestamp: ... - @_builtins.property - def created_timestamp(self) -> _timestamp_pb2.Timestamp: ... - @_builtins.property - def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + class SourceMeta(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + EARLIESTEVENTTIMESTAMP_FIELD_NUMBER: builtins.int + LATESTEVENTTIMESTAMP_FIELD_NUMBER: builtins.int + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int + @property + def earliestEventTimestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def latestEventTimestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, - earliestEventTimestamp: _timestamp_pb2.Timestamp | None = ..., - latestEventTimestamp: _timestamp_pb2.Timestamp | None = ..., - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., + earliestEventTimestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + latestEventTimestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "earliestEventTimestamp", b"earliestEventTimestamp", "last_updated_timestamp", b"last_updated_timestamp", "latestEventTimestamp", b"latestEventTimestamp"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "earliestEventTimestamp", b"earliestEventTimestamp", "last_updated_timestamp", b"last_updated_timestamp", "latestEventTimestamp", b"latestEventTimestamp"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "earliestEventTimestamp", b"earliestEventTimestamp", "last_updated_timestamp", b"last_updated_timestamp", "latestEventTimestamp", b"latestEventTimestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "earliestEventTimestamp", b"earliestEventTimestamp", "last_updated_timestamp", b"last_updated_timestamp", "latestEventTimestamp", b"latestEventTimestamp"]) -> None: ... - @_typing.final - class FileOptions(_message.Message): + class FileOptions(google.protobuf.message.Message): """Defines options for DataSource that sources features from a file""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FILE_FORMAT_FIELD_NUMBER: _builtins.int - URI_FIELD_NUMBER: _builtins.int - S3_ENDPOINT_OVERRIDE_FIELD_NUMBER: _builtins.int - uri: _builtins.str + FILE_FORMAT_FIELD_NUMBER: builtins.int + URI_FIELD_NUMBER: builtins.int + S3_ENDPOINT_OVERRIDE_FIELD_NUMBER: builtins.int + @property + def file_format(self) -> feast.core.DataFormat_pb2.FileFormat: ... + uri: builtins.str """Target URL of file to retrieve and source features from. s3://path/to/file for AWS S3 storage gs://path/to/file for GCP GCS storage file:///path/to/file for local storage """ - s3_endpoint_override: _builtins.str + s3_endpoint_override: builtins.str """override AWS S3 storage endpoint with custom S3 endpoint""" - @_builtins.property - def file_format(self) -> _DataFormat_pb2.FileFormat: ... def __init__( self, *, - file_format: _DataFormat_pb2.FileFormat | None = ..., - uri: _builtins.str = ..., - s3_endpoint_override: _builtins.str = ..., + file_format: feast.core.DataFormat_pb2.FileFormat | None = ..., + uri: builtins.str = ..., + s3_endpoint_override: builtins.str = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["file_format", b"file_format"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["file_format", b"file_format", "s3_endpoint_override", b"s3_endpoint_override", "uri", b"uri"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["file_format", b"file_format"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["file_format", b"file_format", "s3_endpoint_override", b"s3_endpoint_override", "uri", b"uri"]) -> None: ... - @_typing.final - class BigQueryOptions(_message.Message): + class BigQueryOptions(google.protobuf.message.Message): """Defines options for DataSource that sources features from a BigQuery Query""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - TABLE_FIELD_NUMBER: _builtins.int - QUERY_FIELD_NUMBER: _builtins.int - table: _builtins.str + TABLE_FIELD_NUMBER: builtins.int + QUERY_FIELD_NUMBER: builtins.int + table: builtins.str """Full table reference in the form of [project:dataset.table]""" - query: _builtins.str + query: builtins.str """SQL query that returns a table containing feature data. Must contain an event_timestamp column, and respective entity columns """ def __init__( self, *, - table: _builtins.str = ..., - query: _builtins.str = ..., + table: builtins.str = ..., + query: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["query", b"query", "table", b"table"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["query", b"query", "table", b"table"]) -> None: ... - @_typing.final - class TrinoOptions(_message.Message): + class TrinoOptions(google.protobuf.message.Message): """Defines options for DataSource that sources features from a Trino Query""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - TABLE_FIELD_NUMBER: _builtins.int - QUERY_FIELD_NUMBER: _builtins.int - table: _builtins.str + TABLE_FIELD_NUMBER: builtins.int + QUERY_FIELD_NUMBER: builtins.int + table: builtins.str """Full table reference in the form of [project:dataset.table]""" - query: _builtins.str + query: builtins.str """SQL query that returns a table containing feature data. Must contain an event_timestamp column, and respective entity columns """ def __init__( self, *, - table: _builtins.str = ..., - query: _builtins.str = ..., + table: builtins.str = ..., + query: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["query", b"query", "table", b"table"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["query", b"query", "table", b"table"]) -> None: ... - @_typing.final - class KafkaOptions(_message.Message): + class KafkaOptions(google.protobuf.message.Message): """Defines options for DataSource that sources features from Kafka messages. Each message should be a Protobuf that can be decoded with the generated Java Protobuf class at the given class path """ - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KAFKA_BOOTSTRAP_SERVERS_FIELD_NUMBER: _builtins.int - TOPIC_FIELD_NUMBER: _builtins.int - MESSAGE_FORMAT_FIELD_NUMBER: _builtins.int - WATERMARK_DELAY_THRESHOLD_FIELD_NUMBER: _builtins.int - kafka_bootstrap_servers: _builtins.str + KAFKA_BOOTSTRAP_SERVERS_FIELD_NUMBER: builtins.int + TOPIC_FIELD_NUMBER: builtins.int + MESSAGE_FORMAT_FIELD_NUMBER: builtins.int + WATERMARK_DELAY_THRESHOLD_FIELD_NUMBER: builtins.int + kafka_bootstrap_servers: builtins.str """Comma separated list of Kafka bootstrap servers. Used for feature tables without a defined source host[:port]]""" - topic: _builtins.str + topic: builtins.str """Kafka topic to collect feature data from.""" - @_builtins.property - def message_format(self) -> _DataFormat_pb2.StreamFormat: + @property + def message_format(self) -> feast.core.DataFormat_pb2.StreamFormat: """Defines the stream data format encoding feature/entity data in Kafka messages.""" - - @_builtins.property - def watermark_delay_threshold(self) -> _duration_pb2.Duration: + @property + def watermark_delay_threshold(self) -> google.protobuf.duration_pb2.Duration: """Watermark delay threshold for stream data""" - def __init__( self, *, - kafka_bootstrap_servers: _builtins.str = ..., - topic: _builtins.str = ..., - message_format: _DataFormat_pb2.StreamFormat | None = ..., - watermark_delay_threshold: _duration_pb2.Duration | None = ..., + kafka_bootstrap_servers: builtins.str = ..., + topic: builtins.str = ..., + message_format: feast.core.DataFormat_pb2.StreamFormat | None = ..., + watermark_delay_threshold: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["message_format", b"message_format", "watermark_delay_threshold", b"watermark_delay_threshold"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["kafka_bootstrap_servers", b"kafka_bootstrap_servers", "message_format", b"message_format", "topic", b"topic", "watermark_delay_threshold", b"watermark_delay_threshold"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["message_format", b"message_format", "watermark_delay_threshold", b"watermark_delay_threshold"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["kafka_bootstrap_servers", b"kafka_bootstrap_servers", "message_format", b"message_format", "topic", b"topic", "watermark_delay_threshold", b"watermark_delay_threshold"]) -> None: ... - @_typing.final - class KinesisOptions(_message.Message): + class KinesisOptions(google.protobuf.message.Message): """Defines options for DataSource that sources features from Kinesis records. Each record should be a Protobuf that can be decoded with the generated Java Protobuf class at the given class path """ - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - REGION_FIELD_NUMBER: _builtins.int - STREAM_NAME_FIELD_NUMBER: _builtins.int - RECORD_FORMAT_FIELD_NUMBER: _builtins.int - region: _builtins.str + REGION_FIELD_NUMBER: builtins.int + STREAM_NAME_FIELD_NUMBER: builtins.int + RECORD_FORMAT_FIELD_NUMBER: builtins.int + region: builtins.str """AWS region of the Kinesis stream""" - stream_name: _builtins.str + stream_name: builtins.str """Name of the Kinesis stream to obtain feature data from.""" - @_builtins.property - def record_format(self) -> _DataFormat_pb2.StreamFormat: + @property + def record_format(self) -> feast.core.DataFormat_pb2.StreamFormat: """Defines the data format encoding the feature/entity data in Kinesis records. Kinesis Data Sources support Avro and Proto as data formats. """ - def __init__( self, *, - region: _builtins.str = ..., - stream_name: _builtins.str = ..., - record_format: _DataFormat_pb2.StreamFormat | None = ..., + region: builtins.str = ..., + stream_name: builtins.str = ..., + record_format: feast.core.DataFormat_pb2.StreamFormat | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["record_format", b"record_format"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["record_format", b"record_format", "region", b"region", "stream_name", b"stream_name"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["record_format", b"record_format"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["record_format", b"record_format", "region", b"region", "stream_name", b"stream_name"]) -> None: ... - @_typing.final - class RedshiftOptions(_message.Message): + class RedshiftOptions(google.protobuf.message.Message): """Defines options for DataSource that sources features from a Redshift Query""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - TABLE_FIELD_NUMBER: _builtins.int - QUERY_FIELD_NUMBER: _builtins.int - SCHEMA_FIELD_NUMBER: _builtins.int - DATABASE_FIELD_NUMBER: _builtins.int - table: _builtins.str + TABLE_FIELD_NUMBER: builtins.int + QUERY_FIELD_NUMBER: builtins.int + SCHEMA_FIELD_NUMBER: builtins.int + DATABASE_FIELD_NUMBER: builtins.int + table: builtins.str """Redshift table name""" - query: _builtins.str + query: builtins.str """SQL query that returns a table containing feature data. Must contain an event_timestamp column, and respective entity columns """ - schema: _builtins.str + schema: builtins.str """Redshift schema name""" - database: _builtins.str + database: builtins.str """Redshift database name""" def __init__( self, *, - table: _builtins.str = ..., - query: _builtins.str = ..., - schema: _builtins.str = ..., - database: _builtins.str = ..., + table: builtins.str = ..., + query: builtins.str = ..., + schema: builtins.str = ..., + database: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["database", b"database", "query", b"query", "schema", b"schema", "table", b"table"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["database", b"database", "query", b"query", "schema", b"schema", "table", b"table"]) -> None: ... - @_typing.final - class AthenaOptions(_message.Message): + class AthenaOptions(google.protobuf.message.Message): """Defines options for DataSource that sources features from a Athena Query""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - TABLE_FIELD_NUMBER: _builtins.int - QUERY_FIELD_NUMBER: _builtins.int - DATABASE_FIELD_NUMBER: _builtins.int - DATA_SOURCE_FIELD_NUMBER: _builtins.int - table: _builtins.str + TABLE_FIELD_NUMBER: builtins.int + QUERY_FIELD_NUMBER: builtins.int + DATABASE_FIELD_NUMBER: builtins.int + DATA_SOURCE_FIELD_NUMBER: builtins.int + table: builtins.str """Athena table name""" - query: _builtins.str + query: builtins.str """SQL query that returns a table containing feature data. Must contain an event_timestamp column, and respective entity columns """ - database: _builtins.str + database: builtins.str """Athena database name""" - data_source: _builtins.str + data_source: builtins.str """Athena schema name""" def __init__( self, *, - table: _builtins.str = ..., - query: _builtins.str = ..., - database: _builtins.str = ..., - data_source: _builtins.str = ..., + table: builtins.str = ..., + query: builtins.str = ..., + database: builtins.str = ..., + data_source: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["data_source", b"data_source", "database", b"database", "query", b"query", "table", b"table"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["data_source", b"data_source", "database", b"database", "query", b"query", "table", b"table"]) -> None: ... - @_typing.final - class SnowflakeOptions(_message.Message): + class SnowflakeOptions(google.protobuf.message.Message): """Defines options for DataSource that sources features from a Snowflake Query""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - TABLE_FIELD_NUMBER: _builtins.int - QUERY_FIELD_NUMBER: _builtins.int - SCHEMA_FIELD_NUMBER: _builtins.int - DATABASE_FIELD_NUMBER: _builtins.int - table: _builtins.str + TABLE_FIELD_NUMBER: builtins.int + QUERY_FIELD_NUMBER: builtins.int + SCHEMA_FIELD_NUMBER: builtins.int + DATABASE_FIELD_NUMBER: builtins.int + table: builtins.str """Snowflake table name""" - query: _builtins.str + query: builtins.str """SQL query that returns a table containing feature data. Must contain an event_timestamp column, and respective entity columns """ - schema: _builtins.str + schema: builtins.str """Snowflake schema name""" - database: _builtins.str + database: builtins.str """Snowflake schema name""" def __init__( self, *, - table: _builtins.str = ..., - query: _builtins.str = ..., - schema: _builtins.str = ..., - database: _builtins.str = ..., + table: builtins.str = ..., + query: builtins.str = ..., + schema: builtins.str = ..., + database: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["database", b"database", "query", b"query", "schema", b"schema", "table", b"table"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["database", b"database", "query", b"query", "schema", b"schema", "table", b"table"]) -> None: ... - @_typing.final - class SparkOptions(_message.Message): + class SparkOptions(google.protobuf.message.Message): """Defines options for DataSource that sources features from a spark table/query""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - TABLE_FIELD_NUMBER: _builtins.int - QUERY_FIELD_NUMBER: _builtins.int - PATH_FIELD_NUMBER: _builtins.int - FILE_FORMAT_FIELD_NUMBER: _builtins.int - DATE_PARTITION_COLUMN_FORMAT_FIELD_NUMBER: _builtins.int - TABLE_FORMAT_FIELD_NUMBER: _builtins.int - table: _builtins.str + TABLE_FIELD_NUMBER: builtins.int + QUERY_FIELD_NUMBER: builtins.int + PATH_FIELD_NUMBER: builtins.int + FILE_FORMAT_FIELD_NUMBER: builtins.int + DATE_PARTITION_COLUMN_FORMAT_FIELD_NUMBER: builtins.int + TABLE_FORMAT_FIELD_NUMBER: builtins.int + table: builtins.str """Table name""" - query: _builtins.str + query: builtins.str """Spark SQl query that returns the table, this is an alternative to `table`""" - path: _builtins.str + path: builtins.str """Path from which spark can read the table, this is an alternative to `table`""" - file_format: _builtins.str + file_format: builtins.str """Format of files at `path` (e.g. parquet, avro, etc)""" - date_partition_column_format: _builtins.str + date_partition_column_format: builtins.str """Date Format of date partition column (e.g. %Y-%m-%d)""" - @_builtins.property - def table_format(self) -> _DataFormat_pb2.TableFormat: + @property + def table_format(self) -> feast.core.DataFormat_pb2.TableFormat: """Table Format (e.g. iceberg, delta, hudi)""" - def __init__( self, *, - table: _builtins.str = ..., - query: _builtins.str = ..., - path: _builtins.str = ..., - file_format: _builtins.str = ..., - date_partition_column_format: _builtins.str = ..., - table_format: _DataFormat_pb2.TableFormat | None = ..., + table: builtins.str = ..., + query: builtins.str = ..., + path: builtins.str = ..., + file_format: builtins.str = ..., + date_partition_column_format: builtins.str = ..., + table_format: feast.core.DataFormat_pb2.TableFormat | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["table_format", b"table_format"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["date_partition_column_format", b"date_partition_column_format", "file_format", b"file_format", "path", b"path", "query", b"query", "table", b"table", "table_format", b"table_format"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["table_format", b"table_format"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["date_partition_column_format", b"date_partition_column_format", "file_format", b"file_format", "path", b"path", "query", b"query", "table", b"table", "table_format", b"table_format"]) -> None: ... - @_typing.final - class CustomSourceOptions(_message.Message): + class CustomSourceOptions(google.protobuf.message.Message): """Defines configuration for custom third-party data sources.""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - CONFIGURATION_FIELD_NUMBER: _builtins.int - configuration: _builtins.bytes + CONFIGURATION_FIELD_NUMBER: builtins.int + configuration: builtins.bytes """Serialized configuration information for the data source. The implementer of the custom data source is responsible for serializing and deserializing data from bytes """ def __init__( self, *, - configuration: _builtins.bytes = ..., + configuration: builtins.bytes = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["configuration", b"configuration"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["configuration", b"configuration"]) -> None: ... - @_typing.final - class RequestDataOptions(_message.Message): + class RequestDataOptions(google.protobuf.message.Message): """Defines options for DataSource that sources features from request data""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class DeprecatedSchemaEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class DeprecatedSchemaEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _Value_pb2.ValueType.Enum.ValueType + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: feast.types.Value_pb2.ValueType.Enum.ValueType def __init__( self, *, - key: _builtins.str = ..., - value: _Value_pb2.ValueType.Enum.ValueType = ..., + key: builtins.str = ..., + value: feast.types.Value_pb2.ValueType.Enum.ValueType = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - DEPRECATED_SCHEMA_FIELD_NUMBER: _builtins.int - SCHEMA_FIELD_NUMBER: _builtins.int - @_builtins.property - def deprecated_schema(self) -> _containers.ScalarMap[_builtins.str, _Value_pb2.ValueType.Enum.ValueType]: + DEPRECATED_SCHEMA_FIELD_NUMBER: builtins.int + SCHEMA_FIELD_NUMBER: builtins.int + @property + def deprecated_schema(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, feast.types.Value_pb2.ValueType.Enum.ValueType]: """Mapping of feature name to type""" - - @_builtins.property - def schema(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: ... + @property + def schema(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: ... def __init__( self, *, - deprecated_schema: _abc.Mapping[_builtins.str, _Value_pb2.ValueType.Enum.ValueType] | None = ..., - schema: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., + deprecated_schema: collections.abc.Mapping[builtins.str, feast.types.Value_pb2.ValueType.Enum.ValueType] | None = ..., + schema: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["deprecated_schema", b"deprecated_schema", "schema", b"schema"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["deprecated_schema", b"deprecated_schema", "schema", b"schema"]) -> None: ... - @_typing.final - class PushOptions(_message.Message): + class PushOptions(google.protobuf.message.Message): """Defines options for DataSource that supports pushing data to it. This allows data to be pushed to the online store on-demand, such as by stream consumers. """ - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor def __init__( self, ) -> None: ... - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - DESCRIPTION_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - OWNER_FIELD_NUMBER: _builtins.int - TYPE_FIELD_NUMBER: _builtins.int - FIELD_MAPPING_FIELD_NUMBER: _builtins.int - TIMESTAMP_FIELD_FIELD_NUMBER: _builtins.int - DATE_PARTITION_COLUMN_FIELD_NUMBER: _builtins.int - CREATED_TIMESTAMP_COLUMN_FIELD_NUMBER: _builtins.int - DATA_SOURCE_CLASS_TYPE_FIELD_NUMBER: _builtins.int - BATCH_SOURCE_FIELD_NUMBER: _builtins.int - META_FIELD_NUMBER: _builtins.int - FILE_OPTIONS_FIELD_NUMBER: _builtins.int - BIGQUERY_OPTIONS_FIELD_NUMBER: _builtins.int - KAFKA_OPTIONS_FIELD_NUMBER: _builtins.int - KINESIS_OPTIONS_FIELD_NUMBER: _builtins.int - REDSHIFT_OPTIONS_FIELD_NUMBER: _builtins.int - REQUEST_DATA_OPTIONS_FIELD_NUMBER: _builtins.int - CUSTOM_OPTIONS_FIELD_NUMBER: _builtins.int - SNOWFLAKE_OPTIONS_FIELD_NUMBER: _builtins.int - PUSH_OPTIONS_FIELD_NUMBER: _builtins.int - SPARK_OPTIONS_FIELD_NUMBER: _builtins.int - TRINO_OPTIONS_FIELD_NUMBER: _builtins.int - ATHENA_OPTIONS_FIELD_NUMBER: _builtins.int - name: _builtins.str + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + OWNER_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int + FIELD_MAPPING_FIELD_NUMBER: builtins.int + TIMESTAMP_FIELD_FIELD_NUMBER: builtins.int + DATE_PARTITION_COLUMN_FIELD_NUMBER: builtins.int + CREATED_TIMESTAMP_COLUMN_FIELD_NUMBER: builtins.int + DATA_SOURCE_CLASS_TYPE_FIELD_NUMBER: builtins.int + BATCH_SOURCE_FIELD_NUMBER: builtins.int + META_FIELD_NUMBER: builtins.int + FILE_OPTIONS_FIELD_NUMBER: builtins.int + BIGQUERY_OPTIONS_FIELD_NUMBER: builtins.int + KAFKA_OPTIONS_FIELD_NUMBER: builtins.int + KINESIS_OPTIONS_FIELD_NUMBER: builtins.int + REDSHIFT_OPTIONS_FIELD_NUMBER: builtins.int + REQUEST_DATA_OPTIONS_FIELD_NUMBER: builtins.int + CUSTOM_OPTIONS_FIELD_NUMBER: builtins.int + SNOWFLAKE_OPTIONS_FIELD_NUMBER: builtins.int + PUSH_OPTIONS_FIELD_NUMBER: builtins.int + SPARK_OPTIONS_FIELD_NUMBER: builtins.int + TRINO_OPTIONS_FIELD_NUMBER: builtins.int + ATHENA_OPTIONS_FIELD_NUMBER: builtins.int + name: builtins.str """Unique name of data source within the project""" - project: _builtins.str + project: builtins.str """Name of Feast project that this data source belongs to.""" - description: _builtins.str - owner: _builtins.str - type: Global___DataSource.SourceType.ValueType - timestamp_field: _builtins.str + description: builtins.str + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + owner: builtins.str + type: global___DataSource.SourceType.ValueType + @property + def field_mapping(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + """Defines mapping between fields in the sourced data + and fields in parent FeatureTable. + """ + timestamp_field: builtins.str """Must specify event timestamp column name""" - date_partition_column: _builtins.str + date_partition_column: builtins.str """(Optional) Specify partition column useful for file sources """ - created_timestamp_column: _builtins.str + created_timestamp_column: builtins.str """Must specify creation timestamp column name""" - data_source_class_type: _builtins.str + data_source_class_type: builtins.str """This is an internal field that is represents the python class for the data source object a proto object represents. This should be set by feast, and not by users. The field is used primarily by custom data sources and is mandatory for them to set. Feast may set it for first party sources as well. """ - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def field_mapping(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: - """Defines mapping between fields in the sourced data - and fields in parent FeatureTable. - """ - - @_builtins.property - def batch_source(self) -> Global___DataSource: + @property + def batch_source(self) -> global___DataSource: """Optional batch source for streaming sources for historical features and materialization.""" - - @_builtins.property - def meta(self) -> Global___DataSource.SourceMeta: ... - @_builtins.property - def file_options(self) -> Global___DataSource.FileOptions: ... - @_builtins.property - def bigquery_options(self) -> Global___DataSource.BigQueryOptions: ... - @_builtins.property - def kafka_options(self) -> Global___DataSource.KafkaOptions: ... - @_builtins.property - def kinesis_options(self) -> Global___DataSource.KinesisOptions: ... - @_builtins.property - def redshift_options(self) -> Global___DataSource.RedshiftOptions: ... - @_builtins.property - def request_data_options(self) -> Global___DataSource.RequestDataOptions: ... - @_builtins.property - def custom_options(self) -> Global___DataSource.CustomSourceOptions: ... - @_builtins.property - def snowflake_options(self) -> Global___DataSource.SnowflakeOptions: ... - @_builtins.property - def push_options(self) -> Global___DataSource.PushOptions: ... - @_builtins.property - def spark_options(self) -> Global___DataSource.SparkOptions: ... - @_builtins.property - def trino_options(self) -> Global___DataSource.TrinoOptions: ... - @_builtins.property - def athena_options(self) -> Global___DataSource.AthenaOptions: ... + @property + def meta(self) -> global___DataSource.SourceMeta: ... + @property + def file_options(self) -> global___DataSource.FileOptions: ... + @property + def bigquery_options(self) -> global___DataSource.BigQueryOptions: ... + @property + def kafka_options(self) -> global___DataSource.KafkaOptions: ... + @property + def kinesis_options(self) -> global___DataSource.KinesisOptions: ... + @property + def redshift_options(self) -> global___DataSource.RedshiftOptions: ... + @property + def request_data_options(self) -> global___DataSource.RequestDataOptions: ... + @property + def custom_options(self) -> global___DataSource.CustomSourceOptions: ... + @property + def snowflake_options(self) -> global___DataSource.SnowflakeOptions: ... + @property + def push_options(self) -> global___DataSource.PushOptions: ... + @property + def spark_options(self) -> global___DataSource.SparkOptions: ... + @property + def trino_options(self) -> global___DataSource.TrinoOptions: ... + @property + def athena_options(self) -> global___DataSource.AthenaOptions: ... def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - description: _builtins.str = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - owner: _builtins.str = ..., - type: Global___DataSource.SourceType.ValueType = ..., - field_mapping: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - timestamp_field: _builtins.str = ..., - date_partition_column: _builtins.str = ..., - created_timestamp_column: _builtins.str = ..., - data_source_class_type: _builtins.str = ..., - batch_source: Global___DataSource | None = ..., - meta: Global___DataSource.SourceMeta | None = ..., - file_options: Global___DataSource.FileOptions | None = ..., - bigquery_options: Global___DataSource.BigQueryOptions | None = ..., - kafka_options: Global___DataSource.KafkaOptions | None = ..., - kinesis_options: Global___DataSource.KinesisOptions | None = ..., - redshift_options: Global___DataSource.RedshiftOptions | None = ..., - request_data_options: Global___DataSource.RequestDataOptions | None = ..., - custom_options: Global___DataSource.CustomSourceOptions | None = ..., - snowflake_options: Global___DataSource.SnowflakeOptions | None = ..., - push_options: Global___DataSource.PushOptions | None = ..., - spark_options: Global___DataSource.SparkOptions | None = ..., - trino_options: Global___DataSource.TrinoOptions | None = ..., - athena_options: Global___DataSource.AthenaOptions | None = ..., + name: builtins.str = ..., + project: builtins.str = ..., + description: builtins.str = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + owner: builtins.str = ..., + type: global___DataSource.SourceType.ValueType = ..., + field_mapping: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + timestamp_field: builtins.str = ..., + date_partition_column: builtins.str = ..., + created_timestamp_column: builtins.str = ..., + data_source_class_type: builtins.str = ..., + batch_source: global___DataSource | None = ..., + meta: global___DataSource.SourceMeta | None = ..., + file_options: global___DataSource.FileOptions | None = ..., + bigquery_options: global___DataSource.BigQueryOptions | None = ..., + kafka_options: global___DataSource.KafkaOptions | None = ..., + kinesis_options: global___DataSource.KinesisOptions | None = ..., + redshift_options: global___DataSource.RedshiftOptions | None = ..., + request_data_options: global___DataSource.RequestDataOptions | None = ..., + custom_options: global___DataSource.CustomSourceOptions | None = ..., + snowflake_options: global___DataSource.SnowflakeOptions | None = ..., + push_options: global___DataSource.PushOptions | None = ..., + spark_options: global___DataSource.SparkOptions | None = ..., + trino_options: global___DataSource.TrinoOptions | None = ..., + athena_options: global___DataSource.AthenaOptions | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["athena_options", b"athena_options", "batch_source", b"batch_source", "bigquery_options", b"bigquery_options", "custom_options", b"custom_options", "file_options", b"file_options", "kafka_options", b"kafka_options", "kinesis_options", b"kinesis_options", "meta", b"meta", "options", b"options", "push_options", b"push_options", "redshift_options", b"redshift_options", "request_data_options", b"request_data_options", "snowflake_options", b"snowflake_options", "spark_options", b"spark_options", "trino_options", b"trino_options"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["athena_options", b"athena_options", "batch_source", b"batch_source", "bigquery_options", b"bigquery_options", "created_timestamp_column", b"created_timestamp_column", "custom_options", b"custom_options", "data_source_class_type", b"data_source_class_type", "date_partition_column", b"date_partition_column", "description", b"description", "field_mapping", b"field_mapping", "file_options", b"file_options", "kafka_options", b"kafka_options", "kinesis_options", b"kinesis_options", "meta", b"meta", "name", b"name", "options", b"options", "owner", b"owner", "project", b"project", "push_options", b"push_options", "redshift_options", b"redshift_options", "request_data_options", b"request_data_options", "snowflake_options", b"snowflake_options", "spark_options", b"spark_options", "tags", b"tags", "timestamp_field", b"timestamp_field", "trino_options", b"trino_options", "type", b"type"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_options: _TypeAlias = _typing.Literal["file_options", "bigquery_options", "kafka_options", "kinesis_options", "redshift_options", "request_data_options", "custom_options", "snowflake_options", "push_options", "spark_options", "trino_options", "athena_options"] # noqa: Y015 - _WhichOneofArgType_options: _TypeAlias = _typing.Literal["options", b"options"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_options) -> _WhichOneofReturnType_options | None: ... - -Global___DataSource: _TypeAlias = DataSource # noqa: Y015 - -@_typing.final -class DataSourceList(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - DATASOURCES_FIELD_NUMBER: _builtins.int - @_builtins.property - def datasources(self) -> _containers.RepeatedCompositeFieldContainer[Global___DataSource]: ... + def HasField(self, field_name: typing_extensions.Literal["athena_options", b"athena_options", "batch_source", b"batch_source", "bigquery_options", b"bigquery_options", "custom_options", b"custom_options", "file_options", b"file_options", "kafka_options", b"kafka_options", "kinesis_options", b"kinesis_options", "meta", b"meta", "options", b"options", "push_options", b"push_options", "redshift_options", b"redshift_options", "request_data_options", b"request_data_options", "snowflake_options", b"snowflake_options", "spark_options", b"spark_options", "trino_options", b"trino_options"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["athena_options", b"athena_options", "batch_source", b"batch_source", "bigquery_options", b"bigquery_options", "created_timestamp_column", b"created_timestamp_column", "custom_options", b"custom_options", "data_source_class_type", b"data_source_class_type", "date_partition_column", b"date_partition_column", "description", b"description", "field_mapping", b"field_mapping", "file_options", b"file_options", "kafka_options", b"kafka_options", "kinesis_options", b"kinesis_options", "meta", b"meta", "name", b"name", "options", b"options", "owner", b"owner", "project", b"project", "push_options", b"push_options", "redshift_options", b"redshift_options", "request_data_options", b"request_data_options", "snowflake_options", b"snowflake_options", "spark_options", b"spark_options", "tags", b"tags", "timestamp_field", b"timestamp_field", "trino_options", b"trino_options", "type", b"type"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["options", b"options"]) -> typing_extensions.Literal["file_options", "bigquery_options", "kafka_options", "kinesis_options", "redshift_options", "request_data_options", "custom_options", "snowflake_options", "push_options", "spark_options", "trino_options", "athena_options"] | None: ... + +global___DataSource = DataSource + +class DataSourceList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + DATASOURCES_FIELD_NUMBER: builtins.int + @property + def datasources(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DataSource]: ... def __init__( self, *, - datasources: _abc.Iterable[Global___DataSource] | None = ..., + datasources: collections.abc.Iterable[global___DataSource] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["datasources", b"datasources"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["datasources", b"datasources"]) -> None: ... -Global___DataSourceList: _TypeAlias = DataSourceList # noqa: Y015 +global___DataSourceList = DataSourceList 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 04b5423918..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/DataSource_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/DataSource_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 3886263c54..c5dbc3ec64 100644 --- a/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.py +++ b/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/DatastoreTable.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,8 +20,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.DatastoreTable_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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.pyi b/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.pyi index f9a451e856..6339a97536 100644 --- a/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.pyi @@ -16,60 +16,52 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ - -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import wrappers_pb2 as _wrappers_pb2 -import builtins as _builtins +import builtins +import google.protobuf.descriptor +import google.protobuf.message +import google.protobuf.wrappers_pb2 import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class DatastoreTable(_message.Message): +class DatastoreTable(google.protobuf.message.Message): """Represents a Datastore table""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PROJECT_FIELD_NUMBER: _builtins.int - NAME_FIELD_NUMBER: _builtins.int - PROJECT_ID_FIELD_NUMBER: _builtins.int - NAMESPACE_FIELD_NUMBER: _builtins.int - DATABASE_FIELD_NUMBER: _builtins.int - project: _builtins.str + PROJECT_FIELD_NUMBER: builtins.int + NAME_FIELD_NUMBER: builtins.int + PROJECT_ID_FIELD_NUMBER: builtins.int + NAMESPACE_FIELD_NUMBER: builtins.int + DATABASE_FIELD_NUMBER: builtins.int + project: builtins.str """Feast project of the table""" - name: _builtins.str + name: builtins.str """Name of the table""" - @_builtins.property - def project_id(self) -> _wrappers_pb2.StringValue: + @property + def project_id(self) -> google.protobuf.wrappers_pb2.StringValue: """GCP project id""" - - @_builtins.property - def namespace(self) -> _wrappers_pb2.StringValue: + @property + def namespace(self) -> google.protobuf.wrappers_pb2.StringValue: """Datastore namespace""" - - @_builtins.property - def database(self) -> _wrappers_pb2.StringValue: + @property + def database(self) -> google.protobuf.wrappers_pb2.StringValue: """Firestore database""" - def __init__( self, *, - project: _builtins.str = ..., - name: _builtins.str = ..., - project_id: _wrappers_pb2.StringValue | None = ..., - namespace: _wrappers_pb2.StringValue | None = ..., - database: _wrappers_pb2.StringValue | None = ..., + project: builtins.str = ..., + name: builtins.str = ..., + project_id: google.protobuf.wrappers_pb2.StringValue | None = ..., + namespace: google.protobuf.wrappers_pb2.StringValue | None = ..., + database: google.protobuf.wrappers_pb2.StringValue | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["database", b"database", "namespace", b"namespace", "project_id", b"project_id"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["database", b"database", "name", b"name", "namespace", b"namespace", "project", b"project", "project_id", b"project_id"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["database", b"database", "namespace", b"namespace", "project_id", b"project_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["database", b"database", "name", b"name", "namespace", b"namespace", "project", b"project", "project_id", b"project_id"]) -> None: ... -Global___DatastoreTable: _TypeAlias = DatastoreTable # noqa: Y015 +global___DatastoreTable = DatastoreTable 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 d410b1fddf..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/DatastoreTable_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/DatastoreTable_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 589b789bbf..2b3e780673 100644 --- a/sdk/python/feast/protos/feast/core/Entity_pb2.py +++ b/sdk/python/feast/protos/feast/core/Entity_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/Entity.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,10 +21,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Entity_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\013EntityProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_ENTITYSPECV2_TAGSENTRY']._loaded_options = None + _globals['_ENTITYSPECV2_TAGSENTRY']._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.pyi b/sdk/python/feast/protos/feast/core/Entity_pb2.pyi index c68f34c6af..025817edfe 100644 --- a/sdk/python/feast/protos/feast/core/Entity_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Entity_pb2.pyi @@ -16,147 +16,130 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ - -from collections import abc as _abc -from feast.types import Value_pb2 as _Value_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.types.Value_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class Entity(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class Entity(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SPEC_FIELD_NUMBER: _builtins.int - META_FIELD_NUMBER: _builtins.int - @_builtins.property - def spec(self) -> Global___EntitySpecV2: + SPEC_FIELD_NUMBER: builtins.int + META_FIELD_NUMBER: builtins.int + @property + def spec(self) -> global___EntitySpecV2: """User-specified specifications of this entity.""" - - @_builtins.property - def meta(self) -> Global___EntityMeta: + @property + def meta(self) -> global___EntityMeta: """System-populated metadata for this entity.""" - def __init__( self, *, - spec: Global___EntitySpecV2 | None = ..., - meta: Global___EntityMeta | None = ..., + spec: global___EntitySpecV2 | None = ..., + meta: global___EntityMeta | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... -Global___Entity: _TypeAlias = Entity # noqa: Y015 +global___Entity = Entity -@_typing.final -class EntitySpecV2(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class EntitySpecV2(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - VALUE_TYPE_FIELD_NUMBER: _builtins.int - DESCRIPTION_FIELD_NUMBER: _builtins.int - JOIN_KEY_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - OWNER_FIELD_NUMBER: _builtins.int - name: _builtins.str + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + VALUE_TYPE_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + JOIN_KEY_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + OWNER_FIELD_NUMBER: builtins.int + name: builtins.str """Name of the entity.""" - project: _builtins.str + project: builtins.str """Name of Feast project that this feature table belongs to.""" - value_type: _Value_pb2.ValueType.Enum.ValueType + value_type: feast.types.Value_pb2.ValueType.Enum.ValueType """Type of the entity.""" - description: _builtins.str + description: builtins.str """Description of the entity.""" - join_key: _builtins.str + join_key: builtins.str """Join key for the entity (i.e. name of the column the entity maps to).""" - owner: _builtins.str - """Owner of the entity.""" - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """User defined metadata""" - + owner: builtins.str + """Owner of the entity.""" def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - value_type: _Value_pb2.ValueType.Enum.ValueType = ..., - description: _builtins.str = ..., - join_key: _builtins.str = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - owner: _builtins.str = ..., + name: builtins.str = ..., + project: builtins.str = ..., + value_type: feast.types.Value_pb2.ValueType.Enum.ValueType = ..., + description: builtins.str = ..., + join_key: builtins.str = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + owner: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "join_key", b"join_key", "name", b"name", "owner", b"owner", "project", b"project", "tags", b"tags", "value_type", b"value_type"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "join_key", b"join_key", "name", b"name", "owner", b"owner", "project", b"project", "tags", b"tags", "value_type", b"value_type"]) -> None: ... -Global___EntitySpecV2: _TypeAlias = EntitySpecV2 # noqa: Y015 +global___EntitySpecV2 = EntitySpecV2 -@_typing.final -class EntityMeta(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class EntityMeta(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - @_builtins.property - def created_timestamp(self) -> _timestamp_pb2.Timestamp: ... - @_builtins.property - def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: ... + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int + @property + def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> None: ... -Global___EntityMeta: _TypeAlias = EntityMeta # noqa: Y015 +global___EntityMeta = EntityMeta -@_typing.final -class EntityList(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class EntityList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - ENTITIES_FIELD_NUMBER: _builtins.int - @_builtins.property - def entities(self) -> _containers.RepeatedCompositeFieldContainer[Global___Entity]: ... + ENTITIES_FIELD_NUMBER: builtins.int + @property + def entities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Entity]: ... def __init__( self, *, - entities: _abc.Iterable[Global___Entity] | None = ..., + entities: collections.abc.Iterable[global___Entity] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["entities", b"entities"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["entities", b"entities"]) -> None: ... -Global___EntityList: _TypeAlias = EntityList # noqa: Y015 +global___EntityList = EntityList 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 41c56ee752..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/Entity_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Entity_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 9de2296120..7ef3607969 100644 --- a/sdk/python/feast/protos/feast/core/FeatureService_pb2.py +++ b/sdk/python/feast/protos/feast/core/FeatureService_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/FeatureService.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,12 +21,12 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.FeatureService_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\023FeatureServiceProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_FEATURESERVICESPEC_TAGSENTRY']._loaded_options = None + _globals['_FEATURESERVICESPEC_TAGSENTRY']._options = None _globals['_FEATURESERVICESPEC_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LOGGINGCONFIG_CUSTOMDESTINATION_CONFIGENTRY']._loaded_options = None + _globals['_LOGGINGCONFIG_CUSTOMDESTINATION_CONFIGENTRY']._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.pyi b/sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi index 125c198db4..6d5879e52c 100644 --- a/sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi @@ -2,349 +2,305 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -from collections import abc as _abc -from feast.core import FeatureViewProjection_pb2 as _FeatureViewProjection_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.core.FeatureViewProjection_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class FeatureService(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureService(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SPEC_FIELD_NUMBER: _builtins.int - META_FIELD_NUMBER: _builtins.int - @_builtins.property - def spec(self) -> Global___FeatureServiceSpec: + SPEC_FIELD_NUMBER: builtins.int + META_FIELD_NUMBER: builtins.int + @property + def spec(self) -> global___FeatureServiceSpec: """User-specified specifications of this feature service.""" - - @_builtins.property - def meta(self) -> Global___FeatureServiceMeta: + @property + def meta(self) -> global___FeatureServiceMeta: """System-populated metadata for this feature service.""" - def __init__( self, *, - spec: Global___FeatureServiceSpec | None = ..., - meta: Global___FeatureServiceMeta | None = ..., + spec: global___FeatureServiceSpec | None = ..., + meta: global___FeatureServiceMeta | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... -Global___FeatureService: _TypeAlias = FeatureService # noqa: Y015 +global___FeatureService = FeatureService -@_typing.final -class FeatureServiceSpec(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureServiceSpec(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - FEATURES_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - DESCRIPTION_FIELD_NUMBER: _builtins.int - OWNER_FIELD_NUMBER: _builtins.int - LOGGING_CONFIG_FIELD_NUMBER: _builtins.int - name: _builtins.str + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + FEATURES_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + OWNER_FIELD_NUMBER: builtins.int + LOGGING_CONFIG_FIELD_NUMBER: builtins.int + name: builtins.str """Name of the Feature Service. Must be unique. Not updated.""" - project: _builtins.str + project: builtins.str """Name of Feast project that this Feature Service belongs to.""" - description: _builtins.str - """Description of the feature service.""" - owner: _builtins.str - """Owner of the feature service.""" - @_builtins.property - def features(self) -> _containers.RepeatedCompositeFieldContainer[_FeatureViewProjection_pb2.FeatureViewProjection]: + @property + def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureViewProjection_pb2.FeatureViewProjection]: """Represents a projection that's to be applied on top of the FeatureView. Contains data such as the features to use from a FeatureView. """ - - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """User defined metadata""" - - @_builtins.property - def logging_config(self) -> Global___LoggingConfig: + description: builtins.str + """Description of the feature service.""" + owner: builtins.str + """Owner of the feature service.""" + @property + def logging_config(self) -> global___LoggingConfig: """(optional) if provided logging will be enabled for this feature service.""" - def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - features: _abc.Iterable[_FeatureViewProjection_pb2.FeatureViewProjection] | None = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - description: _builtins.str = ..., - owner: _builtins.str = ..., - logging_config: Global___LoggingConfig | None = ..., + name: builtins.str = ..., + project: builtins.str = ..., + features: collections.abc.Iterable[feast.core.FeatureViewProjection_pb2.FeatureViewProjection] | None = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + description: builtins.str = ..., + owner: builtins.str = ..., + logging_config: global___LoggingConfig | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["logging_config", b"logging_config"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "features", b"features", "logging_config", b"logging_config", "name", b"name", "owner", b"owner", "project", b"project", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["logging_config", b"logging_config"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "features", b"features", "logging_config", b"logging_config", "name", b"name", "owner", b"owner", "project", b"project", "tags", b"tags"]) -> None: ... -Global___FeatureServiceSpec: _TypeAlias = FeatureServiceSpec # noqa: Y015 +global___FeatureServiceSpec = FeatureServiceSpec -@_typing.final -class FeatureServiceMeta(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureServiceMeta(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - @_builtins.property - def created_timestamp(self) -> _timestamp_pb2.Timestamp: + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int + @property + def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time where this Feature Service is created""" - - @_builtins.property - def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: + @property + def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time where this Feature Service is last updated""" - def __init__( self, *, - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___FeatureServiceMeta: _TypeAlias = FeatureServiceMeta # noqa: Y015 - -@_typing.final -class LoggingConfig(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - @_typing.final - class FileDestination(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - PATH_FIELD_NUMBER: _builtins.int - S3_ENDPOINT_OVERRIDE_FIELD_NUMBER: _builtins.int - PARTITION_BY_FIELD_NUMBER: _builtins.int - path: _builtins.str - s3_endpoint_override: _builtins.str - @_builtins.property - def partition_by(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: - """column names to use for partitioning""" + def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> None: ... + +global___FeatureServiceMeta = FeatureServiceMeta + +class LoggingConfig(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + class FileDestination(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + PATH_FIELD_NUMBER: builtins.int + S3_ENDPOINT_OVERRIDE_FIELD_NUMBER: builtins.int + PARTITION_BY_FIELD_NUMBER: builtins.int + path: builtins.str + s3_endpoint_override: builtins.str + @property + def partition_by(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + """column names to use for partitioning""" def __init__( self, *, - path: _builtins.str = ..., - s3_endpoint_override: _builtins.str = ..., - partition_by: _abc.Iterable[_builtins.str] | None = ..., + path: builtins.str = ..., + s3_endpoint_override: builtins.str = ..., + partition_by: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["partition_by", b"partition_by", "path", b"path", "s3_endpoint_override", b"s3_endpoint_override"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["partition_by", b"partition_by", "path", b"path", "s3_endpoint_override", b"s3_endpoint_override"]) -> None: ... - @_typing.final - class BigQueryDestination(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class BigQueryDestination(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - TABLE_REF_FIELD_NUMBER: _builtins.int - table_ref: _builtins.str + TABLE_REF_FIELD_NUMBER: builtins.int + table_ref: builtins.str """Full table reference in the form of [project:dataset.table]""" def __init__( self, *, - table_ref: _builtins.str = ..., + table_ref: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["table_ref", b"table_ref"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["table_ref", b"table_ref"]) -> None: ... - @_typing.final - class RedshiftDestination(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class RedshiftDestination(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - TABLE_NAME_FIELD_NUMBER: _builtins.int - table_name: _builtins.str + TABLE_NAME_FIELD_NUMBER: builtins.int + table_name: builtins.str """Destination table name. ClusterId and database will be taken from an offline store config""" def __init__( self, *, - table_name: _builtins.str = ..., + table_name: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["table_name", b"table_name"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["table_name", b"table_name"]) -> None: ... - @_typing.final - class AthenaDestination(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class AthenaDestination(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - TABLE_NAME_FIELD_NUMBER: _builtins.int - table_name: _builtins.str + TABLE_NAME_FIELD_NUMBER: builtins.int + table_name: builtins.str """Destination table name. data_source and database will be taken from an offline store config""" def __init__( self, *, - table_name: _builtins.str = ..., + table_name: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["table_name", b"table_name"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["table_name", b"table_name"]) -> None: ... - @_typing.final - class SnowflakeDestination(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class SnowflakeDestination(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - TABLE_NAME_FIELD_NUMBER: _builtins.int - table_name: _builtins.str + TABLE_NAME_FIELD_NUMBER: builtins.int + table_name: builtins.str """Destination table name. Schema and database will be taken from an offline store config""" def __init__( self, *, - table_name: _builtins.str = ..., + table_name: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["table_name", b"table_name"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["table_name", b"table_name"]) -> None: ... - @_typing.final - class CustomDestination(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class CustomDestination(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class ConfigEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class ConfigEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - KIND_FIELD_NUMBER: _builtins.int - CONFIG_FIELD_NUMBER: _builtins.int - kind: _builtins.str - @_builtins.property - def config(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + KIND_FIELD_NUMBER: builtins.int + CONFIG_FIELD_NUMBER: builtins.int + kind: builtins.str + @property + def config(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... def __init__( self, *, - kind: _builtins.str = ..., - config: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + kind: builtins.str = ..., + config: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["config", b"config", "kind", b"kind"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "kind", b"kind"]) -> None: ... - @_typing.final - class CouchbaseColumnarDestination(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class CouchbaseColumnarDestination(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - DATABASE_FIELD_NUMBER: _builtins.int - SCOPE_FIELD_NUMBER: _builtins.int - COLLECTION_FIELD_NUMBER: _builtins.int - database: _builtins.str + DATABASE_FIELD_NUMBER: builtins.int + SCOPE_FIELD_NUMBER: builtins.int + COLLECTION_FIELD_NUMBER: builtins.int + database: builtins.str """Destination database name""" - scope: _builtins.str + scope: builtins.str """Destination scope name""" - collection: _builtins.str + collection: builtins.str """Destination collection name""" def __init__( self, *, - database: _builtins.str = ..., - scope: _builtins.str = ..., - collection: _builtins.str = ..., + database: builtins.str = ..., + scope: builtins.str = ..., + collection: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["collection", b"collection", "database", b"database", "scope", b"scope"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - SAMPLE_RATE_FIELD_NUMBER: _builtins.int - FILE_DESTINATION_FIELD_NUMBER: _builtins.int - BIGQUERY_DESTINATION_FIELD_NUMBER: _builtins.int - REDSHIFT_DESTINATION_FIELD_NUMBER: _builtins.int - SNOWFLAKE_DESTINATION_FIELD_NUMBER: _builtins.int - CUSTOM_DESTINATION_FIELD_NUMBER: _builtins.int - ATHENA_DESTINATION_FIELD_NUMBER: _builtins.int - COUCHBASE_COLUMNAR_DESTINATION_FIELD_NUMBER: _builtins.int - sample_rate: _builtins.float - @_builtins.property - def file_destination(self) -> Global___LoggingConfig.FileDestination: ... - @_builtins.property - def bigquery_destination(self) -> Global___LoggingConfig.BigQueryDestination: ... - @_builtins.property - def redshift_destination(self) -> Global___LoggingConfig.RedshiftDestination: ... - @_builtins.property - def snowflake_destination(self) -> Global___LoggingConfig.SnowflakeDestination: ... - @_builtins.property - def custom_destination(self) -> Global___LoggingConfig.CustomDestination: ... - @_builtins.property - def athena_destination(self) -> Global___LoggingConfig.AthenaDestination: ... - @_builtins.property - def couchbase_columnar_destination(self) -> Global___LoggingConfig.CouchbaseColumnarDestination: ... + def ClearField(self, field_name: typing_extensions.Literal["collection", b"collection", "database", b"database", "scope", b"scope"]) -> None: ... + + SAMPLE_RATE_FIELD_NUMBER: builtins.int + FILE_DESTINATION_FIELD_NUMBER: builtins.int + BIGQUERY_DESTINATION_FIELD_NUMBER: builtins.int + REDSHIFT_DESTINATION_FIELD_NUMBER: builtins.int + SNOWFLAKE_DESTINATION_FIELD_NUMBER: builtins.int + CUSTOM_DESTINATION_FIELD_NUMBER: builtins.int + ATHENA_DESTINATION_FIELD_NUMBER: builtins.int + COUCHBASE_COLUMNAR_DESTINATION_FIELD_NUMBER: builtins.int + sample_rate: builtins.float + @property + def file_destination(self) -> global___LoggingConfig.FileDestination: ... + @property + def bigquery_destination(self) -> global___LoggingConfig.BigQueryDestination: ... + @property + def redshift_destination(self) -> global___LoggingConfig.RedshiftDestination: ... + @property + def snowflake_destination(self) -> global___LoggingConfig.SnowflakeDestination: ... + @property + def custom_destination(self) -> global___LoggingConfig.CustomDestination: ... + @property + def athena_destination(self) -> global___LoggingConfig.AthenaDestination: ... + @property + def couchbase_columnar_destination(self) -> global___LoggingConfig.CouchbaseColumnarDestination: ... def __init__( self, *, - sample_rate: _builtins.float = ..., - file_destination: Global___LoggingConfig.FileDestination | None = ..., - bigquery_destination: Global___LoggingConfig.BigQueryDestination | None = ..., - redshift_destination: Global___LoggingConfig.RedshiftDestination | None = ..., - snowflake_destination: Global___LoggingConfig.SnowflakeDestination | None = ..., - custom_destination: Global___LoggingConfig.CustomDestination | None = ..., - athena_destination: Global___LoggingConfig.AthenaDestination | None = ..., - couchbase_columnar_destination: Global___LoggingConfig.CouchbaseColumnarDestination | None = ..., + sample_rate: builtins.float = ..., + file_destination: global___LoggingConfig.FileDestination | None = ..., + bigquery_destination: global___LoggingConfig.BigQueryDestination | None = ..., + redshift_destination: global___LoggingConfig.RedshiftDestination | None = ..., + snowflake_destination: global___LoggingConfig.SnowflakeDestination | None = ..., + custom_destination: global___LoggingConfig.CustomDestination | None = ..., + athena_destination: global___LoggingConfig.AthenaDestination | None = ..., + couchbase_columnar_destination: global___LoggingConfig.CouchbaseColumnarDestination | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["athena_destination", b"athena_destination", "bigquery_destination", b"bigquery_destination", "couchbase_columnar_destination", b"couchbase_columnar_destination", "custom_destination", b"custom_destination", "destination", b"destination", "file_destination", b"file_destination", "redshift_destination", b"redshift_destination", "snowflake_destination", b"snowflake_destination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["athena_destination", b"athena_destination", "bigquery_destination", b"bigquery_destination", "couchbase_columnar_destination", b"couchbase_columnar_destination", "custom_destination", b"custom_destination", "destination", b"destination", "file_destination", b"file_destination", "redshift_destination", b"redshift_destination", "sample_rate", b"sample_rate", "snowflake_destination", b"snowflake_destination"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_destination: _TypeAlias = _typing.Literal["file_destination", "bigquery_destination", "redshift_destination", "snowflake_destination", "custom_destination", "athena_destination", "couchbase_columnar_destination"] # noqa: Y015 - _WhichOneofArgType_destination: _TypeAlias = _typing.Literal["destination", b"destination"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_destination) -> _WhichOneofReturnType_destination | None: ... - -Global___LoggingConfig: _TypeAlias = LoggingConfig # noqa: Y015 - -@_typing.final -class FeatureServiceList(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - FEATURESERVICES_FIELD_NUMBER: _builtins.int - @_builtins.property - def featureservices(self) -> _containers.RepeatedCompositeFieldContainer[Global___FeatureService]: ... + def HasField(self, field_name: typing_extensions.Literal["athena_destination", b"athena_destination", "bigquery_destination", b"bigquery_destination", "couchbase_columnar_destination", b"couchbase_columnar_destination", "custom_destination", b"custom_destination", "destination", b"destination", "file_destination", b"file_destination", "redshift_destination", b"redshift_destination", "snowflake_destination", b"snowflake_destination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["athena_destination", b"athena_destination", "bigquery_destination", b"bigquery_destination", "couchbase_columnar_destination", b"couchbase_columnar_destination", "custom_destination", b"custom_destination", "destination", b"destination", "file_destination", b"file_destination", "redshift_destination", b"redshift_destination", "sample_rate", b"sample_rate", "snowflake_destination", b"snowflake_destination"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["destination", b"destination"]) -> typing_extensions.Literal["file_destination", "bigquery_destination", "redshift_destination", "snowflake_destination", "custom_destination", "athena_destination", "couchbase_columnar_destination"] | None: ... + +global___LoggingConfig = LoggingConfig + +class FeatureServiceList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + FEATURESERVICES_FIELD_NUMBER: builtins.int + @property + def featureservices(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FeatureService]: ... def __init__( self, *, - featureservices: _abc.Iterable[Global___FeatureService] | None = ..., + featureservices: collections.abc.Iterable[global___FeatureService] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["featureservices", b"featureservices"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["featureservices", b"featureservices"]) -> None: ... -Global___FeatureServiceList: _TypeAlias = FeatureServiceList # noqa: Y015 +global___FeatureServiceList = FeatureServiceList 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 22c23ae006..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/FeatureService_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/FeatureService_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 517eda50d9..713e72b5d3 100644 --- a/sdk/python/feast/protos/feast/core/FeatureTable_pb2.py +++ b/sdk/python/feast/protos/feast/core/FeatureTable_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/FeatureTable.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,10 +23,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.FeatureTable_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\021FeatureTableProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_FEATURETABLESPEC_LABELSENTRY']._loaded_options = None + _globals['_FEATURETABLESPEC_LABELSENTRY']._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.pyi b/sdk/python/feast/protos/feast/core/FeatureTable_pb2.pyi index c6ff726e50..dd41c2d214 100644 --- a/sdk/python/feast/protos/feast/core/FeatureTable_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureTable_pb2.pyi @@ -16,174 +16,151 @@ 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. """ - -from collections import abc as _abc -from feast.core import DataSource_pb2 as _DataSource_pb2 -from feast.core import Feature_pb2 as _Feature_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import duration_pb2 as _duration_pb2 -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.core.DataSource_pb2 +import feast.core.Feature_pb2 +import google.protobuf.descriptor +import google.protobuf.duration_pb2 +import google.protobuf.internal.containers +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class FeatureTable(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureTable(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SPEC_FIELD_NUMBER: _builtins.int - META_FIELD_NUMBER: _builtins.int - @_builtins.property - def spec(self) -> Global___FeatureTableSpec: + SPEC_FIELD_NUMBER: builtins.int + META_FIELD_NUMBER: builtins.int + @property + def spec(self) -> global___FeatureTableSpec: """User-specified specifications of this feature table.""" - - @_builtins.property - def meta(self) -> Global___FeatureTableMeta: + @property + def meta(self) -> global___FeatureTableMeta: """System-populated metadata for this feature table.""" - def __init__( self, *, - spec: Global___FeatureTableSpec | None = ..., - meta: Global___FeatureTableMeta | None = ..., + spec: global___FeatureTableSpec | None = ..., + meta: global___FeatureTableMeta | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... -Global___FeatureTable: _TypeAlias = FeatureTable # noqa: Y015 +global___FeatureTable = FeatureTable -@_typing.final -class FeatureTableSpec(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureTableSpec(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class LabelsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class LabelsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ENTITIES_FIELD_NUMBER: _builtins.int - FEATURES_FIELD_NUMBER: _builtins.int - LABELS_FIELD_NUMBER: _builtins.int - MAX_AGE_FIELD_NUMBER: _builtins.int - BATCH_SOURCE_FIELD_NUMBER: _builtins.int - STREAM_SOURCE_FIELD_NUMBER: _builtins.int - name: _builtins.str + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ENTITIES_FIELD_NUMBER: builtins.int + FEATURES_FIELD_NUMBER: builtins.int + LABELS_FIELD_NUMBER: builtins.int + MAX_AGE_FIELD_NUMBER: builtins.int + BATCH_SOURCE_FIELD_NUMBER: builtins.int + STREAM_SOURCE_FIELD_NUMBER: builtins.int + name: builtins.str """Name of the feature table. Must be unique. Not updated.""" - project: _builtins.str + project: builtins.str """Name of Feast project that this feature table belongs to.""" - @_builtins.property - def entities(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: + @property + def entities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List names of entities to associate with the Features defined in this Feature Table. Not updatable. """ - - @_builtins.property - def features(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: + @property + def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: """List of features specifications for each feature defined with this feature table.""" - - @_builtins.property - def labels(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + @property + def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """User defined metadata""" - - @_builtins.property - def max_age(self) -> _duration_pb2.Duration: + @property + def max_age(self) -> google.protobuf.duration_pb2.Duration: """Features in this feature table can only be retrieved from online serving younger than max age. Age is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside max age will be returned as unset values and indicated to end user """ - - @_builtins.property - def batch_source(self) -> _DataSource_pb2.DataSource: + @property + def batch_source(self) -> feast.core.DataSource_pb2.DataSource: """Batch/Offline DataSource to source batch/offline feature data. Only batch DataSource can be specified (ie source type should start with 'BATCH_') """ - - @_builtins.property - def stream_source(self) -> _DataSource_pb2.DataSource: + @property + def stream_source(self) -> feast.core.DataSource_pb2.DataSource: """Stream/Online DataSource to source stream/online feature data. Only stream DataSource can be specified (ie source type should start with 'STREAM_') """ - def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - entities: _abc.Iterable[_builtins.str] | None = ..., - features: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., - labels: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - max_age: _duration_pb2.Duration | None = ..., - batch_source: _DataSource_pb2.DataSource | None = ..., - stream_source: _DataSource_pb2.DataSource | None = ..., + name: builtins.str = ..., + project: builtins.str = ..., + entities: collections.abc.Iterable[builtins.str] | None = ..., + features: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., + labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + max_age: google.protobuf.duration_pb2.Duration | None = ..., + batch_source: feast.core.DataSource_pb2.DataSource | None = ..., + stream_source: feast.core.DataSource_pb2.DataSource | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "max_age", b"max_age", "stream_source", b"stream_source"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "entities", b"entities", "features", b"features", "labels", b"labels", "max_age", b"max_age", "name", b"name", "project", b"project", "stream_source", b"stream_source"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___FeatureTableSpec: _TypeAlias = FeatureTableSpec # noqa: Y015 - -@_typing.final -class FeatureTableMeta(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - REVISION_FIELD_NUMBER: _builtins.int - HASH_FIELD_NUMBER: _builtins.int - revision: _builtins.int + def HasField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "max_age", b"max_age", "stream_source", b"stream_source"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "entities", b"entities", "features", b"features", "labels", b"labels", "max_age", b"max_age", "name", b"name", "project", b"project", "stream_source", b"stream_source"]) -> None: ... + +global___FeatureTableSpec = FeatureTableSpec + +class FeatureTableMeta(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int + REVISION_FIELD_NUMBER: builtins.int + HASH_FIELD_NUMBER: builtins.int + @property + def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Time where this Feature Table is created""" + @property + def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Time where this Feature Table is last updated""" + revision: builtins.int """Auto incrementing revision no. of this Feature Table""" - hash: _builtins.str + hash: builtins.str """Hash entities, features, batch_source and stream_source to inform JobService if jobs should be restarted should hash change """ - @_builtins.property - def created_timestamp(self) -> _timestamp_pb2.Timestamp: - """Time where this Feature Table is created""" - - @_builtins.property - def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: - """Time where this Feature Table is last updated""" - def __init__( self, *, - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., - revision: _builtins.int = ..., - hash: _builtins.str = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + revision: builtins.int = ..., + hash: builtins.str = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "hash", b"hash", "last_updated_timestamp", b"last_updated_timestamp", "revision", b"revision"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "hash", b"hash", "last_updated_timestamp", b"last_updated_timestamp", "revision", b"revision"]) -> None: ... -Global___FeatureTableMeta: _TypeAlias = FeatureTableMeta # noqa: Y015 +global___FeatureTableMeta = FeatureTableMeta 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 b17a709ed0..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/FeatureTable_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/FeatureTable_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 abd8530945..b47d4fe392 100644 --- a/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.py +++ b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/FeatureViewProjection.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,10 +21,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.FeatureViewProjection_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\025FeatureReferenceProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_FEATUREVIEWPROJECTION_JOINKEYMAPENTRY']._loaded_options = None + _globals['_FEATUREVIEWPROJECTION_JOINKEYMAPENTRY']._options = None _globals['_FEATUREVIEWPROJECTION_JOINKEYMAPENTRY']._serialized_options = b'8\001' _globals['_FEATUREVIEWPROJECTION']._serialized_start=110 _globals['_FEATUREVIEWPROJECTION']._serialized_end=552 diff --git a/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi index b949beb7d3..6b44ad4a93 100644 --- a/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi @@ -2,97 +2,86 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -from collections import abc as _abc -from feast.core import DataSource_pb2 as _DataSource_pb2 -from feast.core import Feature_pb2 as _Feature_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.core.DataSource_pb2 +import feast.core.Feature_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class FeatureViewProjection(_message.Message): +class FeatureViewProjection(google.protobuf.message.Message): """A projection to be applied on top of a FeatureView. Contains the modifications to a FeatureView such as the features subset to use. """ - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class JoinKeyMapEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class JoinKeyMapEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - FEATURE_VIEW_NAME_FIELD_NUMBER: _builtins.int - FEATURE_VIEW_NAME_ALIAS_FIELD_NUMBER: _builtins.int - FEATURE_COLUMNS_FIELD_NUMBER: _builtins.int - JOIN_KEY_MAP_FIELD_NUMBER: _builtins.int - TIMESTAMP_FIELD_FIELD_NUMBER: _builtins.int - DATE_PARTITION_COLUMN_FIELD_NUMBER: _builtins.int - CREATED_TIMESTAMP_COLUMN_FIELD_NUMBER: _builtins.int - BATCH_SOURCE_FIELD_NUMBER: _builtins.int - STREAM_SOURCE_FIELD_NUMBER: _builtins.int - feature_view_name: _builtins.str + FEATURE_VIEW_NAME_FIELD_NUMBER: builtins.int + FEATURE_VIEW_NAME_ALIAS_FIELD_NUMBER: builtins.int + FEATURE_COLUMNS_FIELD_NUMBER: builtins.int + JOIN_KEY_MAP_FIELD_NUMBER: builtins.int + TIMESTAMP_FIELD_FIELD_NUMBER: builtins.int + DATE_PARTITION_COLUMN_FIELD_NUMBER: builtins.int + CREATED_TIMESTAMP_COLUMN_FIELD_NUMBER: builtins.int + BATCH_SOURCE_FIELD_NUMBER: builtins.int + STREAM_SOURCE_FIELD_NUMBER: builtins.int + feature_view_name: builtins.str """The feature view name""" - feature_view_name_alias: _builtins.str + feature_view_name_alias: builtins.str """Alias for feature view name""" - timestamp_field: _builtins.str - date_partition_column: _builtins.str - created_timestamp_column: _builtins.str - @_builtins.property - def feature_columns(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: + @property + def feature_columns(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: """The features of the feature view that are a part of the feature reference.""" - - @_builtins.property - def join_key_map(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + @property + def join_key_map(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Map for entity join_key overrides of feature data entity join_key to entity data join_key""" - - @_builtins.property - def batch_source(self) -> _DataSource_pb2.DataSource: + timestamp_field: builtins.str + date_partition_column: builtins.str + created_timestamp_column: builtins.str + @property + def batch_source(self) -> feast.core.DataSource_pb2.DataSource: """Batch/Offline DataSource where this view can retrieve offline feature data.""" - - @_builtins.property - def stream_source(self) -> _DataSource_pb2.DataSource: + @property + def stream_source(self) -> feast.core.DataSource_pb2.DataSource: """Streaming DataSource from where this view can consume "online" feature data.""" - def __init__( self, *, - feature_view_name: _builtins.str = ..., - feature_view_name_alias: _builtins.str = ..., - feature_columns: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., - join_key_map: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - timestamp_field: _builtins.str = ..., - date_partition_column: _builtins.str = ..., - created_timestamp_column: _builtins.str = ..., - batch_source: _DataSource_pb2.DataSource | None = ..., - stream_source: _DataSource_pb2.DataSource | None = ..., + feature_view_name: builtins.str = ..., + feature_view_name_alias: builtins.str = ..., + feature_columns: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., + join_key_map: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + timestamp_field: builtins.str = ..., + date_partition_column: builtins.str = ..., + created_timestamp_column: builtins.str = ..., + batch_source: feast.core.DataSource_pb2.DataSource | None = ..., + stream_source: feast.core.DataSource_pb2.DataSource | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "stream_source", b"stream_source"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "created_timestamp_column", b"created_timestamp_column", "date_partition_column", b"date_partition_column", "feature_columns", b"feature_columns", "feature_view_name", b"feature_view_name", "feature_view_name_alias", b"feature_view_name_alias", "join_key_map", b"join_key_map", "stream_source", b"stream_source", "timestamp_field", b"timestamp_field"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "stream_source", b"stream_source"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "created_timestamp_column", b"created_timestamp_column", "date_partition_column", b"date_partition_column", "feature_columns", b"feature_columns", "feature_view_name", b"feature_view_name", "feature_view_name_alias", b"feature_view_name_alias", "join_key_map", b"join_key_map", "stream_source", b"stream_source", "timestamp_field", b"timestamp_field"]) -> None: ... -Global___FeatureViewProjection: _TypeAlias = FeatureViewProjection # noqa: Y015 +global___FeatureViewProjection = FeatureViewProjection 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 ef8930ef6a..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' but the generated code in feast/core/FeatureViewProjection_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) diff --git a/sdk/python/feast/protos/feast/core/FeatureView_pb2.py b/sdk/python/feast/protos/feast/core/FeatureView_pb2.py index f1e8aa8720..0221a96031 100644 --- a/sdk/python/feast/protos/feast/core/FeatureView_pb2.py +++ b/sdk/python/feast/protos/feast/core/FeatureView_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/FeatureView.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,10 +24,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.FeatureView_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\020FeatureViewProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_FEATUREVIEWSPEC_TAGSENTRY']._loaded_options = None + _globals['_FEATUREVIEWSPEC_TAGSENTRY']._options = None _globals['_FEATUREVIEWSPEC_TAGSENTRY']._serialized_options = b'8\001' _globals['_FEATUREVIEW']._serialized_start=197 _globals['_FEATUREVIEW']._serialized_end=296 diff --git a/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi index d661760b02..c5a5439432 100644 --- a/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi @@ -16,253 +16,218 @@ 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. """ - -from collections import abc as _abc -from feast.core import DataSource_pb2 as _DataSource_pb2 -from feast.core import Feature_pb2 as _Feature_pb2 -from feast.core import Transformation_pb2 as _Transformation_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import duration_pb2 as _duration_pb2 -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.core.DataSource_pb2 +import feast.core.Feature_pb2 +import feast.core.Transformation_pb2 +import google.protobuf.descriptor +import google.protobuf.duration_pb2 +import google.protobuf.internal.containers +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class FeatureView(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureView(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SPEC_FIELD_NUMBER: _builtins.int - META_FIELD_NUMBER: _builtins.int - @_builtins.property - def spec(self) -> Global___FeatureViewSpec: + SPEC_FIELD_NUMBER: builtins.int + META_FIELD_NUMBER: builtins.int + @property + def spec(self) -> global___FeatureViewSpec: """User-specified specifications of this feature view.""" - - @_builtins.property - def meta(self) -> Global___FeatureViewMeta: + @property + def meta(self) -> global___FeatureViewMeta: """System-populated metadata for this feature view.""" - def __init__( self, *, - spec: Global___FeatureViewSpec | None = ..., - meta: Global___FeatureViewMeta | None = ..., + spec: global___FeatureViewSpec | None = ..., + meta: global___FeatureViewMeta | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... -Global___FeatureView: _TypeAlias = FeatureView # noqa: Y015 +global___FeatureView = FeatureView -@_typing.final -class FeatureViewSpec(_message.Message): +class FeatureViewSpec(google.protobuf.message.Message): """Next available id: 18 TODO(adchia): refactor common fields from this and ODFV into separate metadata proto """ - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ENTITIES_FIELD_NUMBER: _builtins.int - FEATURES_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - TTL_FIELD_NUMBER: _builtins.int - BATCH_SOURCE_FIELD_NUMBER: _builtins.int - ONLINE_FIELD_NUMBER: _builtins.int - STREAM_SOURCE_FIELD_NUMBER: _builtins.int - DESCRIPTION_FIELD_NUMBER: _builtins.int - OWNER_FIELD_NUMBER: _builtins.int - ENTITY_COLUMNS_FIELD_NUMBER: _builtins.int - OFFLINE_FIELD_NUMBER: _builtins.int - SOURCE_VIEWS_FIELD_NUMBER: _builtins.int - FEATURE_TRANSFORMATION_FIELD_NUMBER: _builtins.int - MODE_FIELD_NUMBER: _builtins.int - ENABLE_VALIDATION_FIELD_NUMBER: _builtins.int - name: _builtins.str + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ENTITIES_FIELD_NUMBER: builtins.int + FEATURES_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + TTL_FIELD_NUMBER: builtins.int + BATCH_SOURCE_FIELD_NUMBER: builtins.int + ONLINE_FIELD_NUMBER: builtins.int + STREAM_SOURCE_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + OWNER_FIELD_NUMBER: builtins.int + ENTITY_COLUMNS_FIELD_NUMBER: builtins.int + OFFLINE_FIELD_NUMBER: builtins.int + SOURCE_VIEWS_FIELD_NUMBER: builtins.int + FEATURE_TRANSFORMATION_FIELD_NUMBER: builtins.int + MODE_FIELD_NUMBER: builtins.int + ENABLE_VALIDATION_FIELD_NUMBER: builtins.int + name: builtins.str """Name of the feature view. Must be unique. Not updated.""" - project: _builtins.str + project: builtins.str """Name of Feast project that this feature view belongs to.""" - online: _builtins.bool - """Whether these features should be served online or not - This is also used to determine whether the features should be written to the online store - """ - description: _builtins.str - """Description of the feature view.""" - owner: _builtins.str - """Owner of the feature view.""" - offline: _builtins.bool - """Whether these features should be written to the offline store""" - mode: _builtins.str - """The transformation mode (e.g., "python", "pandas", "spark", "sql", "ray")""" - enable_validation: _builtins.bool - """Whether schema validation is enabled during materialization""" - @_builtins.property - def entities(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: + @property + def entities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of names of entities associated with this feature view.""" - - @_builtins.property - def features(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: + @property + def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: """List of specifications for each feature defined as part of this feature view.""" - - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """User defined metadata""" - - @_builtins.property - def ttl(self) -> _duration_pb2.Duration: + @property + def ttl(self) -> google.protobuf.duration_pb2.Duration: """Features in this feature view can only be retrieved from online serving younger than ttl. Ttl is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside ttl will be returned as unset values and indicated to end user """ - - @_builtins.property - def batch_source(self) -> _DataSource_pb2.DataSource: - """Batch/Offline DataSource where this view can retrieve offline feature data. - Optional: if not set, the feature view has no associated batch data source (e.g. purely derived views). - """ - - @_builtins.property - def stream_source(self) -> _DataSource_pb2.DataSource: - """Streaming DataSource from where this view can consume "online" feature data. - Optional: only required for streaming feature views. - """ - - @_builtins.property - def entity_columns(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: + @property + def batch_source(self) -> feast.core.DataSource_pb2.DataSource: + """Batch/Offline DataSource where this view can retrieve offline feature data.""" + online: builtins.bool + """Whether these features should be served online or not + This is also used to determine whether the features should be written to the online store + """ + @property + def stream_source(self) -> feast.core.DataSource_pb2.DataSource: + """Streaming DataSource from where this view can consume "online" feature data.""" + description: builtins.str + """Description of the feature view.""" + owner: builtins.str + """Owner of the feature view.""" + @property + def entity_columns(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: """List of specifications for each entity defined as part of this feature view.""" - - @_builtins.property - def source_views(self) -> _containers.RepeatedCompositeFieldContainer[Global___FeatureViewSpec]: ... - @_builtins.property - def feature_transformation(self) -> _Transformation_pb2.FeatureTransformationV2: + offline: builtins.bool + """Whether these features should be written to the offline store""" + @property + def source_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FeatureViewSpec]: ... + @property + def feature_transformation(self) -> feast.core.Transformation_pb2.FeatureTransformationV2: """Feature transformation for batch feature views""" - + mode: builtins.str + """The transformation mode (e.g., "python", "pandas", "spark", "sql", "ray")""" + enable_validation: builtins.bool + """Whether schema validation is enabled during materialization""" def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - entities: _abc.Iterable[_builtins.str] | None = ..., - features: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - ttl: _duration_pb2.Duration | None = ..., - batch_source: _DataSource_pb2.DataSource | None = ..., - online: _builtins.bool = ..., - stream_source: _DataSource_pb2.DataSource | None = ..., - description: _builtins.str = ..., - owner: _builtins.str = ..., - entity_columns: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., - offline: _builtins.bool = ..., - source_views: _abc.Iterable[Global___FeatureViewSpec] | None = ..., - feature_transformation: _Transformation_pb2.FeatureTransformationV2 | None = ..., - mode: _builtins.str = ..., - enable_validation: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + entities: collections.abc.Iterable[builtins.str] | None = ..., + features: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + ttl: google.protobuf.duration_pb2.Duration | None = ..., + batch_source: feast.core.DataSource_pb2.DataSource | None = ..., + online: builtins.bool = ..., + stream_source: feast.core.DataSource_pb2.DataSource | None = ..., + description: builtins.str = ..., + owner: builtins.str = ..., + entity_columns: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., + offline: builtins.bool = ..., + source_views: collections.abc.Iterable[global___FeatureViewSpec] | None = ..., + feature_transformation: feast.core.Transformation_pb2.FeatureTransformationV2 | None = ..., + mode: builtins.str = ..., + enable_validation: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "feature_transformation", b"feature_transformation", "stream_source", b"stream_source", "ttl", b"ttl"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "description", b"description", "enable_validation", b"enable_validation", "entities", b"entities", "entity_columns", b"entity_columns", "feature_transformation", b"feature_transformation", "features", b"features", "mode", b"mode", "name", b"name", "offline", b"offline", "online", b"online", "owner", b"owner", "project", b"project", "source_views", b"source_views", "stream_source", b"stream_source", "tags", b"tags", "ttl", b"ttl"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "feature_transformation", b"feature_transformation", "stream_source", b"stream_source", "ttl", b"ttl"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "description", b"description", "enable_validation", b"enable_validation", "entities", b"entities", "entity_columns", b"entity_columns", "feature_transformation", b"feature_transformation", "features", b"features", "mode", b"mode", "name", b"name", "offline", b"offline", "online", b"online", "owner", b"owner", "project", b"project", "source_views", b"source_views", "stream_source", b"stream_source", "tags", b"tags", "ttl", b"ttl"]) -> None: ... -Global___FeatureViewSpec: _TypeAlias = FeatureViewSpec # noqa: Y015 +global___FeatureViewSpec = FeatureViewSpec -@_typing.final -class FeatureViewMeta(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureViewMeta(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - MATERIALIZATION_INTERVALS_FIELD_NUMBER: _builtins.int - @_builtins.property - def created_timestamp(self) -> _timestamp_pb2.Timestamp: + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int + MATERIALIZATION_INTERVALS_FIELD_NUMBER: builtins.int + @property + def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time where this Feature View is created""" - - @_builtins.property - def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: + @property + def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time where this Feature View is last updated""" - - @_builtins.property - def materialization_intervals(self) -> _containers.RepeatedCompositeFieldContainer[Global___MaterializationInterval]: + @property + def materialization_intervals(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MaterializationInterval]: """List of pairs (start_time, end_time) for which this feature view has been materialized.""" - def __init__( self, *, - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., - materialization_intervals: _abc.Iterable[Global___MaterializationInterval] | None = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + materialization_intervals: collections.abc.Iterable[global___MaterializationInterval] | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp", "materialization_intervals", b"materialization_intervals"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp", "materialization_intervals", b"materialization_intervals"]) -> None: ... -Global___FeatureViewMeta: _TypeAlias = FeatureViewMeta # noqa: Y015 +global___FeatureViewMeta = FeatureViewMeta -@_typing.final -class MaterializationInterval(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class MaterializationInterval(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - START_TIME_FIELD_NUMBER: _builtins.int - END_TIME_FIELD_NUMBER: _builtins.int - @_builtins.property - def start_time(self) -> _timestamp_pb2.Timestamp: ... - @_builtins.property - def end_time(self) -> _timestamp_pb2.Timestamp: ... + START_TIME_FIELD_NUMBER: builtins.int + END_TIME_FIELD_NUMBER: builtins.int + @property + def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, - start_time: _timestamp_pb2.Timestamp | None = ..., - end_time: _timestamp_pb2.Timestamp | None = ..., + start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + end_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["end_time", b"end_time", "start_time", b"start_time"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["end_time", b"end_time", "start_time", b"start_time"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "start_time", b"start_time"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["end_time", b"end_time", "start_time", b"start_time"]) -> None: ... -Global___MaterializationInterval: _TypeAlias = MaterializationInterval # noqa: Y015 +global___MaterializationInterval = MaterializationInterval -@_typing.final -class FeatureViewList(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureViewList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FEATUREVIEWS_FIELD_NUMBER: _builtins.int - @_builtins.property - def featureviews(self) -> _containers.RepeatedCompositeFieldContainer[Global___FeatureView]: ... + FEATUREVIEWS_FIELD_NUMBER: builtins.int + @property + def featureviews(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FeatureView]: ... def __init__( self, *, - featureviews: _abc.Iterable[Global___FeatureView] | None = ..., + featureviews: collections.abc.Iterable[global___FeatureView] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["featureviews", b"featureviews"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["featureviews", b"featureviews"]) -> None: ... -Global___FeatureViewList: _TypeAlias = FeatureViewList # noqa: Y015 +global___FeatureViewList = FeatureViewList 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 b2326b7e6b..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/FeatureView_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/FeatureView_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 deccf07c5d..a02bb7ff40 100644 --- a/sdk/python/feast/protos/feast/core/Feature_pb2.py +++ b/sdk/python/feast/protos/feast/core/Feature_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/Feature.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,10 +20,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Feature_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\014FeatureProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_FEATURESPECV2_TAGSENTRY']._loaded_options = None + _globals['_FEATURESPECV2_TAGSENTRY']._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.pyi b/sdk/python/feast/protos/feast/core/Feature_pb2.pyi index 4ee9f23ea4..aa56630424 100644 --- a/sdk/python/feast/protos/feast/core/Feature_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Feature_pb2.pyi @@ -16,79 +16,72 @@ 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. """ - -from collections import abc as _abc -from feast.types import Value_pb2 as _Value_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.types.Value_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class FeatureSpecV2(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureSpecV2(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - NAME_FIELD_NUMBER: _builtins.int - VALUE_TYPE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - DESCRIPTION_FIELD_NUMBER: _builtins.int - VECTOR_INDEX_FIELD_NUMBER: _builtins.int - VECTOR_SEARCH_METRIC_FIELD_NUMBER: _builtins.int - VECTOR_LENGTH_FIELD_NUMBER: _builtins.int - name: _builtins.str + NAME_FIELD_NUMBER: builtins.int + VALUE_TYPE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + VECTOR_INDEX_FIELD_NUMBER: builtins.int + VECTOR_SEARCH_METRIC_FIELD_NUMBER: builtins.int + VECTOR_LENGTH_FIELD_NUMBER: builtins.int + name: builtins.str """Name of the feature. Not updatable.""" - value_type: _Value_pb2.ValueType.Enum.ValueType + value_type: feast.types.Value_pb2.ValueType.Enum.ValueType """Value type of the feature. Not updatable.""" - description: _builtins.str + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + """Tags for user defined metadata on a feature""" + description: builtins.str """Description of the feature.""" - vector_index: _builtins.bool + vector_index: builtins.bool """Field indicating the vector will be indexed for vector similarity search""" - vector_search_metric: _builtins.str + vector_search_metric: builtins.str """Metric used for vector similarity search.""" - vector_length: _builtins.int + vector_length: builtins.int """Field indicating the vector length""" - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: - """Tags for user defined metadata on a feature""" - def __init__( self, *, - name: _builtins.str = ..., - value_type: _Value_pb2.ValueType.Enum.ValueType = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - description: _builtins.str = ..., - vector_index: _builtins.bool = ..., - vector_search_metric: _builtins.str = ..., - vector_length: _builtins.int = ..., + name: builtins.str = ..., + value_type: feast.types.Value_pb2.ValueType.Enum.ValueType = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + description: builtins.str = ..., + vector_index: builtins.bool = ..., + vector_search_metric: builtins.str = ..., + vector_length: builtins.int = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "name", b"name", "tags", b"tags", "value_type", b"value_type", "vector_index", b"vector_index", "vector_length", b"vector_length", "vector_search_metric", b"vector_search_metric"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name", "tags", b"tags", "value_type", b"value_type", "vector_index", b"vector_index", "vector_length", b"vector_length", "vector_search_metric", b"vector_search_metric"]) -> None: ... -Global___FeatureSpecV2: _TypeAlias = FeatureSpecV2 # noqa: Y015 +global___FeatureSpecV2 = FeatureSpecV2 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 9e9ce966f1..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/Feature_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Feature_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 0fd87d4b3c..aeea27f2e0 100644 --- a/sdk/python/feast/protos/feast/core/InfraObject_pb2.py +++ b/sdk/python/feast/protos/feast/core/InfraObject_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/InfraObject.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,8 +21,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.InfraObject_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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.pyi b/sdk/python/feast/protos/feast/core/InfraObject_pb2.pyi index cc9a419318..f0a704c604 100644 --- a/sdk/python/feast/protos/feast/core/InfraObject_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/InfraObject_pb2.pyi @@ -16,93 +16,81 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ - -from collections import abc as _abc -from feast.core import DatastoreTable_pb2 as _DatastoreTable_pb2 -from feast.core import SqliteTable_pb2 as _SqliteTable_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.core.DatastoreTable_pb2 +import feast.core.SqliteTable_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class Infra(_message.Message): +class Infra(google.protobuf.message.Message): """Represents a set of infrastructure objects managed by Feast""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - INFRA_OBJECTS_FIELD_NUMBER: _builtins.int - @_builtins.property - def infra_objects(self) -> _containers.RepeatedCompositeFieldContainer[Global___InfraObject]: + INFRA_OBJECTS_FIELD_NUMBER: builtins.int + @property + def infra_objects(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___InfraObject]: """List of infrastructure objects managed by Feast""" - def __init__( self, *, - infra_objects: _abc.Iterable[Global___InfraObject] | None = ..., + infra_objects: collections.abc.Iterable[global___InfraObject] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["infra_objects", b"infra_objects"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["infra_objects", b"infra_objects"]) -> None: ... -Global___Infra: _TypeAlias = Infra # noqa: Y015 +global___Infra = Infra -@_typing.final -class InfraObject(_message.Message): +class InfraObject(google.protobuf.message.Message): """Represents a single infrastructure object managed by Feast""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class CustomInfra(_message.Message): + class CustomInfra(google.protobuf.message.Message): """Allows for custom infra objects to be added""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FIELD_FIELD_NUMBER: _builtins.int - field: _builtins.bytes + FIELD_FIELD_NUMBER: builtins.int + field: builtins.bytes def __init__( self, *, - field: _builtins.bytes = ..., + field: builtins.bytes = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["field", b"field"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["field", b"field"]) -> None: ... - INFRA_OBJECT_CLASS_TYPE_FIELD_NUMBER: _builtins.int - DATASTORE_TABLE_FIELD_NUMBER: _builtins.int - SQLITE_TABLE_FIELD_NUMBER: _builtins.int - CUSTOM_INFRA_FIELD_NUMBER: _builtins.int - infra_object_class_type: _builtins.str + INFRA_OBJECT_CLASS_TYPE_FIELD_NUMBER: builtins.int + DATASTORE_TABLE_FIELD_NUMBER: builtins.int + SQLITE_TABLE_FIELD_NUMBER: builtins.int + CUSTOM_INFRA_FIELD_NUMBER: builtins.int + infra_object_class_type: builtins.str """Represents the Python class for the infrastructure object""" - @_builtins.property - def datastore_table(self) -> _DatastoreTable_pb2.DatastoreTable: ... - @_builtins.property - def sqlite_table(self) -> _SqliteTable_pb2.SqliteTable: ... - @_builtins.property - def custom_infra(self) -> Global___InfraObject.CustomInfra: ... + @property + def datastore_table(self) -> feast.core.DatastoreTable_pb2.DatastoreTable: ... + @property + def sqlite_table(self) -> feast.core.SqliteTable_pb2.SqliteTable: ... + @property + def custom_infra(self) -> global___InfraObject.CustomInfra: ... def __init__( self, *, - infra_object_class_type: _builtins.str = ..., - datastore_table: _DatastoreTable_pb2.DatastoreTable | None = ..., - sqlite_table: _SqliteTable_pb2.SqliteTable | None = ..., - custom_infra: Global___InfraObject.CustomInfra | None = ..., + infra_object_class_type: builtins.str = ..., + datastore_table: feast.core.DatastoreTable_pb2.DatastoreTable | None = ..., + sqlite_table: feast.core.SqliteTable_pb2.SqliteTable | None = ..., + custom_infra: global___InfraObject.CustomInfra | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["custom_infra", b"custom_infra", "datastore_table", b"datastore_table", "infra_object", b"infra_object", "sqlite_table", b"sqlite_table"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["custom_infra", b"custom_infra", "datastore_table", b"datastore_table", "infra_object", b"infra_object", "infra_object_class_type", b"infra_object_class_type", "sqlite_table", b"sqlite_table"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_infra_object: _TypeAlias = _typing.Literal["datastore_table", "sqlite_table", "custom_infra"] # noqa: Y015 - _WhichOneofArgType_infra_object: _TypeAlias = _typing.Literal["infra_object", b"infra_object"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_infra_object) -> _WhichOneofReturnType_infra_object | None: ... + def HasField(self, field_name: typing_extensions.Literal["custom_infra", b"custom_infra", "datastore_table", b"datastore_table", "infra_object", b"infra_object", "sqlite_table", b"sqlite_table"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["custom_infra", b"custom_infra", "datastore_table", b"datastore_table", "infra_object", b"infra_object", "infra_object_class_type", b"infra_object_class_type", "sqlite_table", b"sqlite_table"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["infra_object", b"infra_object"]) -> typing_extensions.Literal["datastore_table", "sqlite_table", "custom_infra"] | None: ... -Global___InfraObject: _TypeAlias = InfraObject # noqa: Y015 +global___InfraObject = InfraObject 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 f316a8e9d1..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/InfraObject_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/InfraObject_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' but the generated code in feast/core/InfraObject_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) diff --git a/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.py b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.py index cfe0d85717..5b8ec9b11f 100644 --- a/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.py +++ b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/OnDemandFeatureView.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -36,16 +26,16 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.OnDemandFeatureView_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\030OnDemandFeatureViewProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_ONDEMANDFEATUREVIEWSPEC_SOURCESENTRY']._loaded_options = None + _globals['_ONDEMANDFEATUREVIEWSPEC_SOURCESENTRY']._options = None _globals['_ONDEMANDFEATUREVIEWSPEC_SOURCESENTRY']._serialized_options = b'8\001' - _globals['_ONDEMANDFEATUREVIEWSPEC_TAGSENTRY']._loaded_options = None + _globals['_ONDEMANDFEATUREVIEWSPEC_TAGSENTRY']._options = None _globals['_ONDEMANDFEATUREVIEWSPEC_TAGSENTRY']._serialized_options = b'8\001' - _globals['_ONDEMANDFEATUREVIEWSPEC'].fields_by_name['user_defined_function']._loaded_options = None + _globals['_ONDEMANDFEATUREVIEWSPEC'].fields_by_name['user_defined_function']._options = None _globals['_ONDEMANDFEATUREVIEWSPEC'].fields_by_name['user_defined_function']._serialized_options = b'\030\001' - _globals['_USERDEFINEDFUNCTION']._loaded_options = None + _globals['_USERDEFINEDFUNCTION']._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.pyi b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.pyi index 0166f01c25..c424c442ee 100644 --- a/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.pyi @@ -16,283 +16,241 @@ 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. """ - -from collections import abc as _abc -from feast.core import Aggregation_pb2 as _Aggregation_pb2 -from feast.core import DataSource_pb2 as _DataSource_pb2 -from feast.core import FeatureViewProjection_pb2 as _FeatureViewProjection_pb2 -from feast.core import FeatureView_pb2 as _FeatureView_pb2 -from feast.core import Feature_pb2 as _Feature_pb2 -from feast.core import Transformation_pb2 as _Transformation_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.core.Aggregation_pb2 +import feast.core.DataSource_pb2 +import feast.core.FeatureViewProjection_pb2 +import feast.core.FeatureView_pb2 +import feast.core.Feature_pb2 +import feast.core.Transformation_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing - -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias -else: - from typing_extensions import TypeAlias as _TypeAlias -if sys.version_info >= (3, 13): - from warnings import deprecated as _deprecated +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import deprecated as _deprecated + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class OnDemandFeatureView(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class OnDemandFeatureView(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SPEC_FIELD_NUMBER: _builtins.int - META_FIELD_NUMBER: _builtins.int - @_builtins.property - def spec(self) -> Global___OnDemandFeatureViewSpec: + SPEC_FIELD_NUMBER: builtins.int + META_FIELD_NUMBER: builtins.int + @property + def spec(self) -> global___OnDemandFeatureViewSpec: """User-specified specifications of this feature view.""" - - @_builtins.property - def meta(self) -> Global___OnDemandFeatureViewMeta: ... + @property + def meta(self) -> global___OnDemandFeatureViewMeta: ... def __init__( self, *, - spec: Global___OnDemandFeatureViewSpec | None = ..., - meta: Global___OnDemandFeatureViewMeta | None = ..., + spec: global___OnDemandFeatureViewSpec | None = ..., + meta: global___OnDemandFeatureViewMeta | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... -Global___OnDemandFeatureView: _TypeAlias = OnDemandFeatureView # noqa: Y015 +global___OnDemandFeatureView = OnDemandFeatureView -@_typing.final -class OnDemandFeatureViewSpec(_message.Message): +class OnDemandFeatureViewSpec(google.protobuf.message.Message): """Next available id: 9""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class SourcesEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class SourcesEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - @_builtins.property - def value(self) -> Global___OnDemandSource: ... + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + @property + def value(self) -> global___OnDemandSource: ... def __init__( self, *, - key: _builtins.str = ..., - value: Global___OnDemandSource | None = ..., + key: builtins.str = ..., + value: global___OnDemandSource | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - FEATURES_FIELD_NUMBER: _builtins.int - SOURCES_FIELD_NUMBER: _builtins.int - USER_DEFINED_FUNCTION_FIELD_NUMBER: _builtins.int - FEATURE_TRANSFORMATION_FIELD_NUMBER: _builtins.int - DESCRIPTION_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - OWNER_FIELD_NUMBER: _builtins.int - MODE_FIELD_NUMBER: _builtins.int - WRITE_TO_ONLINE_STORE_FIELD_NUMBER: _builtins.int - ENTITIES_FIELD_NUMBER: _builtins.int - ENTITY_COLUMNS_FIELD_NUMBER: _builtins.int - SINGLETON_FIELD_NUMBER: _builtins.int - AGGREGATIONS_FIELD_NUMBER: _builtins.int - name: _builtins.str + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + FEATURES_FIELD_NUMBER: builtins.int + SOURCES_FIELD_NUMBER: builtins.int + USER_DEFINED_FUNCTION_FIELD_NUMBER: builtins.int + FEATURE_TRANSFORMATION_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + OWNER_FIELD_NUMBER: builtins.int + MODE_FIELD_NUMBER: builtins.int + WRITE_TO_ONLINE_STORE_FIELD_NUMBER: builtins.int + ENTITIES_FIELD_NUMBER: builtins.int + ENTITY_COLUMNS_FIELD_NUMBER: builtins.int + SINGLETON_FIELD_NUMBER: builtins.int + AGGREGATIONS_FIELD_NUMBER: builtins.int + name: builtins.str """Name of the feature view. Must be unique. Not updated.""" - project: _builtins.str + project: builtins.str """Name of Feast project that this feature view belongs to.""" - description: _builtins.str - """Description of the on demand feature view.""" - owner: _builtins.str - """Owner of the on demand feature view.""" - mode: _builtins.str - write_to_online_store: _builtins.bool - singleton: _builtins.bool - @_builtins.property - def features(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: + @property + def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: """List of features specifications for each feature defined with this feature view.""" - - @_builtins.property - def sources(self) -> _containers.MessageMap[_builtins.str, Global___OnDemandSource]: + @property + def sources(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___OnDemandSource]: """Map of sources for this feature view.""" - - @_builtins.property - @_deprecated("""This field has been marked as deprecated using proto field options.""") - def user_defined_function(self) -> Global___UserDefinedFunction: ... - @_builtins.property - def feature_transformation(self) -> _Transformation_pb2.FeatureTransformationV2: + @property + def user_defined_function(self) -> global___UserDefinedFunction: ... + @property + def feature_transformation(self) -> feast.core.Transformation_pb2.FeatureTransformationV2: """Oneof with {user_defined_function, on_demand_substrait_transformation}""" - - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + description: builtins.str + """Description of the on demand feature view.""" + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """User defined metadata.""" - - @_builtins.property - def entities(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: + owner: builtins.str + """Owner of the on demand feature view.""" + mode: builtins.str + write_to_online_store: builtins.bool + @property + def entities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of names of entities associated with this feature view.""" - - @_builtins.property - def entity_columns(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: + @property + def entity_columns(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: """List of specifications for each entity defined as part of this feature view.""" - - @_builtins.property - def aggregations(self) -> _containers.RepeatedCompositeFieldContainer[_Aggregation_pb2.Aggregation]: + singleton: builtins.bool + @property + def aggregations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Aggregation_pb2.Aggregation]: """Aggregation definitions""" - def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - features: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., - sources: _abc.Mapping[_builtins.str, Global___OnDemandSource] | None = ..., - user_defined_function: Global___UserDefinedFunction | None = ..., - feature_transformation: _Transformation_pb2.FeatureTransformationV2 | None = ..., - description: _builtins.str = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - owner: _builtins.str = ..., - mode: _builtins.str = ..., - write_to_online_store: _builtins.bool = ..., - entities: _abc.Iterable[_builtins.str] | None = ..., - entity_columns: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., - singleton: _builtins.bool = ..., - aggregations: _abc.Iterable[_Aggregation_pb2.Aggregation] | None = ..., + name: builtins.str = ..., + project: builtins.str = ..., + features: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., + sources: collections.abc.Mapping[builtins.str, global___OnDemandSource] | None = ..., + user_defined_function: global___UserDefinedFunction | None = ..., + feature_transformation: feast.core.Transformation_pb2.FeatureTransformationV2 | None = ..., + description: builtins.str = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + owner: builtins.str = ..., + mode: builtins.str = ..., + write_to_online_store: builtins.bool = ..., + entities: collections.abc.Iterable[builtins.str] | None = ..., + entity_columns: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., + singleton: builtins.bool = ..., + aggregations: collections.abc.Iterable[feast.core.Aggregation_pb2.Aggregation] | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["feature_transformation", b"feature_transformation", "user_defined_function", b"user_defined_function"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["aggregations", b"aggregations", "description", b"description", "entities", b"entities", "entity_columns", b"entity_columns", "feature_transformation", b"feature_transformation", "features", b"features", "mode", b"mode", "name", b"name", "owner", b"owner", "project", b"project", "singleton", b"singleton", "sources", b"sources", "tags", b"tags", "user_defined_function", b"user_defined_function", "write_to_online_store", b"write_to_online_store"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["feature_transformation", b"feature_transformation", "user_defined_function", b"user_defined_function"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["aggregations", b"aggregations", "description", b"description", "entities", b"entities", "entity_columns", b"entity_columns", "feature_transformation", b"feature_transformation", "features", b"features", "mode", b"mode", "name", b"name", "owner", b"owner", "project", b"project", "singleton", b"singleton", "sources", b"sources", "tags", b"tags", "user_defined_function", b"user_defined_function", "write_to_online_store", b"write_to_online_store"]) -> None: ... -Global___OnDemandFeatureViewSpec: _TypeAlias = OnDemandFeatureViewSpec # noqa: Y015 +global___OnDemandFeatureViewSpec = OnDemandFeatureViewSpec -@_typing.final -class OnDemandFeatureViewMeta(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class OnDemandFeatureViewMeta(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - @_builtins.property - def created_timestamp(self) -> _timestamp_pb2.Timestamp: + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int + @property + def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time where this Feature View is created""" - - @_builtins.property - def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: + @property + def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time where this Feature View is last updated""" - def __init__( self, *, - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___OnDemandFeatureViewMeta: _TypeAlias = OnDemandFeatureViewMeta # noqa: Y015 - -@_typing.final -class OnDemandSource(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - FEATURE_VIEW_FIELD_NUMBER: _builtins.int - FEATURE_VIEW_PROJECTION_FIELD_NUMBER: _builtins.int - REQUEST_DATA_SOURCE_FIELD_NUMBER: _builtins.int - @_builtins.property - def feature_view(self) -> _FeatureView_pb2.FeatureView: ... - @_builtins.property - def feature_view_projection(self) -> _FeatureViewProjection_pb2.FeatureViewProjection: ... - @_builtins.property - def request_data_source(self) -> _DataSource_pb2.DataSource: ... + def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> None: ... + +global___OnDemandFeatureViewMeta = OnDemandFeatureViewMeta + +class OnDemandSource(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + FEATURE_VIEW_FIELD_NUMBER: builtins.int + FEATURE_VIEW_PROJECTION_FIELD_NUMBER: builtins.int + REQUEST_DATA_SOURCE_FIELD_NUMBER: builtins.int + @property + def feature_view(self) -> feast.core.FeatureView_pb2.FeatureView: ... + @property + def feature_view_projection(self) -> feast.core.FeatureViewProjection_pb2.FeatureViewProjection: ... + @property + def request_data_source(self) -> feast.core.DataSource_pb2.DataSource: ... def __init__( self, *, - feature_view: _FeatureView_pb2.FeatureView | None = ..., - feature_view_projection: _FeatureViewProjection_pb2.FeatureViewProjection | None = ..., - request_data_source: _DataSource_pb2.DataSource | None = ..., + feature_view: feast.core.FeatureView_pb2.FeatureView | None = ..., + feature_view_projection: feast.core.FeatureViewProjection_pb2.FeatureViewProjection | None = ..., + request_data_source: feast.core.DataSource_pb2.DataSource | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["feature_view", b"feature_view", "feature_view_projection", b"feature_view_projection", "request_data_source", b"request_data_source", "source", b"source"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_view", b"feature_view", "feature_view_projection", b"feature_view_projection", "request_data_source", b"request_data_source", "source", b"source"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_source: _TypeAlias = _typing.Literal["feature_view", "feature_view_projection", "request_data_source"] # noqa: Y015 - _WhichOneofArgType_source: _TypeAlias = _typing.Literal["source", b"source"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_source) -> _WhichOneofReturnType_source | None: ... + def HasField(self, field_name: typing_extensions.Literal["feature_view", b"feature_view", "feature_view_projection", b"feature_view_projection", "request_data_source", b"request_data_source", "source", b"source"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["feature_view", b"feature_view", "feature_view_projection", b"feature_view_projection", "request_data_source", b"request_data_source", "source", b"source"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["source", b"source"]) -> typing_extensions.Literal["feature_view", "feature_view_projection", "request_data_source"] | None: ... -Global___OnDemandSource: _TypeAlias = OnDemandSource # noqa: Y015 +global___OnDemandSource = OnDemandSource -@_deprecated("""This message has been marked as deprecated using proto message options.""") -@_typing.final -class UserDefinedFunction(_message.Message): +class UserDefinedFunction(google.protobuf.message.Message): """Serialized representation of python function.""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - BODY_FIELD_NUMBER: _builtins.int - BODY_TEXT_FIELD_NUMBER: _builtins.int - name: _builtins.str + NAME_FIELD_NUMBER: builtins.int + BODY_FIELD_NUMBER: builtins.int + BODY_TEXT_FIELD_NUMBER: builtins.int + name: builtins.str """The function name""" - body: _builtins.bytes + body: builtins.bytes """The python-syntax function body (serialized by dill)""" - body_text: _builtins.str + body_text: builtins.str """The string representation of the udf""" def __init__( self, *, - name: _builtins.str = ..., - body: _builtins.bytes = ..., - body_text: _builtins.str = ..., + name: builtins.str = ..., + body: builtins.bytes = ..., + body_text: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["body", b"body", "body_text", b"body_text", "name", b"name"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["body", b"body", "body_text", b"body_text", "name", b"name"]) -> None: ... -Global___UserDefinedFunction: _TypeAlias = UserDefinedFunction # noqa: Y015 +global___UserDefinedFunction = UserDefinedFunction -@_typing.final -class OnDemandFeatureViewList(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class OnDemandFeatureViewList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - ONDEMANDFEATUREVIEWS_FIELD_NUMBER: _builtins.int - @_builtins.property - def ondemandfeatureviews(self) -> _containers.RepeatedCompositeFieldContainer[Global___OnDemandFeatureView]: ... + ONDEMANDFEATUREVIEWS_FIELD_NUMBER: builtins.int + @property + def ondemandfeatureviews(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OnDemandFeatureView]: ... def __init__( self, *, - ondemandfeatureviews: _abc.Iterable[Global___OnDemandFeatureView] | None = ..., + ondemandfeatureviews: collections.abc.Iterable[global___OnDemandFeatureView] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["ondemandfeatureviews", b"ondemandfeatureviews"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["ondemandfeatureviews", b"ondemandfeatureviews"]) -> None: ... -Global___OnDemandFeatureViewList: _TypeAlias = OnDemandFeatureViewList # noqa: Y015 +global___OnDemandFeatureViewList = OnDemandFeatureViewList 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 c739fcc8b3..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 e0e05f7c14..706fd2eec4 100644 --- a/sdk/python/feast/protos/feast/core/Permission_pb2.py +++ b/sdk/python/feast/protos/feast/core/Permission_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/Permission.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,12 +21,12 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Permission_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\017PermissionProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_PERMISSIONSPEC_REQUIREDTAGSENTRY']._loaded_options = None + _globals['_PERMISSIONSPEC_REQUIREDTAGSENTRY']._options = None _globals['_PERMISSIONSPEC_REQUIREDTAGSENTRY']._serialized_options = b'8\001' - _globals['_PERMISSIONSPEC_TAGSENTRY']._loaded_options = None + _globals['_PERMISSIONSPEC_TAGSENTRY']._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.pyi b/sdk/python/feast/protos/feast/core/Permission_pb2.pyi index 4acc8ac3e1..b2387d2946 100644 --- a/sdk/python/feast/protos/feast/core/Permission_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Permission_pb2.pyi @@ -2,62 +2,55 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -from collections import abc as _abc -from feast.core import Policy_pb2 as _Policy_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper -import builtins as _builtins +import builtins +import collections.abc +import feast.core.Policy_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.internal.enum_type_wrapper +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing +import typing if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class Permission(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class Permission(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SPEC_FIELD_NUMBER: _builtins.int - META_FIELD_NUMBER: _builtins.int - @_builtins.property - def spec(self) -> Global___PermissionSpec: + SPEC_FIELD_NUMBER: builtins.int + META_FIELD_NUMBER: builtins.int + @property + def spec(self) -> global___PermissionSpec: """User-specified specifications of this permission.""" - - @_builtins.property - def meta(self) -> Global___PermissionMeta: + @property + def meta(self) -> global___PermissionMeta: """System-populated metadata for this permission.""" - def __init__( self, *, - spec: Global___PermissionSpec | None = ..., - meta: Global___PermissionMeta | None = ..., + spec: global___PermissionSpec | None = ..., + meta: global___PermissionMeta | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... -Global___Permission: _TypeAlias = Permission # noqa: Y015 +global___Permission = Permission -@_typing.final -class PermissionSpec(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class PermissionSpec(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor class _AuthzedAction: - ValueType = _typing.NewType("ValueType", _builtins.int) - V: _TypeAlias = ValueType # noqa: Y015 + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType - class _AuthzedActionEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[PermissionSpec._AuthzedAction.ValueType], _builtins.type): - DESCRIPTOR: _descriptor.EnumDescriptor + class _AuthzedActionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PermissionSpec._AuthzedAction.ValueType], builtins.type): # noqa: F821 + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor CREATE: PermissionSpec._AuthzedAction.ValueType # 0 DESCRIBE: PermissionSpec._AuthzedAction.ValueType # 1 UPDATE: PermissionSpec._AuthzedAction.ValueType # 2 @@ -78,11 +71,11 @@ class PermissionSpec(_message.Message): WRITE_OFFLINE: PermissionSpec.AuthzedAction.ValueType # 7 class _Type: - ValueType = _typing.NewType("ValueType", _builtins.int) - V: _TypeAlias = ValueType # noqa: Y015 + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType - class _TypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[PermissionSpec._Type.ValueType], _builtins.type): - DESCRIPTOR: _descriptor.EnumDescriptor + class _TypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PermissionSpec._Type.ValueType], builtins.type): # noqa: F821 + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor FEATURE_VIEW: PermissionSpec._Type.ValueType # 0 ON_DEMAND_FEATURE_VIEW: PermissionSpec._Type.ValueType # 1 BATCH_FEATURE_VIEW: PermissionSpec._Type.ValueType # 2 @@ -108,108 +101,96 @@ class PermissionSpec(_message.Message): PERMISSION: PermissionSpec.Type.ValueType # 9 PROJECT: PermissionSpec.Type.ValueType # 10 - @_typing.final - class RequiredTagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class RequiredTagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - TYPES_FIELD_NUMBER: _builtins.int - NAME_PATTERNS_FIELD_NUMBER: _builtins.int - REQUIRED_TAGS_FIELD_NUMBER: _builtins.int - ACTIONS_FIELD_NUMBER: _builtins.int - POLICY_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - name: _builtins.str + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + TYPES_FIELD_NUMBER: builtins.int + NAME_PATTERNS_FIELD_NUMBER: builtins.int + REQUIRED_TAGS_FIELD_NUMBER: builtins.int + ACTIONS_FIELD_NUMBER: builtins.int + POLICY_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + name: builtins.str """Name of the permission. Must be unique. Not updated.""" - project: _builtins.str + project: builtins.str """Name of Feast project.""" - @_builtins.property - def types(self) -> _containers.RepeatedScalarFieldContainer[Global___PermissionSpec.Type.ValueType]: ... - @_builtins.property - def name_patterns(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... - @_builtins.property - def required_tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def actions(self) -> _containers.RepeatedScalarFieldContainer[Global___PermissionSpec.AuthzedAction.ValueType]: + @property + def types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___PermissionSpec.Type.ValueType]: ... + @property + def name_patterns(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + @property + def required_tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + @property + def actions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___PermissionSpec.AuthzedAction.ValueType]: """List of actions.""" - - @_builtins.property - def policy(self) -> _Policy_pb2.Policy: + @property + def policy(self) -> feast.core.Policy_pb2.Policy: """the policy.""" - - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """User defined metadata""" - def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - types: _abc.Iterable[Global___PermissionSpec.Type.ValueType] | None = ..., - name_patterns: _abc.Iterable[_builtins.str] | None = ..., - required_tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - actions: _abc.Iterable[Global___PermissionSpec.AuthzedAction.ValueType] | None = ..., - policy: _Policy_pb2.Policy | None = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + name: builtins.str = ..., + project: builtins.str = ..., + types: collections.abc.Iterable[global___PermissionSpec.Type.ValueType] | None = ..., + name_patterns: collections.abc.Iterable[builtins.str] | None = ..., + required_tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + actions: collections.abc.Iterable[global___PermissionSpec.AuthzedAction.ValueType] | None = ..., + policy: feast.core.Policy_pb2.Policy | None = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["policy", b"policy"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["actions", b"actions", "name", b"name", "name_patterns", b"name_patterns", "policy", b"policy", "project", b"project", "required_tags", b"required_tags", "tags", b"tags", "types", b"types"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___PermissionSpec: _TypeAlias = PermissionSpec # noqa: Y015 - -@_typing.final -class PermissionMeta(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - @_builtins.property - def created_timestamp(self) -> _timestamp_pb2.Timestamp: ... - @_builtins.property - def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: ... + def HasField(self, field_name: typing_extensions.Literal["policy", b"policy"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["actions", b"actions", "name", b"name", "name_patterns", b"name_patterns", "policy", b"policy", "project", b"project", "required_tags", b"required_tags", "tags", b"tags", "types", b"types"]) -> None: ... + +global___PermissionSpec = PermissionSpec + +class PermissionMeta(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int + @property + def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> None: ... -Global___PermissionMeta: _TypeAlias = PermissionMeta # noqa: Y015 +global___PermissionMeta = PermissionMeta 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 475f665299..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/Permission_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Permission_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 c99da852bc..e40eaccc12 100644 --- a/sdk/python/feast/protos/feast/core/Policy_pb2.py +++ b/sdk/python/feast/protos/feast/core/Policy_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/Policy.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,8 +19,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Policy_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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.pyi b/sdk/python/feast/protos/feast/core/Policy_pb2.pyi index 6c8b6e4920..8410e39658 100644 --- a/sdk/python/feast/protos/feast/core/Policy_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Policy_pb2.pyi @@ -2,142 +2,122 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -from collections import abc as _abc -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class Policy(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class Policy(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ROLE_BASED_POLICY_FIELD_NUMBER: _builtins.int - GROUP_BASED_POLICY_FIELD_NUMBER: _builtins.int - NAMESPACE_BASED_POLICY_FIELD_NUMBER: _builtins.int - COMBINED_GROUP_NAMESPACE_POLICY_FIELD_NUMBER: _builtins.int - name: _builtins.str + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ROLE_BASED_POLICY_FIELD_NUMBER: builtins.int + GROUP_BASED_POLICY_FIELD_NUMBER: builtins.int + NAMESPACE_BASED_POLICY_FIELD_NUMBER: builtins.int + COMBINED_GROUP_NAMESPACE_POLICY_FIELD_NUMBER: builtins.int + name: builtins.str """Name of the policy.""" - project: _builtins.str + project: builtins.str """Name of Feast project.""" - @_builtins.property - def role_based_policy(self) -> Global___RoleBasedPolicy: ... - @_builtins.property - def group_based_policy(self) -> Global___GroupBasedPolicy: ... - @_builtins.property - def namespace_based_policy(self) -> Global___NamespaceBasedPolicy: ... - @_builtins.property - def combined_group_namespace_policy(self) -> Global___CombinedGroupNamespacePolicy: ... + @property + def role_based_policy(self) -> global___RoleBasedPolicy: ... + @property + def group_based_policy(self) -> global___GroupBasedPolicy: ... + @property + def namespace_based_policy(self) -> global___NamespaceBasedPolicy: ... + @property + def combined_group_namespace_policy(self) -> global___CombinedGroupNamespacePolicy: ... def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - role_based_policy: Global___RoleBasedPolicy | None = ..., - group_based_policy: Global___GroupBasedPolicy | None = ..., - namespace_based_policy: Global___NamespaceBasedPolicy | None = ..., - combined_group_namespace_policy: Global___CombinedGroupNamespacePolicy | None = ..., + name: builtins.str = ..., + project: builtins.str = ..., + role_based_policy: global___RoleBasedPolicy | None = ..., + group_based_policy: global___GroupBasedPolicy | None = ..., + namespace_based_policy: global___NamespaceBasedPolicy | None = ..., + combined_group_namespace_policy: global___CombinedGroupNamespacePolicy | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["combined_group_namespace_policy", b"combined_group_namespace_policy", "group_based_policy", b"group_based_policy", "namespace_based_policy", b"namespace_based_policy", "policy_type", b"policy_type", "role_based_policy", b"role_based_policy"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["combined_group_namespace_policy", b"combined_group_namespace_policy", "group_based_policy", b"group_based_policy", "name", b"name", "namespace_based_policy", b"namespace_based_policy", "policy_type", b"policy_type", "project", b"project", "role_based_policy", b"role_based_policy"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_policy_type: _TypeAlias = _typing.Literal["role_based_policy", "group_based_policy", "namespace_based_policy", "combined_group_namespace_policy"] # noqa: Y015 - _WhichOneofArgType_policy_type: _TypeAlias = _typing.Literal["policy_type", b"policy_type"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_policy_type) -> _WhichOneofReturnType_policy_type | None: ... - -Global___Policy: _TypeAlias = Policy # noqa: Y015 - -@_typing.final -class RoleBasedPolicy(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - ROLES_FIELD_NUMBER: _builtins.int - @_builtins.property - def roles(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: - """List of roles in this policy.""" + def HasField(self, field_name: typing_extensions.Literal["combined_group_namespace_policy", b"combined_group_namespace_policy", "group_based_policy", b"group_based_policy", "namespace_based_policy", b"namespace_based_policy", "policy_type", b"policy_type", "role_based_policy", b"role_based_policy"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["combined_group_namespace_policy", b"combined_group_namespace_policy", "group_based_policy", b"group_based_policy", "name", b"name", "namespace_based_policy", b"namespace_based_policy", "policy_type", b"policy_type", "project", b"project", "role_based_policy", b"role_based_policy"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["policy_type", b"policy_type"]) -> typing_extensions.Literal["role_based_policy", "group_based_policy", "namespace_based_policy", "combined_group_namespace_policy"] | None: ... + +global___Policy = Policy +class RoleBasedPolicy(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ROLES_FIELD_NUMBER: builtins.int + @property + def roles(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + """List of roles in this policy.""" def __init__( self, *, - roles: _abc.Iterable[_builtins.str] | None = ..., + roles: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["roles", b"roles"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["roles", b"roles"]) -> None: ... -Global___RoleBasedPolicy: _TypeAlias = RoleBasedPolicy # noqa: Y015 +global___RoleBasedPolicy = RoleBasedPolicy -@_typing.final -class GroupBasedPolicy(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GroupBasedPolicy(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - GROUPS_FIELD_NUMBER: _builtins.int - @_builtins.property - def groups(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: + GROUPS_FIELD_NUMBER: builtins.int + @property + def groups(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of groups in this policy.""" - def __init__( self, *, - groups: _abc.Iterable[_builtins.str] | None = ..., + groups: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["groups", b"groups"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["groups", b"groups"]) -> None: ... -Global___GroupBasedPolicy: _TypeAlias = GroupBasedPolicy # noqa: Y015 +global___GroupBasedPolicy = GroupBasedPolicy -@_typing.final -class NamespaceBasedPolicy(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class NamespaceBasedPolicy(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAMESPACES_FIELD_NUMBER: _builtins.int - @_builtins.property - def namespaces(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: + NAMESPACES_FIELD_NUMBER: builtins.int + @property + def namespaces(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of namespaces in this policy.""" - def __init__( self, *, - namespaces: _abc.Iterable[_builtins.str] | None = ..., + namespaces: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["namespaces", b"namespaces"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["namespaces", b"namespaces"]) -> None: ... -Global___NamespaceBasedPolicy: _TypeAlias = NamespaceBasedPolicy # noqa: Y015 +global___NamespaceBasedPolicy = NamespaceBasedPolicy -@_typing.final -class CombinedGroupNamespacePolicy(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class CombinedGroupNamespacePolicy(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - GROUPS_FIELD_NUMBER: _builtins.int - NAMESPACES_FIELD_NUMBER: _builtins.int - @_builtins.property - def groups(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: + GROUPS_FIELD_NUMBER: builtins.int + NAMESPACES_FIELD_NUMBER: builtins.int + @property + def groups(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of groups in this policy.""" - - @_builtins.property - def namespaces(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: + @property + def namespaces(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of namespaces in this policy.""" - def __init__( self, *, - groups: _abc.Iterable[_builtins.str] | None = ..., - namespaces: _abc.Iterable[_builtins.str] | None = ..., + groups: collections.abc.Iterable[builtins.str] | None = ..., + namespaces: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["groups", b"groups", "namespaces", b"namespaces"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["groups", b"groups", "namespaces", b"namespaces"]) -> None: ... -Global___CombinedGroupNamespacePolicy: _TypeAlias = CombinedGroupNamespacePolicy # noqa: Y015 +global___CombinedGroupNamespacePolicy = CombinedGroupNamespacePolicy 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 3d80c0a20b..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/Policy_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Policy_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' but the generated code in feast/core/Policy_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) diff --git a/sdk/python/feast/protos/feast/core/Project_pb2.py b/sdk/python/feast/protos/feast/core/Project_pb2.py index 5c71d2feaf..cfbf122014 100644 --- a/sdk/python/feast/protos/feast/core/Project_pb2.py +++ b/sdk/python/feast/protos/feast/core/Project_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/Project.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,10 +20,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Project_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\014ProjectProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_PROJECTSPEC_TAGSENTRY']._loaded_options = None + _globals['_PROJECTSPEC_TAGSENTRY']._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.pyi b/sdk/python/feast/protos/feast/core/Project_pb2.pyi index d384446354..e3cce2ec42 100644 --- a/sdk/python/feast/protos/feast/core/Project_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Project_pb2.pyi @@ -16,121 +16,104 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ - -from collections import abc as _abc -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class Project(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class Project(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SPEC_FIELD_NUMBER: _builtins.int - META_FIELD_NUMBER: _builtins.int - @_builtins.property - def spec(self) -> Global___ProjectSpec: + SPEC_FIELD_NUMBER: builtins.int + META_FIELD_NUMBER: builtins.int + @property + def spec(self) -> global___ProjectSpec: """User-specified specifications of this entity.""" - - @_builtins.property - def meta(self) -> Global___ProjectMeta: + @property + def meta(self) -> global___ProjectMeta: """System-populated metadata for this entity.""" - def __init__( self, *, - spec: Global___ProjectSpec | None = ..., - meta: Global___ProjectMeta | None = ..., + spec: global___ProjectSpec | None = ..., + meta: global___ProjectMeta | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... -Global___Project: _TypeAlias = Project # noqa: Y015 +global___Project = Project -@_typing.final -class ProjectSpec(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ProjectSpec(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - NAME_FIELD_NUMBER: _builtins.int - DESCRIPTION_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - OWNER_FIELD_NUMBER: _builtins.int - name: _builtins.str + NAME_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + OWNER_FIELD_NUMBER: builtins.int + name: builtins.str """Name of the Project""" - description: _builtins.str + description: builtins.str """Description of the Project""" - owner: _builtins.str - """Owner of the Project""" - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """User defined metadata""" - + owner: builtins.str + """Owner of the Project""" def __init__( self, *, - name: _builtins.str = ..., - description: _builtins.str = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - owner: _builtins.str = ..., + name: builtins.str = ..., + description: builtins.str = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + owner: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "name", b"name", "owner", b"owner", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name", "owner", b"owner", "tags", b"tags"]) -> None: ... -Global___ProjectSpec: _TypeAlias = ProjectSpec # noqa: Y015 +global___ProjectSpec = ProjectSpec -@_typing.final -class ProjectMeta(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ProjectMeta(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - @_builtins.property - def created_timestamp(self) -> _timestamp_pb2.Timestamp: + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int + @property + def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time when the Project is created""" - - @_builtins.property - def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: + @property + def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time when the Project is last updated with registry changes (Apply stage)""" - def __init__( self, *, - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> None: ... -Global___ProjectMeta: _TypeAlias = ProjectMeta # noqa: Y015 +global___ProjectMeta = ProjectMeta 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 b6e4940789..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/Project_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Project_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 f1ce35a9ff..671958d80c 100644 --- a/sdk/python/feast/protos/feast/core/Registry_pb2.py +++ b/sdk/python/feast/protos/feast/core/Registry_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/Registry.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -42,10 +32,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Registry_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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']._loaded_options = None + _globals['_REGISTRY'].fields_by_name['project_metadata']._options = None _globals['_REGISTRY'].fields_by_name['project_metadata']._serialized_options = b'\030\001' _globals['_REGISTRY']._serialized_start=449 _globals['_REGISTRY']._serialized_end=1216 diff --git a/sdk/python/feast/protos/feast/core/Registry_pb2.pyi b/sdk/python/feast/protos/feast/core/Registry_pb2.pyi index 95560db753..fca49c7548 100644 --- a/sdk/python/feast/protos/feast/core/Registry_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Registry_pb2.pyi @@ -16,139 +16,125 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ - -from collections import abc as _abc -from feast.core import DataSource_pb2 as _DataSource_pb2 -from feast.core import Entity_pb2 as _Entity_pb2 -from feast.core import FeatureService_pb2 as _FeatureService_pb2 -from feast.core import FeatureTable_pb2 as _FeatureTable_pb2 -from feast.core import FeatureView_pb2 as _FeatureView_pb2 -from feast.core import InfraObject_pb2 as _InfraObject_pb2 -from feast.core import OnDemandFeatureView_pb2 as _OnDemandFeatureView_pb2 -from feast.core import Permission_pb2 as _Permission_pb2 -from feast.core import Project_pb2 as _Project_pb2 -from feast.core import SavedDataset_pb2 as _SavedDataset_pb2 -from feast.core import StreamFeatureView_pb2 as _StreamFeatureView_pb2 -from feast.core import ValidationProfile_pb2 as _ValidationProfile_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.core.DataSource_pb2 +import feast.core.Entity_pb2 +import feast.core.FeatureService_pb2 +import feast.core.FeatureTable_pb2 +import feast.core.FeatureView_pb2 +import feast.core.InfraObject_pb2 +import feast.core.OnDemandFeatureView_pb2 +import feast.core.Permission_pb2 +import feast.core.Project_pb2 +import feast.core.SavedDataset_pb2 +import feast.core.StreamFeatureView_pb2 +import feast.core.ValidationProfile_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing - -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias -else: - from typing_extensions import TypeAlias as _TypeAlias -if sys.version_info >= (3, 13): - from warnings import deprecated as _deprecated +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import deprecated as _deprecated + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class Registry(_message.Message): +class Registry(google.protobuf.message.Message): """Next id: 18""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - ENTITIES_FIELD_NUMBER: _builtins.int - FEATURE_TABLES_FIELD_NUMBER: _builtins.int - FEATURE_VIEWS_FIELD_NUMBER: _builtins.int - DATA_SOURCES_FIELD_NUMBER: _builtins.int - ON_DEMAND_FEATURE_VIEWS_FIELD_NUMBER: _builtins.int - STREAM_FEATURE_VIEWS_FIELD_NUMBER: _builtins.int - FEATURE_SERVICES_FIELD_NUMBER: _builtins.int - SAVED_DATASETS_FIELD_NUMBER: _builtins.int - VALIDATION_REFERENCES_FIELD_NUMBER: _builtins.int - INFRA_FIELD_NUMBER: _builtins.int - PROJECT_METADATA_FIELD_NUMBER: _builtins.int - REGISTRY_SCHEMA_VERSION_FIELD_NUMBER: _builtins.int - VERSION_ID_FIELD_NUMBER: _builtins.int - LAST_UPDATED_FIELD_NUMBER: _builtins.int - PERMISSIONS_FIELD_NUMBER: _builtins.int - PROJECTS_FIELD_NUMBER: _builtins.int - registry_schema_version: _builtins.str + ENTITIES_FIELD_NUMBER: builtins.int + FEATURE_TABLES_FIELD_NUMBER: builtins.int + FEATURE_VIEWS_FIELD_NUMBER: builtins.int + DATA_SOURCES_FIELD_NUMBER: builtins.int + ON_DEMAND_FEATURE_VIEWS_FIELD_NUMBER: builtins.int + STREAM_FEATURE_VIEWS_FIELD_NUMBER: builtins.int + FEATURE_SERVICES_FIELD_NUMBER: builtins.int + SAVED_DATASETS_FIELD_NUMBER: builtins.int + VALIDATION_REFERENCES_FIELD_NUMBER: builtins.int + INFRA_FIELD_NUMBER: builtins.int + PROJECT_METADATA_FIELD_NUMBER: builtins.int + REGISTRY_SCHEMA_VERSION_FIELD_NUMBER: builtins.int + VERSION_ID_FIELD_NUMBER: builtins.int + LAST_UPDATED_FIELD_NUMBER: builtins.int + PERMISSIONS_FIELD_NUMBER: builtins.int + PROJECTS_FIELD_NUMBER: builtins.int + @property + def entities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Entity_pb2.Entity]: ... + @property + def feature_tables(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureTable_pb2.FeatureTable]: ... + @property + def feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureView_pb2.FeatureView]: ... + @property + def data_sources(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.DataSource_pb2.DataSource]: ... + @property + def on_demand_feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView]: ... + @property + def stream_feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.StreamFeatureView_pb2.StreamFeatureView]: ... + @property + def feature_services(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureService_pb2.FeatureService]: ... + @property + def saved_datasets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.SavedDataset_pb2.SavedDataset]: ... + @property + def validation_references(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.ValidationProfile_pb2.ValidationReference]: ... + @property + def infra(self) -> feast.core.InfraObject_pb2.Infra: ... + @property + def project_metadata(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ProjectMetadata]: + """Tracking metadata of Feast by project""" + registry_schema_version: builtins.str """to support migrations; incremented when schema is changed""" - version_id: _builtins.str + version_id: builtins.str """version id, random string generated on each update of the data; now used only for debugging purposes""" - @_builtins.property - def entities(self) -> _containers.RepeatedCompositeFieldContainer[_Entity_pb2.Entity]: ... - @_builtins.property - def feature_tables(self) -> _containers.RepeatedCompositeFieldContainer[_FeatureTable_pb2.FeatureTable]: ... - @_builtins.property - def feature_views(self) -> _containers.RepeatedCompositeFieldContainer[_FeatureView_pb2.FeatureView]: ... - @_builtins.property - def data_sources(self) -> _containers.RepeatedCompositeFieldContainer[_DataSource_pb2.DataSource]: ... - @_builtins.property - def on_demand_feature_views(self) -> _containers.RepeatedCompositeFieldContainer[_OnDemandFeatureView_pb2.OnDemandFeatureView]: ... - @_builtins.property - def stream_feature_views(self) -> _containers.RepeatedCompositeFieldContainer[_StreamFeatureView_pb2.StreamFeatureView]: ... - @_builtins.property - def feature_services(self) -> _containers.RepeatedCompositeFieldContainer[_FeatureService_pb2.FeatureService]: ... - @_builtins.property - def saved_datasets(self) -> _containers.RepeatedCompositeFieldContainer[_SavedDataset_pb2.SavedDataset]: ... - @_builtins.property - def validation_references(self) -> _containers.RepeatedCompositeFieldContainer[_ValidationProfile_pb2.ValidationReference]: ... - @_builtins.property - def infra(self) -> _InfraObject_pb2.Infra: ... - @_builtins.property - @_deprecated("""This field has been marked as deprecated using proto field options.""") - def project_metadata(self) -> _containers.RepeatedCompositeFieldContainer[Global___ProjectMetadata]: - """Tracking metadata of Feast by project""" - - @_builtins.property - def last_updated(self) -> _timestamp_pb2.Timestamp: ... - @_builtins.property - def permissions(self) -> _containers.RepeatedCompositeFieldContainer[_Permission_pb2.Permission]: ... - @_builtins.property - def projects(self) -> _containers.RepeatedCompositeFieldContainer[_Project_pb2.Project]: ... + @property + def last_updated(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def permissions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Permission_pb2.Permission]: ... + @property + def projects(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Project_pb2.Project]: ... def __init__( self, *, - entities: _abc.Iterable[_Entity_pb2.Entity] | None = ..., - feature_tables: _abc.Iterable[_FeatureTable_pb2.FeatureTable] | None = ..., - feature_views: _abc.Iterable[_FeatureView_pb2.FeatureView] | None = ..., - data_sources: _abc.Iterable[_DataSource_pb2.DataSource] | None = ..., - on_demand_feature_views: _abc.Iterable[_OnDemandFeatureView_pb2.OnDemandFeatureView] | None = ..., - stream_feature_views: _abc.Iterable[_StreamFeatureView_pb2.StreamFeatureView] | None = ..., - feature_services: _abc.Iterable[_FeatureService_pb2.FeatureService] | None = ..., - saved_datasets: _abc.Iterable[_SavedDataset_pb2.SavedDataset] | None = ..., - validation_references: _abc.Iterable[_ValidationProfile_pb2.ValidationReference] | None = ..., - infra: _InfraObject_pb2.Infra | None = ..., - project_metadata: _abc.Iterable[Global___ProjectMetadata] | None = ..., - registry_schema_version: _builtins.str = ..., - version_id: _builtins.str = ..., - last_updated: _timestamp_pb2.Timestamp | None = ..., - permissions: _abc.Iterable[_Permission_pb2.Permission] | None = ..., - projects: _abc.Iterable[_Project_pb2.Project] | None = ..., + entities: collections.abc.Iterable[feast.core.Entity_pb2.Entity] | None = ..., + feature_tables: collections.abc.Iterable[feast.core.FeatureTable_pb2.FeatureTable] | None = ..., + feature_views: collections.abc.Iterable[feast.core.FeatureView_pb2.FeatureView] | None = ..., + data_sources: collections.abc.Iterable[feast.core.DataSource_pb2.DataSource] | None = ..., + on_demand_feature_views: collections.abc.Iterable[feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView] | None = ..., + stream_feature_views: collections.abc.Iterable[feast.core.StreamFeatureView_pb2.StreamFeatureView] | None = ..., + feature_services: collections.abc.Iterable[feast.core.FeatureService_pb2.FeatureService] | None = ..., + saved_datasets: collections.abc.Iterable[feast.core.SavedDataset_pb2.SavedDataset] | None = ..., + validation_references: collections.abc.Iterable[feast.core.ValidationProfile_pb2.ValidationReference] | None = ..., + infra: feast.core.InfraObject_pb2.Infra | None = ..., + project_metadata: collections.abc.Iterable[global___ProjectMetadata] | None = ..., + registry_schema_version: builtins.str = ..., + version_id: builtins.str = ..., + last_updated: google.protobuf.timestamp_pb2.Timestamp | None = ..., + permissions: collections.abc.Iterable[feast.core.Permission_pb2.Permission] | None = ..., + projects: collections.abc.Iterable[feast.core.Project_pb2.Project] | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["infra", b"infra", "last_updated", b"last_updated"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["data_sources", b"data_sources", "entities", b"entities", "feature_services", b"feature_services", "feature_tables", b"feature_tables", "feature_views", b"feature_views", "infra", b"infra", "last_updated", b"last_updated", "on_demand_feature_views", b"on_demand_feature_views", "permissions", b"permissions", "project_metadata", b"project_metadata", "projects", b"projects", "registry_schema_version", b"registry_schema_version", "saved_datasets", b"saved_datasets", "stream_feature_views", b"stream_feature_views", "validation_references", b"validation_references", "version_id", b"version_id"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["infra", b"infra", "last_updated", b"last_updated"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["data_sources", b"data_sources", "entities", b"entities", "feature_services", b"feature_services", "feature_tables", b"feature_tables", "feature_views", b"feature_views", "infra", b"infra", "last_updated", b"last_updated", "on_demand_feature_views", b"on_demand_feature_views", "permissions", b"permissions", "project_metadata", b"project_metadata", "projects", b"projects", "registry_schema_version", b"registry_schema_version", "saved_datasets", b"saved_datasets", "stream_feature_views", b"stream_feature_views", "validation_references", b"validation_references", "version_id", b"version_id"]) -> None: ... -Global___Registry: _TypeAlias = Registry # noqa: Y015 +global___Registry = Registry -@_typing.final -class ProjectMetadata(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ProjectMetadata(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PROJECT_FIELD_NUMBER: _builtins.int - PROJECT_UUID_FIELD_NUMBER: _builtins.int - project: _builtins.str - project_uuid: _builtins.str + PROJECT_FIELD_NUMBER: builtins.int + PROJECT_UUID_FIELD_NUMBER: builtins.int + project: builtins.str + project_uuid: builtins.str def __init__( self, *, - project: _builtins.str = ..., - project_uuid: _builtins.str = ..., + project: builtins.str = ..., + project_uuid: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["project", b"project", "project_uuid", b"project_uuid"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["project", b"project", "project_uuid", b"project_uuid"]) -> None: ... -Global___ProjectMetadata: _TypeAlias = ProjectMetadata # noqa: Y015 +global___ProjectMetadata = ProjectMetadata 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 364097ae44..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/Registry_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Registry_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 702eac75ce..fe1e2d49ea 100644 --- a/sdk/python/feast/protos/feast/core/SavedDataset_pb2.py +++ b/sdk/python/feast/protos/feast/core/SavedDataset_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/SavedDataset.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,10 +21,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.SavedDataset_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\021SavedDatasetProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_SAVEDDATASETSPEC_TAGSENTRY']._loaded_options = None + _globals['_SAVEDDATASETSPEC_TAGSENTRY']._options = None _globals['_SAVEDDATASETSPEC_TAGSENTRY']._serialized_options = b'8\001' _globals['_SAVEDDATASETSPEC']._serialized_start=108 _globals['_SAVEDDATASETSPEC']._serialized_end=401 diff --git a/sdk/python/feast/protos/feast/core/SavedDataset_pb2.pyi b/sdk/python/feast/protos/feast/core/SavedDataset_pb2.pyi index e2c1fb27c4..47525b64ed 100644 --- a/sdk/python/feast/protos/feast/core/SavedDataset_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/SavedDataset_pb2.pyi @@ -16,202 +16,177 @@ 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. """ - -from collections import abc as _abc -from feast.core import DataSource_pb2 as _DataSource_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.core.DataSource_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class SavedDatasetSpec(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class SavedDatasetSpec(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - FEATURES_FIELD_NUMBER: _builtins.int - JOIN_KEYS_FIELD_NUMBER: _builtins.int - FULL_FEATURE_NAMES_FIELD_NUMBER: _builtins.int - STORAGE_FIELD_NUMBER: _builtins.int - FEATURE_SERVICE_NAME_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - name: _builtins.str + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + FEATURES_FIELD_NUMBER: builtins.int + JOIN_KEYS_FIELD_NUMBER: builtins.int + FULL_FEATURE_NAMES_FIELD_NUMBER: builtins.int + STORAGE_FIELD_NUMBER: builtins.int + FEATURE_SERVICE_NAME_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + name: builtins.str """Name of the dataset. Must be unique since it's possible to overwrite dataset by name""" - project: _builtins.str + project: builtins.str """Name of Feast project that this Dataset belongs to.""" - full_feature_names: _builtins.bool - """Whether full feature names are used in stored data""" - feature_service_name: _builtins.str - """Optional and only populated if generated from a feature service fetch""" - @_builtins.property - def features(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: + @property + def features(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """list of feature references with format ":" """ - - @_builtins.property - def join_keys(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: + @property + def join_keys(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """entity columns + request columns from all feature views used during retrieval""" - - @_builtins.property - def storage(self) -> Global___SavedDatasetStorage: ... - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + full_feature_names: builtins.bool + """Whether full feature names are used in stored data""" + @property + def storage(self) -> global___SavedDatasetStorage: ... + feature_service_name: builtins.str + """Optional and only populated if generated from a feature service fetch""" + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """User defined metadata""" - def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - features: _abc.Iterable[_builtins.str] | None = ..., - join_keys: _abc.Iterable[_builtins.str] | None = ..., - full_feature_names: _builtins.bool = ..., - storage: Global___SavedDatasetStorage | None = ..., - feature_service_name: _builtins.str = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + name: builtins.str = ..., + project: builtins.str = ..., + features: collections.abc.Iterable[builtins.str] | None = ..., + join_keys: collections.abc.Iterable[builtins.str] | None = ..., + full_feature_names: builtins.bool = ..., + storage: global___SavedDatasetStorage | None = ..., + feature_service_name: builtins.str = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["storage", b"storage"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_service_name", b"feature_service_name", "features", b"features", "full_feature_names", b"full_feature_names", "join_keys", b"join_keys", "name", b"name", "project", b"project", "storage", b"storage", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___SavedDatasetSpec: _TypeAlias = SavedDatasetSpec # noqa: Y015 - -@_typing.final -class SavedDatasetStorage(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - FILE_STORAGE_FIELD_NUMBER: _builtins.int - BIGQUERY_STORAGE_FIELD_NUMBER: _builtins.int - REDSHIFT_STORAGE_FIELD_NUMBER: _builtins.int - SNOWFLAKE_STORAGE_FIELD_NUMBER: _builtins.int - TRINO_STORAGE_FIELD_NUMBER: _builtins.int - SPARK_STORAGE_FIELD_NUMBER: _builtins.int - CUSTOM_STORAGE_FIELD_NUMBER: _builtins.int - ATHENA_STORAGE_FIELD_NUMBER: _builtins.int - @_builtins.property - def file_storage(self) -> _DataSource_pb2.DataSource.FileOptions: ... - @_builtins.property - def bigquery_storage(self) -> _DataSource_pb2.DataSource.BigQueryOptions: ... - @_builtins.property - def redshift_storage(self) -> _DataSource_pb2.DataSource.RedshiftOptions: ... - @_builtins.property - def snowflake_storage(self) -> _DataSource_pb2.DataSource.SnowflakeOptions: ... - @_builtins.property - def trino_storage(self) -> _DataSource_pb2.DataSource.TrinoOptions: ... - @_builtins.property - def spark_storage(self) -> _DataSource_pb2.DataSource.SparkOptions: ... - @_builtins.property - def custom_storage(self) -> _DataSource_pb2.DataSource.CustomSourceOptions: ... - @_builtins.property - def athena_storage(self) -> _DataSource_pb2.DataSource.AthenaOptions: ... + def HasField(self, field_name: typing_extensions.Literal["storage", b"storage"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["feature_service_name", b"feature_service_name", "features", b"features", "full_feature_names", b"full_feature_names", "join_keys", b"join_keys", "name", b"name", "project", b"project", "storage", b"storage", "tags", b"tags"]) -> None: ... + +global___SavedDatasetSpec = SavedDatasetSpec + +class SavedDatasetStorage(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + FILE_STORAGE_FIELD_NUMBER: builtins.int + BIGQUERY_STORAGE_FIELD_NUMBER: builtins.int + REDSHIFT_STORAGE_FIELD_NUMBER: builtins.int + SNOWFLAKE_STORAGE_FIELD_NUMBER: builtins.int + TRINO_STORAGE_FIELD_NUMBER: builtins.int + SPARK_STORAGE_FIELD_NUMBER: builtins.int + CUSTOM_STORAGE_FIELD_NUMBER: builtins.int + ATHENA_STORAGE_FIELD_NUMBER: builtins.int + @property + def file_storage(self) -> feast.core.DataSource_pb2.DataSource.FileOptions: ... + @property + def bigquery_storage(self) -> feast.core.DataSource_pb2.DataSource.BigQueryOptions: ... + @property + def redshift_storage(self) -> feast.core.DataSource_pb2.DataSource.RedshiftOptions: ... + @property + def snowflake_storage(self) -> feast.core.DataSource_pb2.DataSource.SnowflakeOptions: ... + @property + def trino_storage(self) -> feast.core.DataSource_pb2.DataSource.TrinoOptions: ... + @property + def spark_storage(self) -> feast.core.DataSource_pb2.DataSource.SparkOptions: ... + @property + def custom_storage(self) -> feast.core.DataSource_pb2.DataSource.CustomSourceOptions: ... + @property + def athena_storage(self) -> feast.core.DataSource_pb2.DataSource.AthenaOptions: ... def __init__( self, *, - file_storage: _DataSource_pb2.DataSource.FileOptions | None = ..., - bigquery_storage: _DataSource_pb2.DataSource.BigQueryOptions | None = ..., - redshift_storage: _DataSource_pb2.DataSource.RedshiftOptions | None = ..., - snowflake_storage: _DataSource_pb2.DataSource.SnowflakeOptions | None = ..., - trino_storage: _DataSource_pb2.DataSource.TrinoOptions | None = ..., - spark_storage: _DataSource_pb2.DataSource.SparkOptions | None = ..., - custom_storage: _DataSource_pb2.DataSource.CustomSourceOptions | None = ..., - athena_storage: _DataSource_pb2.DataSource.AthenaOptions | None = ..., + file_storage: feast.core.DataSource_pb2.DataSource.FileOptions | None = ..., + bigquery_storage: feast.core.DataSource_pb2.DataSource.BigQueryOptions | None = ..., + redshift_storage: feast.core.DataSource_pb2.DataSource.RedshiftOptions | None = ..., + snowflake_storage: feast.core.DataSource_pb2.DataSource.SnowflakeOptions | None = ..., + trino_storage: feast.core.DataSource_pb2.DataSource.TrinoOptions | None = ..., + spark_storage: feast.core.DataSource_pb2.DataSource.SparkOptions | None = ..., + custom_storage: feast.core.DataSource_pb2.DataSource.CustomSourceOptions | None = ..., + athena_storage: feast.core.DataSource_pb2.DataSource.AthenaOptions | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["athena_storage", b"athena_storage", "bigquery_storage", b"bigquery_storage", "custom_storage", b"custom_storage", "file_storage", b"file_storage", "kind", b"kind", "redshift_storage", b"redshift_storage", "snowflake_storage", b"snowflake_storage", "spark_storage", b"spark_storage", "trino_storage", b"trino_storage"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["athena_storage", b"athena_storage", "bigquery_storage", b"bigquery_storage", "custom_storage", b"custom_storage", "file_storage", b"file_storage", "kind", b"kind", "redshift_storage", b"redshift_storage", "snowflake_storage", b"snowflake_storage", "spark_storage", b"spark_storage", "trino_storage", b"trino_storage"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_kind: _TypeAlias = _typing.Literal["file_storage", "bigquery_storage", "redshift_storage", "snowflake_storage", "trino_storage", "spark_storage", "custom_storage", "athena_storage"] # noqa: Y015 - _WhichOneofArgType_kind: _TypeAlias = _typing.Literal["kind", b"kind"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_kind) -> _WhichOneofReturnType_kind | None: ... - -Global___SavedDatasetStorage: _TypeAlias = SavedDatasetStorage # noqa: Y015 - -@_typing.final -class SavedDatasetMeta(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - MIN_EVENT_TIMESTAMP_FIELD_NUMBER: _builtins.int - MAX_EVENT_TIMESTAMP_FIELD_NUMBER: _builtins.int - @_builtins.property - def created_timestamp(self) -> _timestamp_pb2.Timestamp: - """Time when this saved dataset is created""" + def HasField(self, field_name: typing_extensions.Literal["athena_storage", b"athena_storage", "bigquery_storage", b"bigquery_storage", "custom_storage", b"custom_storage", "file_storage", b"file_storage", "kind", b"kind", "redshift_storage", b"redshift_storage", "snowflake_storage", b"snowflake_storage", "spark_storage", b"spark_storage", "trino_storage", b"trino_storage"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["athena_storage", b"athena_storage", "bigquery_storage", b"bigquery_storage", "custom_storage", b"custom_storage", "file_storage", b"file_storage", "kind", b"kind", "redshift_storage", b"redshift_storage", "snowflake_storage", b"snowflake_storage", "spark_storage", b"spark_storage", "trino_storage", b"trino_storage"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["kind", b"kind"]) -> typing_extensions.Literal["file_storage", "bigquery_storage", "redshift_storage", "snowflake_storage", "trino_storage", "spark_storage", "custom_storage", "athena_storage"] | None: ... - @_builtins.property - def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: - """Time when this saved dataset is last updated""" +global___SavedDatasetStorage = SavedDatasetStorage - @_builtins.property - def min_event_timestamp(self) -> _timestamp_pb2.Timestamp: - """Min timestamp in the dataset (needed for retrieval)""" +class SavedDatasetMeta(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_builtins.property - def max_event_timestamp(self) -> _timestamp_pb2.Timestamp: + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int + MIN_EVENT_TIMESTAMP_FIELD_NUMBER: builtins.int + MAX_EVENT_TIMESTAMP_FIELD_NUMBER: builtins.int + @property + def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Time when this saved dataset is created""" + @property + def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Time when this saved dataset is last updated""" + @property + def min_event_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Min timestamp in the dataset (needed for retrieval)""" + @property + def max_event_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: """Max timestamp in the dataset (needed for retrieval)""" - def __init__( self, *, - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., - min_event_timestamp: _timestamp_pb2.Timestamp | None = ..., - max_event_timestamp: _timestamp_pb2.Timestamp | None = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + min_event_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + max_event_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp", "max_event_timestamp", b"max_event_timestamp", "min_event_timestamp", b"min_event_timestamp"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp", "max_event_timestamp", b"max_event_timestamp", "min_event_timestamp", b"min_event_timestamp"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___SavedDatasetMeta: _TypeAlias = SavedDatasetMeta # noqa: Y015 - -@_typing.final -class SavedDataset(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - SPEC_FIELD_NUMBER: _builtins.int - META_FIELD_NUMBER: _builtins.int - @_builtins.property - def spec(self) -> Global___SavedDatasetSpec: ... - @_builtins.property - def meta(self) -> Global___SavedDatasetMeta: ... + def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp", "max_event_timestamp", b"max_event_timestamp", "min_event_timestamp", b"min_event_timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp", "max_event_timestamp", b"max_event_timestamp", "min_event_timestamp", b"min_event_timestamp"]) -> None: ... + +global___SavedDatasetMeta = SavedDatasetMeta + +class SavedDataset(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + SPEC_FIELD_NUMBER: builtins.int + META_FIELD_NUMBER: builtins.int + @property + def spec(self) -> global___SavedDatasetSpec: ... + @property + def meta(self) -> global___SavedDatasetMeta: ... def __init__( self, *, - spec: Global___SavedDatasetSpec | None = ..., - meta: Global___SavedDatasetMeta | None = ..., + spec: global___SavedDatasetSpec | None = ..., + meta: global___SavedDatasetMeta | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... -Global___SavedDataset: _TypeAlias = SavedDataset # noqa: Y015 +global___SavedDataset = SavedDataset 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 fb5a41b6d9..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/SavedDataset_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/SavedDataset_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 9d533d1b2c..8cc14781c7 100644 --- a/sdk/python/feast/protos/feast/core/SqliteTable_pb2.py +++ b/sdk/python/feast/protos/feast/core/SqliteTable_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/SqliteTable.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,8 +19,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.SqliteTable_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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.pyi b/sdk/python/feast/protos/feast/core/SqliteTable_pb2.pyi index 43d97f7d18..10ecebf362 100644 --- a/sdk/python/feast/protos/feast/core/SqliteTable_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/SqliteTable_pb2.pyi @@ -16,39 +16,35 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ - -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -import builtins as _builtins +import builtins +import google.protobuf.descriptor +import google.protobuf.message import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class SqliteTable(_message.Message): +class SqliteTable(google.protobuf.message.Message): """Represents a Sqlite table""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PATH_FIELD_NUMBER: _builtins.int - NAME_FIELD_NUMBER: _builtins.int - path: _builtins.str + PATH_FIELD_NUMBER: builtins.int + NAME_FIELD_NUMBER: builtins.int + path: builtins.str """Absolute path of the table""" - name: _builtins.str + name: builtins.str """Name of the table""" def __init__( self, *, - path: _builtins.str = ..., - name: _builtins.str = ..., + path: builtins.str = ..., + name: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["name", b"name", "path", b"path"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "path", b"path"]) -> None: ... -Global___SqliteTable: _TypeAlias = SqliteTable # noqa: Y015 +global___SqliteTable = SqliteTable 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 5dc6890f38..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/SqliteTable_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/SqliteTable_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 dc2ef99b21..7d24e11947 100644 --- a/sdk/python/feast/protos/feast/core/Store_pb2.py +++ b/sdk/python/feast/protos/feast/core/Store_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/Store.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,8 +19,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Store_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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.pyi b/sdk/python/feast/protos/feast/core/Store_pb2.pyi index 718654b267..5ee957d184 100644 --- a/sdk/python/feast/protos/feast/core/Store_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Store_pb2.pyi @@ -16,39 +16,37 @@ isort:skip_file * See the License for the specific language governing permissions and * limitations under the License. """ - -from collections import abc as _abc -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper -import builtins as _builtins +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.internal.enum_type_wrapper +import google.protobuf.message import sys -import typing as _typing +import typing if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class Store(_message.Message): +class Store(google.protobuf.message.Message): """Store provides a location where Feast reads and writes feature values. Feature values will be written to the Store in the form of FeatureRow elements. The way FeatureRow is encoded and decoded when it is written to and read from the Store depends on the type of the Store. """ - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor class _StoreType: - ValueType = _typing.NewType("ValueType", _builtins.int) - V: _TypeAlias = ValueType # noqa: Y015 + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType - class _StoreTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Store._StoreType.ValueType], _builtins.type): - DESCRIPTOR: _descriptor.EnumDescriptor + class _StoreTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Store._StoreType.ValueType], builtins.type): # noqa: F821 + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor INVALID: Store._StoreType.ValueType # 0 REDIS: Store._StoreType.ValueType # 1 """Redis stores a FeatureRow element as a key, value pair. @@ -78,51 +76,48 @@ class Store(_message.Message): """ REDIS_CLUSTER: Store.StoreType.ValueType # 4 - @_typing.final - class RedisConfig(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - HOST_FIELD_NUMBER: _builtins.int - PORT_FIELD_NUMBER: _builtins.int - INITIAL_BACKOFF_MS_FIELD_NUMBER: _builtins.int - MAX_RETRIES_FIELD_NUMBER: _builtins.int - FLUSH_FREQUENCY_SECONDS_FIELD_NUMBER: _builtins.int - SSL_FIELD_NUMBER: _builtins.int - host: _builtins.str - port: _builtins.int - initial_backoff_ms: _builtins.int + class RedisConfig(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + HOST_FIELD_NUMBER: builtins.int + PORT_FIELD_NUMBER: builtins.int + INITIAL_BACKOFF_MS_FIELD_NUMBER: builtins.int + MAX_RETRIES_FIELD_NUMBER: builtins.int + FLUSH_FREQUENCY_SECONDS_FIELD_NUMBER: builtins.int + SSL_FIELD_NUMBER: builtins.int + host: builtins.str + port: builtins.int + initial_backoff_ms: builtins.int """Optional. The number of milliseconds to wait before retrying failed Redis connection. By default, Feast uses exponential backoff policy and "initial_backoff_ms" sets the initial wait duration. """ - max_retries: _builtins.int + max_retries: builtins.int """Optional. Maximum total number of retries for connecting to Redis. Default to zero retries.""" - flush_frequency_seconds: _builtins.int + flush_frequency_seconds: builtins.int """Optional. How often flush data to redis""" - ssl: _builtins.bool + ssl: builtins.bool """Optional. Connect over SSL.""" def __init__( self, *, - host: _builtins.str = ..., - port: _builtins.int = ..., - initial_backoff_ms: _builtins.int = ..., - max_retries: _builtins.int = ..., - flush_frequency_seconds: _builtins.int = ..., - ssl: _builtins.bool = ..., + host: builtins.str = ..., + port: builtins.int = ..., + initial_backoff_ms: builtins.int = ..., + max_retries: builtins.int = ..., + flush_frequency_seconds: builtins.int = ..., + ssl: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["flush_frequency_seconds", b"flush_frequency_seconds", "host", b"host", "initial_backoff_ms", b"initial_backoff_ms", "max_retries", b"max_retries", "port", b"port", "ssl", b"ssl"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["flush_frequency_seconds", b"flush_frequency_seconds", "host", b"host", "initial_backoff_ms", b"initial_backoff_ms", "max_retries", b"max_retries", "port", b"port", "ssl", b"ssl"]) -> None: ... - @_typing.final - class RedisClusterConfig(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class RedisClusterConfig(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor class _ReadFrom: - ValueType = _typing.NewType("ValueType", _builtins.int) - V: _TypeAlias = ValueType # noqa: Y015 + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType - class _ReadFromEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Store.RedisClusterConfig._ReadFrom.ValueType], _builtins.type): - DESCRIPTOR: _descriptor.EnumDescriptor + class _ReadFromEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Store.RedisClusterConfig._ReadFrom.ValueType], builtins.type): # noqa: F821 + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor MASTER: Store.RedisClusterConfig._ReadFrom.ValueType # 0 MASTER_PREFERRED: Store.RedisClusterConfig._ReadFrom.ValueType # 1 REPLICA: Store.RedisClusterConfig._ReadFrom.ValueType # 2 @@ -136,52 +131,50 @@ class Store(_message.Message): REPLICA: Store.RedisClusterConfig.ReadFrom.ValueType # 2 REPLICA_PREFERRED: Store.RedisClusterConfig.ReadFrom.ValueType # 3 - CONNECTION_STRING_FIELD_NUMBER: _builtins.int - INITIAL_BACKOFF_MS_FIELD_NUMBER: _builtins.int - MAX_RETRIES_FIELD_NUMBER: _builtins.int - FLUSH_FREQUENCY_SECONDS_FIELD_NUMBER: _builtins.int - KEY_PREFIX_FIELD_NUMBER: _builtins.int - ENABLE_FALLBACK_FIELD_NUMBER: _builtins.int - FALLBACK_PREFIX_FIELD_NUMBER: _builtins.int - READ_FROM_FIELD_NUMBER: _builtins.int - connection_string: _builtins.str + CONNECTION_STRING_FIELD_NUMBER: builtins.int + INITIAL_BACKOFF_MS_FIELD_NUMBER: builtins.int + MAX_RETRIES_FIELD_NUMBER: builtins.int + FLUSH_FREQUENCY_SECONDS_FIELD_NUMBER: builtins.int + KEY_PREFIX_FIELD_NUMBER: builtins.int + ENABLE_FALLBACK_FIELD_NUMBER: builtins.int + FALLBACK_PREFIX_FIELD_NUMBER: builtins.int + READ_FROM_FIELD_NUMBER: builtins.int + connection_string: builtins.str """List of Redis Uri for all the nodes in Redis Cluster, comma separated. Eg. host1:6379, host2:6379""" - initial_backoff_ms: _builtins.int - max_retries: _builtins.int - flush_frequency_seconds: _builtins.int + initial_backoff_ms: builtins.int + max_retries: builtins.int + flush_frequency_seconds: builtins.int """Optional. How often flush data to redis""" - key_prefix: _builtins.str + key_prefix: builtins.str """Optional. Append a prefix to the Redis Key""" - enable_fallback: _builtins.bool + enable_fallback: builtins.bool """Optional. Enable fallback to another key prefix if the original key is not present. Useful for migrating key prefix without re-ingestion. Disabled by default. """ - fallback_prefix: _builtins.str + fallback_prefix: builtins.str """Optional. This would be the fallback prefix to use if enable_fallback is true.""" - read_from: Global___Store.RedisClusterConfig.ReadFrom.ValueType + read_from: global___Store.RedisClusterConfig.ReadFrom.ValueType def __init__( self, *, - connection_string: _builtins.str = ..., - initial_backoff_ms: _builtins.int = ..., - max_retries: _builtins.int = ..., - flush_frequency_seconds: _builtins.int = ..., - key_prefix: _builtins.str = ..., - enable_fallback: _builtins.bool = ..., - fallback_prefix: _builtins.str = ..., - read_from: Global___Store.RedisClusterConfig.ReadFrom.ValueType = ..., + connection_string: builtins.str = ..., + initial_backoff_ms: builtins.int = ..., + max_retries: builtins.int = ..., + flush_frequency_seconds: builtins.int = ..., + key_prefix: builtins.str = ..., + enable_fallback: builtins.bool = ..., + fallback_prefix: builtins.str = ..., + read_from: global___Store.RedisClusterConfig.ReadFrom.ValueType = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["connection_string", b"connection_string", "enable_fallback", b"enable_fallback", "fallback_prefix", b"fallback_prefix", "flush_frequency_seconds", b"flush_frequency_seconds", "initial_backoff_ms", b"initial_backoff_ms", "key_prefix", b"key_prefix", "max_retries", b"max_retries", "read_from", b"read_from"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["connection_string", b"connection_string", "enable_fallback", b"enable_fallback", "fallback_prefix", b"fallback_prefix", "flush_frequency_seconds", b"flush_frequency_seconds", "initial_backoff_ms", b"initial_backoff_ms", "key_prefix", b"key_prefix", "max_retries", b"max_retries", "read_from", b"read_from"]) -> None: ... - @_typing.final - class Subscription(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class Subscription(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PROJECT_FIELD_NUMBER: _builtins.int - NAME_FIELD_NUMBER: _builtins.int - EXCLUDE_FIELD_NUMBER: _builtins.int - project: _builtins.str + PROJECT_FIELD_NUMBER: builtins.int + NAME_FIELD_NUMBER: builtins.int + EXCLUDE_FIELD_NUMBER: builtins.int + project: builtins.str """Name of project that the feature sets belongs to. This can be one of - [project_name] - * @@ -189,7 +182,7 @@ class Store(_message.Message): be matched. It is NOT possible to provide an asterisk with a string in order to do pattern matching. """ - name: _builtins.str + name: builtins.str """Name of the desired feature set. Asterisks can be used as wildcards in the name. Matching on names is only permitted if a specific project is defined. It is disallowed If the project name is set to "*" @@ -198,50 +191,44 @@ class Store(_message.Message): - my-feature-set* can be used to match all features prefixed by "my-feature-set" - my-feature-set-6 can be used to select a single feature set """ - exclude: _builtins.bool + exclude: builtins.bool """All matches with exclude enabled will be filtered out instead of added""" def __init__( self, *, - project: _builtins.str = ..., - name: _builtins.str = ..., - exclude: _builtins.bool = ..., + project: builtins.str = ..., + name: builtins.str = ..., + exclude: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["exclude", b"exclude", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - NAME_FIELD_NUMBER: _builtins.int - TYPE_FIELD_NUMBER: _builtins.int - SUBSCRIPTIONS_FIELD_NUMBER: _builtins.int - REDIS_CONFIG_FIELD_NUMBER: _builtins.int - REDIS_CLUSTER_CONFIG_FIELD_NUMBER: _builtins.int - name: _builtins.str + def ClearField(self, field_name: typing_extensions.Literal["exclude", b"exclude", "name", b"name", "project", b"project"]) -> None: ... + + NAME_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int + SUBSCRIPTIONS_FIELD_NUMBER: builtins.int + REDIS_CONFIG_FIELD_NUMBER: builtins.int + REDIS_CLUSTER_CONFIG_FIELD_NUMBER: builtins.int + name: builtins.str """Name of the store.""" - type: Global___Store.StoreType.ValueType + type: global___Store.StoreType.ValueType """Type of store.""" - @_builtins.property - def subscriptions(self) -> _containers.RepeatedCompositeFieldContainer[Global___Store.Subscription]: + @property + def subscriptions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Store.Subscription]: """Feature sets to subscribe to.""" - - @_builtins.property - def redis_config(self) -> Global___Store.RedisConfig: ... - @_builtins.property - def redis_cluster_config(self) -> Global___Store.RedisClusterConfig: ... + @property + def redis_config(self) -> global___Store.RedisConfig: ... + @property + def redis_cluster_config(self) -> global___Store.RedisClusterConfig: ... def __init__( self, *, - name: _builtins.str = ..., - type: Global___Store.StoreType.ValueType = ..., - subscriptions: _abc.Iterable[Global___Store.Subscription] | None = ..., - redis_config: Global___Store.RedisConfig | None = ..., - redis_cluster_config: Global___Store.RedisClusterConfig | None = ..., + name: builtins.str = ..., + type: global___Store.StoreType.ValueType = ..., + subscriptions: collections.abc.Iterable[global___Store.Subscription] | None = ..., + redis_config: global___Store.RedisConfig | None = ..., + redis_cluster_config: global___Store.RedisClusterConfig | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["config", b"config", "redis_cluster_config", b"redis_cluster_config", "redis_config", b"redis_config"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["config", b"config", "name", b"name", "redis_cluster_config", b"redis_cluster_config", "redis_config", b"redis_config", "subscriptions", b"subscriptions", "type", b"type"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_config: _TypeAlias = _typing.Literal["redis_config", "redis_cluster_config"] # noqa: Y015 - _WhichOneofArgType_config: _TypeAlias = _typing.Literal["config", b"config"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_config) -> _WhichOneofReturnType_config | None: ... - -Global___Store: _TypeAlias = Store # noqa: Y015 + def HasField(self, field_name: typing_extensions.Literal["config", b"config", "redis_cluster_config", b"redis_cluster_config", "redis_config", b"redis_config"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "name", b"name", "redis_cluster_config", b"redis_cluster_config", "redis_config", b"redis_config", "subscriptions", b"subscriptions", "type", b"type"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["config", b"config"]) -> typing_extensions.Literal["redis_config", "redis_cluster_config"] | None: ... + +global___Store = Store 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 add94acbbc..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/Store_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Store_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 155a389a7b..cd3ec69057 100644 --- a/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.py +++ b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/StreamFeatureView.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -36,12 +26,12 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.StreamFeatureView_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\026StreamFeatureViewProtoZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_STREAMFEATUREVIEWSPEC_TAGSENTRY']._loaded_options = None + _globals['_STREAMFEATUREVIEWSPEC_TAGSENTRY']._options = None _globals['_STREAMFEATUREVIEWSPEC_TAGSENTRY']._serialized_options = b'8\001' - _globals['_STREAMFEATUREVIEWSPEC'].fields_by_name['user_defined_function']._loaded_options = None + _globals['_STREAMFEATUREVIEWSPEC'].fields_by_name['user_defined_function']._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.pyi b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.pyi index 8c6cdc32b0..853ada60a2 100644 --- a/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.pyi @@ -16,198 +16,170 @@ 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. """ - -from collections import abc as _abc -from feast.core import Aggregation_pb2 as _Aggregation_pb2 -from feast.core import DataSource_pb2 as _DataSource_pb2 -from feast.core import FeatureView_pb2 as _FeatureView_pb2 -from feast.core import Feature_pb2 as _Feature_pb2 -from feast.core import OnDemandFeatureView_pb2 as _OnDemandFeatureView_pb2 -from feast.core import Transformation_pb2 as _Transformation_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import duration_pb2 as _duration_pb2 -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.core.Aggregation_pb2 +import feast.core.DataSource_pb2 +import feast.core.FeatureView_pb2 +import feast.core.Feature_pb2 +import feast.core.OnDemandFeatureView_pb2 +import feast.core.Transformation_pb2 +import google.protobuf.descriptor +import google.protobuf.duration_pb2 +import google.protobuf.internal.containers +import google.protobuf.message import sys -import typing as _typing - -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias -else: - from typing_extensions import TypeAlias as _TypeAlias -if sys.version_info >= (3, 13): - from warnings import deprecated as _deprecated +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import deprecated as _deprecated + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class StreamFeatureView(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class StreamFeatureView(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SPEC_FIELD_NUMBER: _builtins.int - META_FIELD_NUMBER: _builtins.int - @_builtins.property - def spec(self) -> Global___StreamFeatureViewSpec: + SPEC_FIELD_NUMBER: builtins.int + META_FIELD_NUMBER: builtins.int + @property + def spec(self) -> global___StreamFeatureViewSpec: """User-specified specifications of this feature view.""" - - @_builtins.property - def meta(self) -> _FeatureView_pb2.FeatureViewMeta: ... + @property + def meta(self) -> feast.core.FeatureView_pb2.FeatureViewMeta: ... def __init__( self, *, - spec: Global___StreamFeatureViewSpec | None = ..., - meta: _FeatureView_pb2.FeatureViewMeta | None = ..., + spec: global___StreamFeatureViewSpec | None = ..., + meta: feast.core.FeatureView_pb2.FeatureViewMeta | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["meta", b"meta", "spec", b"spec"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["meta", b"meta", "spec", b"spec"]) -> None: ... -Global___StreamFeatureView: _TypeAlias = StreamFeatureView # noqa: Y015 +global___StreamFeatureView = StreamFeatureView -@_typing.final -class StreamFeatureViewSpec(_message.Message): +class StreamFeatureViewSpec(google.protobuf.message.Message): """Next available id: 21""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ENTITIES_FIELD_NUMBER: _builtins.int - FEATURES_FIELD_NUMBER: _builtins.int - ENTITY_COLUMNS_FIELD_NUMBER: _builtins.int - DESCRIPTION_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - OWNER_FIELD_NUMBER: _builtins.int - TTL_FIELD_NUMBER: _builtins.int - BATCH_SOURCE_FIELD_NUMBER: _builtins.int - STREAM_SOURCE_FIELD_NUMBER: _builtins.int - ONLINE_FIELD_NUMBER: _builtins.int - USER_DEFINED_FUNCTION_FIELD_NUMBER: _builtins.int - MODE_FIELD_NUMBER: _builtins.int - AGGREGATIONS_FIELD_NUMBER: _builtins.int - TIMESTAMP_FIELD_FIELD_NUMBER: _builtins.int - FEATURE_TRANSFORMATION_FIELD_NUMBER: _builtins.int - ENABLE_TILING_FIELD_NUMBER: _builtins.int - TILING_HOP_SIZE_FIELD_NUMBER: _builtins.int - ENABLE_VALIDATION_FIELD_NUMBER: _builtins.int - name: _builtins.str + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ENTITIES_FIELD_NUMBER: builtins.int + FEATURES_FIELD_NUMBER: builtins.int + ENTITY_COLUMNS_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + OWNER_FIELD_NUMBER: builtins.int + TTL_FIELD_NUMBER: builtins.int + BATCH_SOURCE_FIELD_NUMBER: builtins.int + STREAM_SOURCE_FIELD_NUMBER: builtins.int + ONLINE_FIELD_NUMBER: builtins.int + USER_DEFINED_FUNCTION_FIELD_NUMBER: builtins.int + MODE_FIELD_NUMBER: builtins.int + AGGREGATIONS_FIELD_NUMBER: builtins.int + TIMESTAMP_FIELD_FIELD_NUMBER: builtins.int + FEATURE_TRANSFORMATION_FIELD_NUMBER: builtins.int + ENABLE_TILING_FIELD_NUMBER: builtins.int + TILING_HOP_SIZE_FIELD_NUMBER: builtins.int + ENABLE_VALIDATION_FIELD_NUMBER: builtins.int + name: builtins.str """Name of the feature view. Must be unique. Not updated.""" - project: _builtins.str + project: builtins.str """Name of Feast project that this feature view belongs to.""" - description: _builtins.str - """Description of the feature view.""" - owner: _builtins.str - """Owner of the feature view.""" - online: _builtins.bool - """Whether these features should be served online or not""" - mode: _builtins.str - """Mode of execution""" - timestamp_field: _builtins.str - """Timestamp field for aggregation""" - enable_tiling: _builtins.bool - """Enable tiling for efficient window aggregation""" - enable_validation: _builtins.bool - """Whether schema validation is enabled during materialization""" - @_builtins.property - def entities(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: + @property + def entities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of names of entities associated with this feature view.""" - - @_builtins.property - def features(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: + @property + def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: """List of specifications for each feature defined as part of this feature view.""" - - @_builtins.property - def entity_columns(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: + @property + def entity_columns(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Feature_pb2.FeatureSpecV2]: """List of specifications for each entity defined as part of this feature view.""" - - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + description: builtins.str + """Description of the feature view.""" + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """User defined metadata""" - - @_builtins.property - def ttl(self) -> _duration_pb2.Duration: + owner: builtins.str + """Owner of the feature view.""" + @property + def ttl(self) -> google.protobuf.duration_pb2.Duration: """Features in this feature view can only be retrieved from online serving younger than ttl. Ttl is measured as the duration of time between the feature's event timestamp and when the feature is retrieved Feature values outside ttl will be returned as unset values and indicated to end user """ - - @_builtins.property - def batch_source(self) -> _DataSource_pb2.DataSource: + @property + def batch_source(self) -> feast.core.DataSource_pb2.DataSource: """Batch/Offline DataSource where this view can retrieve offline feature data.""" - - @_builtins.property - def stream_source(self) -> _DataSource_pb2.DataSource: + @property + def stream_source(self) -> feast.core.DataSource_pb2.DataSource: """Streaming DataSource from where this view can consume "online" feature data.""" - - @_builtins.property - @_deprecated("""This field has been marked as deprecated using proto field options.""") - def user_defined_function(self) -> _OnDemandFeatureView_pb2.UserDefinedFunction: + online: builtins.bool + """Whether these features should be served online or not""" + @property + def user_defined_function(self) -> feast.core.OnDemandFeatureView_pb2.UserDefinedFunction: """Serialized function that is encoded in the streamfeatureview""" - - @_builtins.property - def aggregations(self) -> _containers.RepeatedCompositeFieldContainer[_Aggregation_pb2.Aggregation]: + mode: builtins.str + """Mode of execution""" + @property + def aggregations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Aggregation_pb2.Aggregation]: """Aggregation definitions""" - - @_builtins.property - def feature_transformation(self) -> _Transformation_pb2.FeatureTransformationV2: + timestamp_field: builtins.str + """Timestamp field for aggregation""" + @property + def feature_transformation(self) -> feast.core.Transformation_pb2.FeatureTransformationV2: """Oneof with {user_defined_function, on_demand_substrait_transformation}""" - - @_builtins.property - def tiling_hop_size(self) -> _duration_pb2.Duration: + enable_tiling: builtins.bool + """Enable tiling for efficient window aggregation""" + @property + def tiling_hop_size(self) -> google.protobuf.duration_pb2.Duration: """Hop size for tiling (e.g., 5 minutes). Determines the granularity of pre-aggregated tiles. If not specified, defaults to 5 minutes. Only used when enable_tiling is true. """ - + enable_validation: builtins.bool + """Whether schema validation is enabled during materialization""" def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - entities: _abc.Iterable[_builtins.str] | None = ..., - features: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., - entity_columns: _abc.Iterable[_Feature_pb2.FeatureSpecV2] | None = ..., - description: _builtins.str = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - owner: _builtins.str = ..., - ttl: _duration_pb2.Duration | None = ..., - batch_source: _DataSource_pb2.DataSource | None = ..., - stream_source: _DataSource_pb2.DataSource | None = ..., - online: _builtins.bool = ..., - user_defined_function: _OnDemandFeatureView_pb2.UserDefinedFunction | None = ..., - mode: _builtins.str = ..., - aggregations: _abc.Iterable[_Aggregation_pb2.Aggregation] | None = ..., - timestamp_field: _builtins.str = ..., - feature_transformation: _Transformation_pb2.FeatureTransformationV2 | None = ..., - enable_tiling: _builtins.bool = ..., - tiling_hop_size: _duration_pb2.Duration | None = ..., - enable_validation: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + entities: collections.abc.Iterable[builtins.str] | None = ..., + features: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., + entity_columns: collections.abc.Iterable[feast.core.Feature_pb2.FeatureSpecV2] | None = ..., + description: builtins.str = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + owner: builtins.str = ..., + ttl: google.protobuf.duration_pb2.Duration | None = ..., + batch_source: feast.core.DataSource_pb2.DataSource | None = ..., + stream_source: feast.core.DataSource_pb2.DataSource | None = ..., + online: builtins.bool = ..., + user_defined_function: feast.core.OnDemandFeatureView_pb2.UserDefinedFunction | None = ..., + mode: builtins.str = ..., + aggregations: collections.abc.Iterable[feast.core.Aggregation_pb2.Aggregation] | None = ..., + timestamp_field: builtins.str = ..., + feature_transformation: feast.core.Transformation_pb2.FeatureTransformationV2 | None = ..., + enable_tiling: builtins.bool = ..., + tiling_hop_size: google.protobuf.duration_pb2.Duration | None = ..., + enable_validation: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["batch_source", b"batch_source", "feature_transformation", b"feature_transformation", "stream_source", b"stream_source", "tiling_hop_size", b"tiling_hop_size", "ttl", b"ttl", "user_defined_function", b"user_defined_function"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["aggregations", b"aggregations", "batch_source", b"batch_source", "description", b"description", "enable_tiling", b"enable_tiling", "enable_validation", b"enable_validation", "entities", b"entities", "entity_columns", b"entity_columns", "feature_transformation", b"feature_transformation", "features", b"features", "mode", b"mode", "name", b"name", "online", b"online", "owner", b"owner", "project", b"project", "stream_source", b"stream_source", "tags", b"tags", "tiling_hop_size", b"tiling_hop_size", "timestamp_field", b"timestamp_field", "ttl", b"ttl", "user_defined_function", b"user_defined_function"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["batch_source", b"batch_source", "feature_transformation", b"feature_transformation", "stream_source", b"stream_source", "tiling_hop_size", b"tiling_hop_size", "ttl", b"ttl", "user_defined_function", b"user_defined_function"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["aggregations", b"aggregations", "batch_source", b"batch_source", "description", b"description", "enable_tiling", b"enable_tiling", "enable_validation", b"enable_validation", "entities", b"entities", "entity_columns", b"entity_columns", "feature_transformation", b"feature_transformation", "features", b"features", "mode", b"mode", "name", b"name", "online", b"online", "owner", b"owner", "project", b"project", "stream_source", b"stream_source", "tags", b"tags", "tiling_hop_size", b"tiling_hop_size", "timestamp_field", b"timestamp_field", "ttl", b"ttl", "user_defined_function", b"user_defined_function"]) -> None: ... -Global___StreamFeatureViewSpec: _TypeAlias = StreamFeatureViewSpec # noqa: Y015 +global___StreamFeatureViewSpec = StreamFeatureViewSpec 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 5246d73510..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 ad4c403b03..c322bc1925 100644 --- a/sdk/python/feast/protos/feast/core/Transformation_pb2.py +++ b/sdk/python/feast/protos/feast/core/Transformation_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/Transformation.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,8 +19,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.Transformation_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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.pyi b/sdk/python/feast/protos/feast/core/Transformation_pb2.pyi index d8aacf9f81..fb56ab5bc7 100644 --- a/sdk/python/feast/protos/feast/core/Transformation_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Transformation_pb2.pyi @@ -2,94 +2,83 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -import builtins as _builtins +import builtins +import google.protobuf.descriptor +import google.protobuf.message import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class UserDefinedFunctionV2(_message.Message): +class UserDefinedFunctionV2(google.protobuf.message.Message): """Serialized representation of python function.""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - BODY_FIELD_NUMBER: _builtins.int - BODY_TEXT_FIELD_NUMBER: _builtins.int - MODE_FIELD_NUMBER: _builtins.int - name: _builtins.str + NAME_FIELD_NUMBER: builtins.int + BODY_FIELD_NUMBER: builtins.int + BODY_TEXT_FIELD_NUMBER: builtins.int + MODE_FIELD_NUMBER: builtins.int + name: builtins.str """The function name""" - body: _builtins.bytes + body: builtins.bytes """The python-syntax function body (serialized by dill)""" - body_text: _builtins.str + body_text: builtins.str """The string representation of the udf""" - mode: _builtins.str + mode: builtins.str """The transformation mode (e.g., "python", "pandas", "ray", "spark", "sql")""" def __init__( self, *, - name: _builtins.str = ..., - body: _builtins.bytes = ..., - body_text: _builtins.str = ..., - mode: _builtins.str = ..., + name: builtins.str = ..., + body: builtins.bytes = ..., + body_text: builtins.str = ..., + mode: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["body", b"body", "body_text", b"body_text", "mode", b"mode", "name", b"name"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["body", b"body", "body_text", b"body_text", "mode", b"mode", "name", b"name"]) -> None: ... -Global___UserDefinedFunctionV2: _TypeAlias = UserDefinedFunctionV2 # noqa: Y015 +global___UserDefinedFunctionV2 = UserDefinedFunctionV2 -@_typing.final -class FeatureTransformationV2(_message.Message): +class FeatureTransformationV2(google.protobuf.message.Message): """A feature transformation executed as a user-defined function""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - USER_DEFINED_FUNCTION_FIELD_NUMBER: _builtins.int - SUBSTRAIT_TRANSFORMATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def user_defined_function(self) -> Global___UserDefinedFunctionV2: ... - @_builtins.property - def substrait_transformation(self) -> Global___SubstraitTransformationV2: ... + USER_DEFINED_FUNCTION_FIELD_NUMBER: builtins.int + SUBSTRAIT_TRANSFORMATION_FIELD_NUMBER: builtins.int + @property + def user_defined_function(self) -> global___UserDefinedFunctionV2: ... + @property + def substrait_transformation(self) -> global___SubstraitTransformationV2: ... def __init__( self, *, - user_defined_function: Global___UserDefinedFunctionV2 | None = ..., - substrait_transformation: Global___SubstraitTransformationV2 | None = ..., + user_defined_function: global___UserDefinedFunctionV2 | None = ..., + substrait_transformation: global___SubstraitTransformationV2 | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["substrait_transformation", b"substrait_transformation", "transformation", b"transformation", "user_defined_function", b"user_defined_function"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["substrait_transformation", b"substrait_transformation", "transformation", b"transformation", "user_defined_function", b"user_defined_function"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_transformation: _TypeAlias = _typing.Literal["user_defined_function", "substrait_transformation"] # noqa: Y015 - _WhichOneofArgType_transformation: _TypeAlias = _typing.Literal["transformation", b"transformation"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_transformation) -> _WhichOneofReturnType_transformation | None: ... + def HasField(self, field_name: typing_extensions.Literal["substrait_transformation", b"substrait_transformation", "transformation", b"transformation", "user_defined_function", b"user_defined_function"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["substrait_transformation", b"substrait_transformation", "transformation", b"transformation", "user_defined_function", b"user_defined_function"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["transformation", b"transformation"]) -> typing_extensions.Literal["user_defined_function", "substrait_transformation"] | None: ... -Global___FeatureTransformationV2: _TypeAlias = FeatureTransformationV2 # noqa: Y015 +global___FeatureTransformationV2 = FeatureTransformationV2 -@_typing.final -class SubstraitTransformationV2(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class SubstraitTransformationV2(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SUBSTRAIT_PLAN_FIELD_NUMBER: _builtins.int - IBIS_FUNCTION_FIELD_NUMBER: _builtins.int - substrait_plan: _builtins.bytes - ibis_function: _builtins.bytes + SUBSTRAIT_PLAN_FIELD_NUMBER: builtins.int + IBIS_FUNCTION_FIELD_NUMBER: builtins.int + substrait_plan: builtins.bytes + ibis_function: builtins.bytes def __init__( self, *, - substrait_plan: _builtins.bytes = ..., - ibis_function: _builtins.bytes = ..., + substrait_plan: builtins.bytes = ..., + ibis_function: builtins.bytes = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["ibis_function", b"ibis_function", "substrait_plan", b"substrait_plan"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["ibis_function", b"ibis_function", "substrait_plan", b"substrait_plan"]) -> None: ... -Global___SubstraitTransformationV2: _TypeAlias = SubstraitTransformationV2 # noqa: Y015 +global___SubstraitTransformationV2 = SubstraitTransformationV2 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 1e265036e1..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/Transformation_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/Transformation_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 4e55298b27..0fb27ceab1 100644 --- a/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.py +++ b/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/core/ValidationProfile.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,10 +19,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.core.ValidationProfile_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\020feast.proto.coreB\021ValidationProfileZ/github.com/feast-dev/feast/go/protos/feast/core' - _globals['_VALIDATIONREFERENCE_TAGSENTRY']._loaded_options = None + _globals['_VALIDATIONREFERENCE_TAGSENTRY']._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.pyi b/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.pyi index 16cc081f05..93da1e0f5e 100644 --- a/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.pyi @@ -16,139 +16,121 @@ 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. """ - -from collections import abc as _abc -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message import sys -import typing as _typing +import typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class GEValidationProfiler(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GEValidationProfiler(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class UserDefinedProfiler(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class UserDefinedProfiler(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - BODY_FIELD_NUMBER: _builtins.int - body: _builtins.bytes + BODY_FIELD_NUMBER: builtins.int + body: builtins.bytes """The python-syntax function body (serialized by dill)""" def __init__( self, *, - body: _builtins.bytes = ..., + body: builtins.bytes = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["body", b"body"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["body", b"body"]) -> None: ... - PROFILER_FIELD_NUMBER: _builtins.int - @_builtins.property - def profiler(self) -> Global___GEValidationProfiler.UserDefinedProfiler: ... + PROFILER_FIELD_NUMBER: builtins.int + @property + def profiler(self) -> global___GEValidationProfiler.UserDefinedProfiler: ... def __init__( self, *, - profiler: Global___GEValidationProfiler.UserDefinedProfiler | None = ..., + profiler: global___GEValidationProfiler.UserDefinedProfiler | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["profiler", b"profiler"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["profiler", b"profiler"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["profiler", b"profiler"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["profiler", b"profiler"]) -> None: ... -Global___GEValidationProfiler: _TypeAlias = GEValidationProfiler # noqa: Y015 +global___GEValidationProfiler = GEValidationProfiler -@_typing.final -class GEValidationProfile(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GEValidationProfile(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - EXPECTATION_SUITE_FIELD_NUMBER: _builtins.int - expectation_suite: _builtins.bytes + EXPECTATION_SUITE_FIELD_NUMBER: builtins.int + expectation_suite: builtins.bytes """JSON-serialized ExpectationSuite object""" def __init__( self, *, - expectation_suite: _builtins.bytes = ..., + expectation_suite: builtins.bytes = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["expectation_suite", b"expectation_suite"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["expectation_suite", b"expectation_suite"]) -> None: ... -Global___GEValidationProfile: _TypeAlias = GEValidationProfile # noqa: Y015 +global___GEValidationProfile = GEValidationProfile -@_typing.final -class ValidationReference(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ValidationReference(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - NAME_FIELD_NUMBER: _builtins.int - REFERENCE_DATASET_NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - DESCRIPTION_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - GE_PROFILER_FIELD_NUMBER: _builtins.int - GE_PROFILE_FIELD_NUMBER: _builtins.int - name: _builtins.str + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + NAME_FIELD_NUMBER: builtins.int + REFERENCE_DATASET_NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + GE_PROFILER_FIELD_NUMBER: builtins.int + GE_PROFILE_FIELD_NUMBER: builtins.int + name: builtins.str """Unique name of validation reference within the project""" - reference_dataset_name: _builtins.str + reference_dataset_name: builtins.str """Name of saved dataset used as reference dataset""" - project: _builtins.str + project: builtins.str """Name of Feast project that this object source belongs to""" - description: _builtins.str + description: builtins.str """Description of the validation reference""" - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """User defined metadata""" - - @_builtins.property - def ge_profiler(self) -> Global___GEValidationProfiler: ... - @_builtins.property - def ge_profile(self) -> Global___GEValidationProfile: ... + @property + def ge_profiler(self) -> global___GEValidationProfiler: ... + @property + def ge_profile(self) -> global___GEValidationProfile: ... def __init__( self, *, - name: _builtins.str = ..., - reference_dataset_name: _builtins.str = ..., - project: _builtins.str = ..., - description: _builtins.str = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - ge_profiler: Global___GEValidationProfiler | None = ..., - ge_profile: Global___GEValidationProfile | None = ..., + name: builtins.str = ..., + reference_dataset_name: builtins.str = ..., + project: builtins.str = ..., + description: builtins.str = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + ge_profiler: global___GEValidationProfiler | None = ..., + ge_profile: global___GEValidationProfile | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["cached_profile", b"cached_profile", "ge_profile", b"ge_profile", "ge_profiler", b"ge_profiler", "profiler", b"profiler"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["cached_profile", b"cached_profile", "description", b"description", "ge_profile", b"ge_profile", "ge_profiler", b"ge_profiler", "name", b"name", "profiler", b"profiler", "project", b"project", "reference_dataset_name", b"reference_dataset_name", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_cached_profile: _TypeAlias = _typing.Literal["ge_profile"] # noqa: Y015 - _WhichOneofArgType_cached_profile: _TypeAlias = _typing.Literal["cached_profile", b"cached_profile"] # noqa: Y015 - _WhichOneofReturnType_profiler: _TypeAlias = _typing.Literal["ge_profiler"] # noqa: Y015 - _WhichOneofArgType_profiler: _TypeAlias = _typing.Literal["profiler", b"profiler"] # noqa: Y015 - @_typing.overload - def WhichOneof(self, oneof_group: _WhichOneofArgType_cached_profile) -> _WhichOneofReturnType_cached_profile | None: ... - @_typing.overload - def WhichOneof(self, oneof_group: _WhichOneofArgType_profiler) -> _WhichOneofReturnType_profiler | None: ... - -Global___ValidationReference: _TypeAlias = ValidationReference # noqa: Y015 + def HasField(self, field_name: typing_extensions.Literal["cached_profile", b"cached_profile", "ge_profile", b"ge_profile", "ge_profiler", b"ge_profiler", "profiler", b"profiler"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["cached_profile", b"cached_profile", "description", b"description", "ge_profile", b"ge_profile", "ge_profiler", b"ge_profiler", "name", b"name", "profiler", b"profiler", "project", b"project", "reference_dataset_name", b"reference_dataset_name", "tags", b"tags"]) -> None: ... + @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal["cached_profile", b"cached_profile"]) -> typing_extensions.Literal["ge_profile"] | None: ... + @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal["profiler", b"profiler"]) -> typing_extensions.Literal["ge_profiler"] | None: ... + +global___ValidationReference = ValidationReference 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 0c52863b5e..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/core/ValidationProfile_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/core/ValidationProfile_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 bca9466e75..8b346fcd67 100644 --- a/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.py +++ b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/registry/RegistryServer.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -43,32 +33,32 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.registry.RegistryServer_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'Z3github.com/feast-dev/feast/go/protos/feast/registry' - _globals['_LISTENTITIESREQUEST_TAGSENTRY']._loaded_options = None + _globals['_LISTENTITIESREQUEST_TAGSENTRY']._options = None _globals['_LISTENTITIESREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTDATASOURCESREQUEST_TAGSENTRY']._loaded_options = None + _globals['_LISTDATASOURCESREQUEST_TAGSENTRY']._options = None _globals['_LISTDATASOURCESREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTFEATUREVIEWSREQUEST_TAGSENTRY']._loaded_options = None + _globals['_LISTFEATUREVIEWSREQUEST_TAGSENTRY']._options = None _globals['_LISTFEATUREVIEWSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTALLFEATUREVIEWSREQUEST_TAGSENTRY']._loaded_options = None + _globals['_LISTALLFEATUREVIEWSREQUEST_TAGSENTRY']._options = None _globals['_LISTALLFEATUREVIEWSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTSTREAMFEATUREVIEWSREQUEST_TAGSENTRY']._loaded_options = None + _globals['_LISTSTREAMFEATUREVIEWSREQUEST_TAGSENTRY']._options = None _globals['_LISTSTREAMFEATUREVIEWSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTONDEMANDFEATUREVIEWSREQUEST_TAGSENTRY']._loaded_options = None + _globals['_LISTONDEMANDFEATUREVIEWSREQUEST_TAGSENTRY']._options = None _globals['_LISTONDEMANDFEATUREVIEWSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTFEATURESERVICESREQUEST_TAGSENTRY']._loaded_options = None + _globals['_LISTFEATURESERVICESREQUEST_TAGSENTRY']._options = None _globals['_LISTFEATURESERVICESREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTSAVEDDATASETSREQUEST_TAGSENTRY']._loaded_options = None + _globals['_LISTSAVEDDATASETSREQUEST_TAGSENTRY']._options = None _globals['_LISTSAVEDDATASETSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTVALIDATIONREFERENCESREQUEST_TAGSENTRY']._loaded_options = None + _globals['_LISTVALIDATIONREFERENCESREQUEST_TAGSENTRY']._options = None _globals['_LISTVALIDATIONREFERENCESREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTPERMISSIONSREQUEST_TAGSENTRY']._loaded_options = None + _globals['_LISTPERMISSIONSREQUEST_TAGSENTRY']._options = None _globals['_LISTPERMISSIONSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_LISTPROJECTSREQUEST_TAGSENTRY']._loaded_options = None + _globals['_LISTPROJECTSREQUEST_TAGSENTRY']._options = None _globals['_LISTPROJECTSREQUEST_TAGSENTRY']._serialized_options = b'8\001' - _globals['_FEATURE_TAGSENTRY']._loaded_options = None + _globals['_FEATURE_TAGSENTRY']._options = None _globals['_FEATURE_TAGSENTRY']._serialized_options = b'8\001' _globals['_PAGINATIONPARAMS']._serialized_start=487 _globals['_PAGINATIONPARAMS']._serialized_end=534 diff --git a/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.pyi b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.pyi index 7dd137bc89..a1f1b99365 100644 --- a/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.pyi +++ b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.pyi @@ -2,2053 +2,1841 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -from collections import abc as _abc -from feast.core import DataSource_pb2 as _DataSource_pb2 -from feast.core import Entity_pb2 as _Entity_pb2 -from feast.core import FeatureService_pb2 as _FeatureService_pb2 -from feast.core import FeatureView_pb2 as _FeatureView_pb2 -from feast.core import InfraObject_pb2 as _InfraObject_pb2 -from feast.core import OnDemandFeatureView_pb2 as _OnDemandFeatureView_pb2 -from feast.core import Permission_pb2 as _Permission_pb2 -from feast.core import Project_pb2 as _Project_pb2 -from feast.core import Registry_pb2 as _Registry_pb2 -from feast.core import SavedDataset_pb2 as _SavedDataset_pb2 -from feast.core import StreamFeatureView_pb2 as _StreamFeatureView_pb2 -from feast.core import ValidationProfile_pb2 as _ValidationProfile_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.core.DataSource_pb2 +import feast.core.Entity_pb2 +import feast.core.FeatureService_pb2 +import feast.core.FeatureView_pb2 +import feast.core.InfraObject_pb2 +import feast.core.OnDemandFeatureView_pb2 +import feast.core.Permission_pb2 +import feast.core.Project_pb2 +import feast.core.Registry_pb2 +import feast.core.SavedDataset_pb2 +import feast.core.StreamFeatureView_pb2 +import feast.core.ValidationProfile_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class PaginationParams(_message.Message): +class PaginationParams(google.protobuf.message.Message): """Common pagination and sorting messages""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PAGE_FIELD_NUMBER: _builtins.int - LIMIT_FIELD_NUMBER: _builtins.int - page: _builtins.int + PAGE_FIELD_NUMBER: builtins.int + LIMIT_FIELD_NUMBER: builtins.int + page: builtins.int """1-based page number""" - limit: _builtins.int + limit: builtins.int """Number of items per page""" def __init__( self, *, - page: _builtins.int = ..., - limit: _builtins.int = ..., + page: builtins.int = ..., + limit: builtins.int = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["limit", b"limit", "page", b"page"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["limit", b"limit", "page", b"page"]) -> None: ... -Global___PaginationParams: _TypeAlias = PaginationParams # noqa: Y015 +global___PaginationParams = PaginationParams -@_typing.final -class SortingParams(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class SortingParams(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SORT_BY_FIELD_NUMBER: _builtins.int - SORT_ORDER_FIELD_NUMBER: _builtins.int - sort_by: _builtins.str + SORT_BY_FIELD_NUMBER: builtins.int + SORT_ORDER_FIELD_NUMBER: builtins.int + sort_by: builtins.str """Field to sort by (supports dot notation)""" - sort_order: _builtins.str + sort_order: builtins.str """"asc" or "desc" """ def __init__( self, *, - sort_by: _builtins.str = ..., - sort_order: _builtins.str = ..., + sort_by: builtins.str = ..., + sort_order: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["sort_by", b"sort_by", "sort_order", b"sort_order"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["sort_by", b"sort_by", "sort_order", b"sort_order"]) -> None: ... -Global___SortingParams: _TypeAlias = SortingParams # noqa: Y015 +global___SortingParams = SortingParams -@_typing.final -class PaginationMetadata(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class PaginationMetadata(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PAGE_FIELD_NUMBER: _builtins.int - LIMIT_FIELD_NUMBER: _builtins.int - TOTAL_COUNT_FIELD_NUMBER: _builtins.int - TOTAL_PAGES_FIELD_NUMBER: _builtins.int - HAS_NEXT_FIELD_NUMBER: _builtins.int - HAS_PREVIOUS_FIELD_NUMBER: _builtins.int - page: _builtins.int - limit: _builtins.int - total_count: _builtins.int - total_pages: _builtins.int - has_next: _builtins.bool - has_previous: _builtins.bool + PAGE_FIELD_NUMBER: builtins.int + LIMIT_FIELD_NUMBER: builtins.int + TOTAL_COUNT_FIELD_NUMBER: builtins.int + TOTAL_PAGES_FIELD_NUMBER: builtins.int + HAS_NEXT_FIELD_NUMBER: builtins.int + HAS_PREVIOUS_FIELD_NUMBER: builtins.int + page: builtins.int + limit: builtins.int + total_count: builtins.int + total_pages: builtins.int + has_next: builtins.bool + has_previous: builtins.bool def __init__( self, *, - page: _builtins.int = ..., - limit: _builtins.int = ..., - total_count: _builtins.int = ..., - total_pages: _builtins.int = ..., - has_next: _builtins.bool = ..., - has_previous: _builtins.bool = ..., + page: builtins.int = ..., + limit: builtins.int = ..., + total_count: builtins.int = ..., + total_pages: builtins.int = ..., + has_next: builtins.bool = ..., + has_previous: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["has_next", b"has_next", "has_previous", b"has_previous", "limit", b"limit", "page", b"page", "total_count", b"total_count", "total_pages", b"total_pages"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["has_next", b"has_next", "has_previous", b"has_previous", "limit", b"limit", "page", b"page", "total_count", b"total_count", "total_pages", b"total_pages"]) -> None: ... -Global___PaginationMetadata: _TypeAlias = PaginationMetadata # noqa: Y015 +global___PaginationMetadata = PaginationMetadata -@_typing.final -class RefreshRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class RefreshRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PROJECT_FIELD_NUMBER: _builtins.int - project: _builtins.str + PROJECT_FIELD_NUMBER: builtins.int + project: builtins.str def __init__( self, *, - project: _builtins.str = ..., + project: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["project", b"project"]) -> None: ... -Global___RefreshRequest: _TypeAlias = RefreshRequest # noqa: Y015 +global___RefreshRequest = RefreshRequest -@_typing.final -class UpdateInfraRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class UpdateInfraRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - INFRA_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - project: _builtins.str - commit: _builtins.bool - @_builtins.property - def infra(self) -> _InfraObject_pb2.Infra: ... + INFRA_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + @property + def infra(self) -> feast.core.InfraObject_pb2.Infra: ... + project: builtins.str + commit: builtins.bool def __init__( self, *, - infra: _InfraObject_pb2.Infra | None = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + infra: feast.core.InfraObject_pb2.Infra | None = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["infra", b"infra"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "infra", b"infra", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["infra", b"infra"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "infra", b"infra", "project", b"project"]) -> None: ... -Global___UpdateInfraRequest: _TypeAlias = UpdateInfraRequest # noqa: Y015 +global___UpdateInfraRequest = UpdateInfraRequest -@_typing.final -class GetInfraRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetInfraRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool def __init__( self, *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "project", b"project"]) -> None: ... -Global___GetInfraRequest: _TypeAlias = GetInfraRequest # noqa: Y015 +global___GetInfraRequest = GetInfraRequest -@_typing.final -class ListProjectMetadataRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListProjectMetadataRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool def __init__( self, *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "project", b"project"]) -> None: ... -Global___ListProjectMetadataRequest: _TypeAlias = ListProjectMetadataRequest # noqa: Y015 +global___ListProjectMetadataRequest = ListProjectMetadataRequest -@_typing.final -class ListProjectMetadataResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListProjectMetadataResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PROJECT_METADATA_FIELD_NUMBER: _builtins.int - @_builtins.property - def project_metadata(self) -> _containers.RepeatedCompositeFieldContainer[_Registry_pb2.ProjectMetadata]: ... + PROJECT_METADATA_FIELD_NUMBER: builtins.int + @property + def project_metadata(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Registry_pb2.ProjectMetadata]: ... def __init__( self, *, - project_metadata: _abc.Iterable[_Registry_pb2.ProjectMetadata] | None = ..., + project_metadata: collections.abc.Iterable[feast.core.Registry_pb2.ProjectMetadata] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["project_metadata", b"project_metadata"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["project_metadata", b"project_metadata"]) -> None: ... -Global___ListProjectMetadataResponse: _TypeAlias = ListProjectMetadataResponse # noqa: Y015 +global___ListProjectMetadataResponse = ListProjectMetadataResponse -@_typing.final -class ApplyMaterializationRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ApplyMaterializationRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FEATURE_VIEW_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - START_DATE_FIELD_NUMBER: _builtins.int - END_DATE_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - project: _builtins.str - commit: _builtins.bool - @_builtins.property - def feature_view(self) -> _FeatureView_pb2.FeatureView: ... - @_builtins.property - def start_date(self) -> _timestamp_pb2.Timestamp: ... - @_builtins.property - def end_date(self) -> _timestamp_pb2.Timestamp: ... + FEATURE_VIEW_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + START_DATE_FIELD_NUMBER: builtins.int + END_DATE_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + @property + def feature_view(self) -> feast.core.FeatureView_pb2.FeatureView: ... + project: builtins.str + @property + def start_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def end_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + commit: builtins.bool def __init__( self, *, - feature_view: _FeatureView_pb2.FeatureView | None = ..., - project: _builtins.str = ..., - start_date: _timestamp_pb2.Timestamp | None = ..., - end_date: _timestamp_pb2.Timestamp | None = ..., - commit: _builtins.bool = ..., + feature_view: feast.core.FeatureView_pb2.FeatureView | None = ..., + project: builtins.str = ..., + start_date: google.protobuf.timestamp_pb2.Timestamp | None = ..., + end_date: google.protobuf.timestamp_pb2.Timestamp | None = ..., + commit: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["end_date", b"end_date", "feature_view", b"feature_view", "start_date", b"start_date"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "end_date", b"end_date", "feature_view", b"feature_view", "project", b"project", "start_date", b"start_date"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["end_date", b"end_date", "feature_view", b"feature_view", "start_date", b"start_date"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "end_date", b"end_date", "feature_view", b"feature_view", "project", b"project", "start_date", b"start_date"]) -> None: ... -Global___ApplyMaterializationRequest: _TypeAlias = ApplyMaterializationRequest # noqa: Y015 +global___ApplyMaterializationRequest = ApplyMaterializationRequest -@_typing.final -class ApplyEntityRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ApplyEntityRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - ENTITY_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - project: _builtins.str - commit: _builtins.bool - @_builtins.property - def entity(self) -> _Entity_pb2.Entity: ... + ENTITY_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + @property + def entity(self) -> feast.core.Entity_pb2.Entity: ... + project: builtins.str + commit: builtins.bool def __init__( self, *, - entity: _Entity_pb2.Entity | None = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + entity: feast.core.Entity_pb2.Entity | None = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["entity", b"entity"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "entity", b"entity", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["entity", b"entity"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "entity", b"entity", "project", b"project"]) -> None: ... -Global___ApplyEntityRequest: _TypeAlias = ApplyEntityRequest # noqa: Y015 +global___ApplyEntityRequest = ApplyEntityRequest -@_typing.final -class GetEntityRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetEntityRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - allow_cache: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + allow_cache: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... -Global___GetEntityRequest: _TypeAlias = GetEntityRequest # noqa: Y015 +global___GetEntityRequest = GetEntityRequest -@_typing.final -class ListEntitiesRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListEntitiesRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... def __init__( self, *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... -Global___ListEntitiesRequest: _TypeAlias = ListEntitiesRequest # noqa: Y015 +global___ListEntitiesRequest = ListEntitiesRequest -@_typing.final -class ListEntitiesResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListEntitiesResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - ENTITIES_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def entities(self) -> _containers.RepeatedCompositeFieldContainer[_Entity_pb2.Entity]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... + ENTITIES_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def entities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Entity_pb2.Entity]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... def __init__( self, *, - entities: _abc.Iterable[_Entity_pb2.Entity] | None = ..., - pagination: Global___PaginationMetadata | None = ..., + entities: collections.abc.Iterable[feast.core.Entity_pb2.Entity] | None = ..., + pagination: global___PaginationMetadata | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["entities", b"entities", "pagination", b"pagination"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["entities", b"entities", "pagination", b"pagination"]) -> None: ... -Global___ListEntitiesResponse: _TypeAlias = ListEntitiesResponse # noqa: Y015 +global___ListEntitiesResponse = ListEntitiesResponse -@_typing.final -class DeleteEntityRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class DeleteEntityRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - commit: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + commit: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... -Global___DeleteEntityRequest: _TypeAlias = DeleteEntityRequest # noqa: Y015 +global___DeleteEntityRequest = DeleteEntityRequest -@_typing.final -class ApplyDataSourceRequest(_message.Message): +class ApplyDataSourceRequest(google.protobuf.message.Message): """DataSources""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - DATA_SOURCE_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - project: _builtins.str - commit: _builtins.bool - @_builtins.property - def data_source(self) -> _DataSource_pb2.DataSource: ... + DATA_SOURCE_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + @property + def data_source(self) -> feast.core.DataSource_pb2.DataSource: ... + project: builtins.str + commit: builtins.bool def __init__( self, *, - data_source: _DataSource_pb2.DataSource | None = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + data_source: feast.core.DataSource_pb2.DataSource | None = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["data_source", b"data_source"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "data_source", b"data_source", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["data_source", b"data_source"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "data_source", b"data_source", "project", b"project"]) -> None: ... -Global___ApplyDataSourceRequest: _TypeAlias = ApplyDataSourceRequest # noqa: Y015 +global___ApplyDataSourceRequest = ApplyDataSourceRequest -@_typing.final -class GetDataSourceRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetDataSourceRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - allow_cache: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + allow_cache: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... -Global___GetDataSourceRequest: _TypeAlias = GetDataSourceRequest # noqa: Y015 +global___GetDataSourceRequest = GetDataSourceRequest -@_typing.final -class ListDataSourcesRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListDataSourcesRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... def __init__( self, *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... -Global___ListDataSourcesRequest: _TypeAlias = ListDataSourcesRequest # noqa: Y015 +global___ListDataSourcesRequest = ListDataSourcesRequest -@_typing.final -class ListDataSourcesResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListDataSourcesResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - DATA_SOURCES_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def data_sources(self) -> _containers.RepeatedCompositeFieldContainer[_DataSource_pb2.DataSource]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... + DATA_SOURCES_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def data_sources(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.DataSource_pb2.DataSource]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... def __init__( self, *, - data_sources: _abc.Iterable[_DataSource_pb2.DataSource] | None = ..., - pagination: Global___PaginationMetadata | None = ..., + data_sources: collections.abc.Iterable[feast.core.DataSource_pb2.DataSource] | None = ..., + pagination: global___PaginationMetadata | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["data_sources", b"data_sources", "pagination", b"pagination"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["data_sources", b"data_sources", "pagination", b"pagination"]) -> None: ... -Global___ListDataSourcesResponse: _TypeAlias = ListDataSourcesResponse # noqa: Y015 +global___ListDataSourcesResponse = ListDataSourcesResponse -@_typing.final -class DeleteDataSourceRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class DeleteDataSourceRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - commit: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + commit: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... -Global___DeleteDataSourceRequest: _TypeAlias = DeleteDataSourceRequest # noqa: Y015 +global___DeleteDataSourceRequest = DeleteDataSourceRequest -@_typing.final -class ApplyFeatureViewRequest(_message.Message): +class ApplyFeatureViewRequest(google.protobuf.message.Message): """FeatureViews""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FEATURE_VIEW_FIELD_NUMBER: _builtins.int - ON_DEMAND_FEATURE_VIEW_FIELD_NUMBER: _builtins.int - STREAM_FEATURE_VIEW_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - project: _builtins.str - commit: _builtins.bool - @_builtins.property - def feature_view(self) -> _FeatureView_pb2.FeatureView: ... - @_builtins.property - def on_demand_feature_view(self) -> _OnDemandFeatureView_pb2.OnDemandFeatureView: ... - @_builtins.property - def stream_feature_view(self) -> _StreamFeatureView_pb2.StreamFeatureView: ... + FEATURE_VIEW_FIELD_NUMBER: builtins.int + ON_DEMAND_FEATURE_VIEW_FIELD_NUMBER: builtins.int + STREAM_FEATURE_VIEW_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + @property + def feature_view(self) -> feast.core.FeatureView_pb2.FeatureView: ... + @property + def on_demand_feature_view(self) -> feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView: ... + @property + def stream_feature_view(self) -> feast.core.StreamFeatureView_pb2.StreamFeatureView: ... + project: builtins.str + commit: builtins.bool def __init__( self, *, - feature_view: _FeatureView_pb2.FeatureView | None = ..., - on_demand_feature_view: _OnDemandFeatureView_pb2.OnDemandFeatureView | None = ..., - stream_feature_view: _StreamFeatureView_pb2.StreamFeatureView | None = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + feature_view: feast.core.FeatureView_pb2.FeatureView | None = ..., + on_demand_feature_view: feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView | None = ..., + stream_feature_view: feast.core.StreamFeatureView_pb2.StreamFeatureView | None = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["base_feature_view", b"base_feature_view", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "stream_feature_view", b"stream_feature_view"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["base_feature_view", b"base_feature_view", "commit", b"commit", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "project", b"project", "stream_feature_view", b"stream_feature_view"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_base_feature_view: _TypeAlias = _typing.Literal["feature_view", "on_demand_feature_view", "stream_feature_view"] # noqa: Y015 - _WhichOneofArgType_base_feature_view: _TypeAlias = _typing.Literal["base_feature_view", b"base_feature_view"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_base_feature_view) -> _WhichOneofReturnType_base_feature_view | None: ... + def HasField(self, field_name: typing_extensions.Literal["base_feature_view", b"base_feature_view", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "stream_feature_view", b"stream_feature_view"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["base_feature_view", b"base_feature_view", "commit", b"commit", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "project", b"project", "stream_feature_view", b"stream_feature_view"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["base_feature_view", b"base_feature_view"]) -> typing_extensions.Literal["feature_view", "on_demand_feature_view", "stream_feature_view"] | None: ... -Global___ApplyFeatureViewRequest: _TypeAlias = ApplyFeatureViewRequest # noqa: Y015 +global___ApplyFeatureViewRequest = ApplyFeatureViewRequest -@_typing.final -class GetFeatureViewRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetFeatureViewRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - allow_cache: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + allow_cache: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... -Global___GetFeatureViewRequest: _TypeAlias = GetFeatureViewRequest # noqa: Y015 +global___GetFeatureViewRequest = GetFeatureViewRequest -@_typing.final -class ListFeatureViewsRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListFeatureViewsRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... def __init__( self, *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... -Global___ListFeatureViewsRequest: _TypeAlias = ListFeatureViewsRequest # noqa: Y015 +global___ListFeatureViewsRequest = ListFeatureViewsRequest -@_typing.final -class ListFeatureViewsResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListFeatureViewsResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FEATURE_VIEWS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def feature_views(self) -> _containers.RepeatedCompositeFieldContainer[_FeatureView_pb2.FeatureView]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... + FEATURE_VIEWS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureView_pb2.FeatureView]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... def __init__( self, *, - feature_views: _abc.Iterable[_FeatureView_pb2.FeatureView] | None = ..., - pagination: Global___PaginationMetadata | None = ..., + feature_views: collections.abc.Iterable[feast.core.FeatureView_pb2.FeatureView] | None = ..., + pagination: global___PaginationMetadata | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_views", b"feature_views", "pagination", b"pagination"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["feature_views", b"feature_views", "pagination", b"pagination"]) -> None: ... -Global___ListFeatureViewsResponse: _TypeAlias = ListFeatureViewsResponse # noqa: Y015 +global___ListFeatureViewsResponse = ListFeatureViewsResponse -@_typing.final -class DeleteFeatureViewRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class DeleteFeatureViewRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - commit: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + commit: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... -Global___DeleteFeatureViewRequest: _TypeAlias = DeleteFeatureViewRequest # noqa: Y015 +global___DeleteFeatureViewRequest = DeleteFeatureViewRequest -@_typing.final -class AnyFeatureView(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class AnyFeatureView(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FEATURE_VIEW_FIELD_NUMBER: _builtins.int - ON_DEMAND_FEATURE_VIEW_FIELD_NUMBER: _builtins.int - STREAM_FEATURE_VIEW_FIELD_NUMBER: _builtins.int - @_builtins.property - def feature_view(self) -> _FeatureView_pb2.FeatureView: ... - @_builtins.property - def on_demand_feature_view(self) -> _OnDemandFeatureView_pb2.OnDemandFeatureView: ... - @_builtins.property - def stream_feature_view(self) -> _StreamFeatureView_pb2.StreamFeatureView: ... + FEATURE_VIEW_FIELD_NUMBER: builtins.int + ON_DEMAND_FEATURE_VIEW_FIELD_NUMBER: builtins.int + STREAM_FEATURE_VIEW_FIELD_NUMBER: builtins.int + @property + def feature_view(self) -> feast.core.FeatureView_pb2.FeatureView: ... + @property + def on_demand_feature_view(self) -> feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView: ... + @property + def stream_feature_view(self) -> feast.core.StreamFeatureView_pb2.StreamFeatureView: ... def __init__( self, *, - feature_view: _FeatureView_pb2.FeatureView | None = ..., - on_demand_feature_view: _OnDemandFeatureView_pb2.OnDemandFeatureView | None = ..., - stream_feature_view: _StreamFeatureView_pb2.StreamFeatureView | None = ..., + feature_view: feast.core.FeatureView_pb2.FeatureView | None = ..., + on_demand_feature_view: feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView | None = ..., + stream_feature_view: feast.core.StreamFeatureView_pb2.StreamFeatureView | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["any_feature_view", b"any_feature_view", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "stream_feature_view", b"stream_feature_view"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["any_feature_view", b"any_feature_view", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "stream_feature_view", b"stream_feature_view"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_any_feature_view: _TypeAlias = _typing.Literal["feature_view", "on_demand_feature_view", "stream_feature_view"] # noqa: Y015 - _WhichOneofArgType_any_feature_view: _TypeAlias = _typing.Literal["any_feature_view", b"any_feature_view"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_any_feature_view) -> _WhichOneofReturnType_any_feature_view | None: ... + def HasField(self, field_name: typing_extensions.Literal["any_feature_view", b"any_feature_view", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "stream_feature_view", b"stream_feature_view"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["any_feature_view", b"any_feature_view", "feature_view", b"feature_view", "on_demand_feature_view", b"on_demand_feature_view", "stream_feature_view", b"stream_feature_view"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["any_feature_view", b"any_feature_view"]) -> typing_extensions.Literal["feature_view", "on_demand_feature_view", "stream_feature_view"] | None: ... -Global___AnyFeatureView: _TypeAlias = AnyFeatureView # noqa: Y015 +global___AnyFeatureView = AnyFeatureView -@_typing.final -class GetAnyFeatureViewRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetAnyFeatureViewRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - allow_cache: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + allow_cache: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... -Global___GetAnyFeatureViewRequest: _TypeAlias = GetAnyFeatureViewRequest # noqa: Y015 +global___GetAnyFeatureViewRequest = GetAnyFeatureViewRequest -@_typing.final -class GetAnyFeatureViewResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetAnyFeatureViewResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - ANY_FEATURE_VIEW_FIELD_NUMBER: _builtins.int - @_builtins.property - def any_feature_view(self) -> Global___AnyFeatureView: ... + ANY_FEATURE_VIEW_FIELD_NUMBER: builtins.int + @property + def any_feature_view(self) -> global___AnyFeatureView: ... def __init__( self, *, - any_feature_view: Global___AnyFeatureView | None = ..., + any_feature_view: global___AnyFeatureView | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["any_feature_view", b"any_feature_view"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["any_feature_view", b"any_feature_view"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["any_feature_view", b"any_feature_view"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["any_feature_view", b"any_feature_view"]) -> None: ... -Global___GetAnyFeatureViewResponse: _TypeAlias = GetAnyFeatureViewResponse # noqa: Y015 +global___GetAnyFeatureViewResponse = GetAnyFeatureViewResponse -@_typing.final -class ListAllFeatureViewsRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListAllFeatureViewsRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - ENTITY_FIELD_NUMBER: _builtins.int - FEATURE_FIELD_NUMBER: _builtins.int - FEATURE_SERVICE_FIELD_NUMBER: _builtins.int - DATA_SOURCE_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool - entity: _builtins.str - feature: _builtins.str - feature_service: _builtins.str - data_source: _builtins.str - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... - def __init__( - self, - *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - entity: _builtins.str = ..., - feature: _builtins.str = ..., - feature_service: _builtins.str = ..., - data_source: _builtins.str = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., - ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "data_source", b"data_source", "entity", b"entity", "feature", b"feature", "feature_service", b"feature_service", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___ListAllFeatureViewsRequest: _TypeAlias = ListAllFeatureViewsRequest # noqa: Y015 - -@_typing.final -class ListAllFeatureViewsResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - FEATURE_VIEWS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def feature_views(self) -> _containers.RepeatedCompositeFieldContainer[Global___AnyFeatureView]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... - def __init__( - self, - *, - feature_views: _abc.Iterable[Global___AnyFeatureView] | None = ..., - pagination: Global___PaginationMetadata | None = ..., - ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_views", b"feature_views", "pagination", b"pagination"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___ListAllFeatureViewsResponse: _TypeAlias = ListAllFeatureViewsResponse # noqa: Y015 - -@_typing.final -class GetStreamFeatureViewRequest(_message.Message): + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + ENTITY_FIELD_NUMBER: builtins.int + FEATURE_FIELD_NUMBER: builtins.int + FEATURE_SERVICE_FIELD_NUMBER: builtins.int + DATA_SOURCE_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + entity: builtins.str + feature: builtins.str + feature_service: builtins.str + data_source: builtins.str + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... + def __init__( + self, + *, + project: builtins.str = ..., + allow_cache: builtins.bool = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + entity: builtins.str = ..., + feature: builtins.str = ..., + feature_service: builtins.str = ..., + data_source: builtins.str = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "data_source", b"data_source", "entity", b"entity", "feature", b"feature", "feature_service", b"feature_service", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... + +global___ListAllFeatureViewsRequest = ListAllFeatureViewsRequest + +class ListAllFeatureViewsResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + FEATURE_VIEWS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AnyFeatureView]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... + def __init__( + self, + *, + feature_views: collections.abc.Iterable[global___AnyFeatureView] | None = ..., + pagination: global___PaginationMetadata | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["feature_views", b"feature_views", "pagination", b"pagination"]) -> None: ... + +global___ListAllFeatureViewsResponse = ListAllFeatureViewsResponse + +class GetStreamFeatureViewRequest(google.protobuf.message.Message): """StreamFeatureView""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - allow_cache: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + allow_cache: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... -Global___GetStreamFeatureViewRequest: _TypeAlias = GetStreamFeatureViewRequest # noqa: Y015 +global___GetStreamFeatureViewRequest = GetStreamFeatureViewRequest -@_typing.final -class ListStreamFeatureViewsRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListStreamFeatureViewsRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... def __init__( self, *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... -Global___ListStreamFeatureViewsRequest: _TypeAlias = ListStreamFeatureViewsRequest # noqa: Y015 +global___ListStreamFeatureViewsRequest = ListStreamFeatureViewsRequest -@_typing.final -class ListStreamFeatureViewsResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListStreamFeatureViewsResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - STREAM_FEATURE_VIEWS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def stream_feature_views(self) -> _containers.RepeatedCompositeFieldContainer[_StreamFeatureView_pb2.StreamFeatureView]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... + STREAM_FEATURE_VIEWS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def stream_feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.StreamFeatureView_pb2.StreamFeatureView]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... def __init__( self, *, - stream_feature_views: _abc.Iterable[_StreamFeatureView_pb2.StreamFeatureView] | None = ..., - pagination: Global___PaginationMetadata | None = ..., + stream_feature_views: collections.abc.Iterable[feast.core.StreamFeatureView_pb2.StreamFeatureView] | None = ..., + pagination: global___PaginationMetadata | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "stream_feature_views", b"stream_feature_views"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "stream_feature_views", b"stream_feature_views"]) -> None: ... -Global___ListStreamFeatureViewsResponse: _TypeAlias = ListStreamFeatureViewsResponse # noqa: Y015 +global___ListStreamFeatureViewsResponse = ListStreamFeatureViewsResponse -@_typing.final -class GetOnDemandFeatureViewRequest(_message.Message): +class GetOnDemandFeatureViewRequest(google.protobuf.message.Message): """OnDemandFeatureView""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - allow_cache: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + allow_cache: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... -Global___GetOnDemandFeatureViewRequest: _TypeAlias = GetOnDemandFeatureViewRequest # noqa: Y015 +global___GetOnDemandFeatureViewRequest = GetOnDemandFeatureViewRequest -@_typing.final -class ListOnDemandFeatureViewsRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListOnDemandFeatureViewsRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... def __init__( self, *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... -Global___ListOnDemandFeatureViewsRequest: _TypeAlias = ListOnDemandFeatureViewsRequest # noqa: Y015 +global___ListOnDemandFeatureViewsRequest = ListOnDemandFeatureViewsRequest -@_typing.final -class ListOnDemandFeatureViewsResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListOnDemandFeatureViewsResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - ON_DEMAND_FEATURE_VIEWS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def on_demand_feature_views(self) -> _containers.RepeatedCompositeFieldContainer[_OnDemandFeatureView_pb2.OnDemandFeatureView]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... + ON_DEMAND_FEATURE_VIEWS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def on_demand_feature_views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... def __init__( self, *, - on_demand_feature_views: _abc.Iterable[_OnDemandFeatureView_pb2.OnDemandFeatureView] | None = ..., - pagination: Global___PaginationMetadata | None = ..., + on_demand_feature_views: collections.abc.Iterable[feast.core.OnDemandFeatureView_pb2.OnDemandFeatureView] | None = ..., + pagination: global___PaginationMetadata | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["on_demand_feature_views", b"on_demand_feature_views", "pagination", b"pagination"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["on_demand_feature_views", b"on_demand_feature_views", "pagination", b"pagination"]) -> None: ... -Global___ListOnDemandFeatureViewsResponse: _TypeAlias = ListOnDemandFeatureViewsResponse # noqa: Y015 +global___ListOnDemandFeatureViewsResponse = ListOnDemandFeatureViewsResponse -@_typing.final -class ApplyFeatureServiceRequest(_message.Message): +class ApplyFeatureServiceRequest(google.protobuf.message.Message): """FeatureServices""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FEATURE_SERVICE_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - project: _builtins.str - commit: _builtins.bool - @_builtins.property - def feature_service(self) -> _FeatureService_pb2.FeatureService: ... + FEATURE_SERVICE_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + @property + def feature_service(self) -> feast.core.FeatureService_pb2.FeatureService: ... + project: builtins.str + commit: builtins.bool def __init__( self, *, - feature_service: _FeatureService_pb2.FeatureService | None = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + feature_service: feast.core.FeatureService_pb2.FeatureService | None = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["feature_service", b"feature_service"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "feature_service", b"feature_service", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["feature_service", b"feature_service"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "feature_service", b"feature_service", "project", b"project"]) -> None: ... -Global___ApplyFeatureServiceRequest: _TypeAlias = ApplyFeatureServiceRequest # noqa: Y015 +global___ApplyFeatureServiceRequest = ApplyFeatureServiceRequest -@_typing.final -class GetFeatureServiceRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetFeatureServiceRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - allow_cache: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + allow_cache: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... -Global___GetFeatureServiceRequest: _TypeAlias = GetFeatureServiceRequest # noqa: Y015 +global___GetFeatureServiceRequest = GetFeatureServiceRequest -@_typing.final -class ListFeatureServicesRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListFeatureServicesRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - FEATURE_VIEW_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool - feature_view: _builtins.str - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + FEATURE_VIEW_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + feature_view: builtins.str + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... def __init__( self, *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - feature_view: _builtins.str = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + feature_view: builtins.str = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "feature_view", b"feature_view", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "feature_view", b"feature_view", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... -Global___ListFeatureServicesRequest: _TypeAlias = ListFeatureServicesRequest # noqa: Y015 +global___ListFeatureServicesRequest = ListFeatureServicesRequest -@_typing.final -class ListFeatureServicesResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListFeatureServicesResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FEATURE_SERVICES_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def feature_services(self) -> _containers.RepeatedCompositeFieldContainer[_FeatureService_pb2.FeatureService]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... + FEATURE_SERVICES_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def feature_services(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureService_pb2.FeatureService]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... def __init__( self, *, - feature_services: _abc.Iterable[_FeatureService_pb2.FeatureService] | None = ..., - pagination: Global___PaginationMetadata | None = ..., + feature_services: collections.abc.Iterable[feast.core.FeatureService_pb2.FeatureService] | None = ..., + pagination: global___PaginationMetadata | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_services", b"feature_services", "pagination", b"pagination"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["feature_services", b"feature_services", "pagination", b"pagination"]) -> None: ... -Global___ListFeatureServicesResponse: _TypeAlias = ListFeatureServicesResponse # noqa: Y015 +global___ListFeatureServicesResponse = ListFeatureServicesResponse -@_typing.final -class DeleteFeatureServiceRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class DeleteFeatureServiceRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - commit: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + commit: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... -Global___DeleteFeatureServiceRequest: _TypeAlias = DeleteFeatureServiceRequest # noqa: Y015 +global___DeleteFeatureServiceRequest = DeleteFeatureServiceRequest -@_typing.final -class ApplySavedDatasetRequest(_message.Message): +class ApplySavedDatasetRequest(google.protobuf.message.Message): """SavedDataset""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SAVED_DATASET_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - project: _builtins.str - commit: _builtins.bool - @_builtins.property - def saved_dataset(self) -> _SavedDataset_pb2.SavedDataset: ... + SAVED_DATASET_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + @property + def saved_dataset(self) -> feast.core.SavedDataset_pb2.SavedDataset: ... + project: builtins.str + commit: builtins.bool def __init__( self, *, - saved_dataset: _SavedDataset_pb2.SavedDataset | None = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + saved_dataset: feast.core.SavedDataset_pb2.SavedDataset | None = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["saved_dataset", b"saved_dataset"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "project", b"project", "saved_dataset", b"saved_dataset"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["saved_dataset", b"saved_dataset"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "project", b"project", "saved_dataset", b"saved_dataset"]) -> None: ... -Global___ApplySavedDatasetRequest: _TypeAlias = ApplySavedDatasetRequest # noqa: Y015 +global___ApplySavedDatasetRequest = ApplySavedDatasetRequest -@_typing.final -class GetSavedDatasetRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetSavedDatasetRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - allow_cache: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + allow_cache: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... -Global___GetSavedDatasetRequest: _TypeAlias = GetSavedDatasetRequest # noqa: Y015 +global___GetSavedDatasetRequest = GetSavedDatasetRequest -@_typing.final -class ListSavedDatasetsRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListSavedDatasetsRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... def __init__( self, *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... -Global___ListSavedDatasetsRequest: _TypeAlias = ListSavedDatasetsRequest # noqa: Y015 +global___ListSavedDatasetsRequest = ListSavedDatasetsRequest -@_typing.final -class ListSavedDatasetsResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListSavedDatasetsResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - SAVED_DATASETS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def saved_datasets(self) -> _containers.RepeatedCompositeFieldContainer[_SavedDataset_pb2.SavedDataset]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... + SAVED_DATASETS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def saved_datasets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.SavedDataset_pb2.SavedDataset]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... def __init__( self, *, - saved_datasets: _abc.Iterable[_SavedDataset_pb2.SavedDataset] | None = ..., - pagination: Global___PaginationMetadata | None = ..., + saved_datasets: collections.abc.Iterable[feast.core.SavedDataset_pb2.SavedDataset] | None = ..., + pagination: global___PaginationMetadata | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "saved_datasets", b"saved_datasets"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "saved_datasets", b"saved_datasets"]) -> None: ... -Global___ListSavedDatasetsResponse: _TypeAlias = ListSavedDatasetsResponse # noqa: Y015 +global___ListSavedDatasetsResponse = ListSavedDatasetsResponse -@_typing.final -class DeleteSavedDatasetRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class DeleteSavedDatasetRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - commit: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + commit: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... -Global___DeleteSavedDatasetRequest: _TypeAlias = DeleteSavedDatasetRequest # noqa: Y015 +global___DeleteSavedDatasetRequest = DeleteSavedDatasetRequest -@_typing.final -class ApplyValidationReferenceRequest(_message.Message): +class ApplyValidationReferenceRequest(google.protobuf.message.Message): """ValidationReference""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VALIDATION_REFERENCE_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - project: _builtins.str - commit: _builtins.bool - @_builtins.property - def validation_reference(self) -> _ValidationProfile_pb2.ValidationReference: ... + VALIDATION_REFERENCE_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + @property + def validation_reference(self) -> feast.core.ValidationProfile_pb2.ValidationReference: ... + project: builtins.str + commit: builtins.bool def __init__( self, *, - validation_reference: _ValidationProfile_pb2.ValidationReference | None = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + validation_reference: feast.core.ValidationProfile_pb2.ValidationReference | None = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["validation_reference", b"validation_reference"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "project", b"project", "validation_reference", b"validation_reference"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["validation_reference", b"validation_reference"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "project", b"project", "validation_reference", b"validation_reference"]) -> None: ... -Global___ApplyValidationReferenceRequest: _TypeAlias = ApplyValidationReferenceRequest # noqa: Y015 +global___ApplyValidationReferenceRequest = ApplyValidationReferenceRequest -@_typing.final -class GetValidationReferenceRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetValidationReferenceRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - allow_cache: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + allow_cache: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... -Global___GetValidationReferenceRequest: _TypeAlias = GetValidationReferenceRequest # noqa: Y015 +global___GetValidationReferenceRequest = GetValidationReferenceRequest -@_typing.final -class ListValidationReferencesRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListValidationReferencesRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... def __init__( self, *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... -Global___ListValidationReferencesRequest: _TypeAlias = ListValidationReferencesRequest # noqa: Y015 +global___ListValidationReferencesRequest = ListValidationReferencesRequest -@_typing.final -class ListValidationReferencesResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListValidationReferencesResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VALIDATION_REFERENCES_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def validation_references(self) -> _containers.RepeatedCompositeFieldContainer[_ValidationProfile_pb2.ValidationReference]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... + VALIDATION_REFERENCES_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def validation_references(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.ValidationProfile_pb2.ValidationReference]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... def __init__( self, *, - validation_references: _abc.Iterable[_ValidationProfile_pb2.ValidationReference] | None = ..., - pagination: Global___PaginationMetadata | None = ..., + validation_references: collections.abc.Iterable[feast.core.ValidationProfile_pb2.ValidationReference] | None = ..., + pagination: global___PaginationMetadata | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "validation_references", b"validation_references"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "validation_references", b"validation_references"]) -> None: ... -Global___ListValidationReferencesResponse: _TypeAlias = ListValidationReferencesResponse # noqa: Y015 +global___ListValidationReferencesResponse = ListValidationReferencesResponse -@_typing.final -class DeleteValidationReferenceRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class DeleteValidationReferenceRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - commit: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + commit: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... -Global___DeleteValidationReferenceRequest: _TypeAlias = DeleteValidationReferenceRequest # noqa: Y015 +global___DeleteValidationReferenceRequest = DeleteValidationReferenceRequest -@_typing.final -class ApplyPermissionRequest(_message.Message): +class ApplyPermissionRequest(google.protobuf.message.Message): """Permissions""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PERMISSION_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - project: _builtins.str - commit: _builtins.bool - @_builtins.property - def permission(self) -> _Permission_pb2.Permission: ... + PERMISSION_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + @property + def permission(self) -> feast.core.Permission_pb2.Permission: ... + project: builtins.str + commit: builtins.bool def __init__( self, *, - permission: _Permission_pb2.Permission | None = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + permission: feast.core.Permission_pb2.Permission | None = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["permission", b"permission"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "permission", b"permission", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["permission", b"permission"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "permission", b"permission", "project", b"project"]) -> None: ... -Global___ApplyPermissionRequest: _TypeAlias = ApplyPermissionRequest # noqa: Y015 +global___ApplyPermissionRequest = ApplyPermissionRequest -@_typing.final -class GetPermissionRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetPermissionRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - allow_cache: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + allow_cache: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name", "project", b"project"]) -> None: ... -Global___GetPermissionRequest: _TypeAlias = GetPermissionRequest # noqa: Y015 +global___GetPermissionRequest = GetPermissionRequest -@_typing.final -class ListPermissionsRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListPermissionsRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... def __init__( self, *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "project", b"project", "sorting", b"sorting", "tags", b"tags"]) -> None: ... -Global___ListPermissionsRequest: _TypeAlias = ListPermissionsRequest # noqa: Y015 +global___ListPermissionsRequest = ListPermissionsRequest -@_typing.final -class ListPermissionsResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListPermissionsResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PERMISSIONS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def permissions(self) -> _containers.RepeatedCompositeFieldContainer[_Permission_pb2.Permission]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... + PERMISSIONS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def permissions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Permission_pb2.Permission]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... def __init__( self, *, - permissions: _abc.Iterable[_Permission_pb2.Permission] | None = ..., - pagination: Global___PaginationMetadata | None = ..., + permissions: collections.abc.Iterable[feast.core.Permission_pb2.Permission] | None = ..., + pagination: global___PaginationMetadata | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "permissions", b"permissions"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "permissions", b"permissions"]) -> None: ... -Global___ListPermissionsResponse: _TypeAlias = ListPermissionsResponse # noqa: Y015 +global___ListPermissionsResponse = ListPermissionsResponse -@_typing.final -class DeletePermissionRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class DeletePermissionRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - name: _builtins.str - project: _builtins.str - commit: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + name: builtins.str + project: builtins.str + commit: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - project: _builtins.str = ..., - commit: _builtins.bool = ..., + name: builtins.str = ..., + project: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name", "project", b"project"]) -> None: ... -Global___DeletePermissionRequest: _TypeAlias = DeletePermissionRequest # noqa: Y015 +global___DeletePermissionRequest = DeletePermissionRequest -@_typing.final -class ApplyProjectRequest(_message.Message): +class ApplyProjectRequest(google.protobuf.message.Message): """Projects""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PROJECT_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - commit: _builtins.bool - @_builtins.property - def project(self) -> _Project_pb2.Project: ... + PROJECT_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + @property + def project(self) -> feast.core.Project_pb2.Project: ... + commit: builtins.bool def __init__( self, *, - project: _Project_pb2.Project | None = ..., - commit: _builtins.bool = ..., + project: feast.core.Project_pb2.Project | None = ..., + commit: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["project", b"project"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["project", b"project"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "project", b"project"]) -> None: ... -Global___ApplyProjectRequest: _TypeAlias = ApplyProjectRequest # noqa: Y015 +global___ApplyProjectRequest = ApplyProjectRequest -@_typing.final -class GetProjectRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetProjectRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - name: _builtins.str - allow_cache: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + name: builtins.str + allow_cache: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + name: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "name", b"name"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "name", b"name"]) -> None: ... -Global___GetProjectRequest: _TypeAlias = GetProjectRequest # noqa: Y015 +global___GetProjectRequest = GetProjectRequest -@_typing.final -class ListProjectsRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListProjectsRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - allow_cache: _builtins.bool - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... + ALLOW_CACHE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + allow_cache: builtins.bool + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... def __init__( self, *, - allow_cache: _builtins.bool = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., + allow_cache: builtins.bool = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "sorting", b"sorting", "tags", b"tags"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "pagination", b"pagination", "sorting", b"sorting", "tags", b"tags"]) -> None: ... -Global___ListProjectsRequest: _TypeAlias = ListProjectsRequest # noqa: Y015 +global___ListProjectsRequest = ListProjectsRequest -@_typing.final -class ListProjectsResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ListProjectsResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PROJECTS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def projects(self) -> _containers.RepeatedCompositeFieldContainer[_Project_pb2.Project]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... + PROJECTS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def projects(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.Project_pb2.Project]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... def __init__( self, *, - projects: _abc.Iterable[_Project_pb2.Project] | None = ..., - pagination: Global___PaginationMetadata | None = ..., + projects: collections.abc.Iterable[feast.core.Project_pb2.Project] | None = ..., + pagination: global___PaginationMetadata | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "projects", b"projects"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "projects", b"projects"]) -> None: ... -Global___ListProjectsResponse: _TypeAlias = ListProjectsResponse # noqa: Y015 +global___ListProjectsResponse = ListProjectsResponse -@_typing.final -class DeleteProjectRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class DeleteProjectRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - COMMIT_FIELD_NUMBER: _builtins.int - name: _builtins.str - commit: _builtins.bool + NAME_FIELD_NUMBER: builtins.int + COMMIT_FIELD_NUMBER: builtins.int + name: builtins.str + commit: builtins.bool def __init__( self, *, - name: _builtins.str = ..., - commit: _builtins.bool = ..., + name: builtins.str = ..., + commit: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["commit", b"commit", "name", b"name"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["commit", b"commit", "name", b"name"]) -> None: ... -Global___DeleteProjectRequest: _TypeAlias = DeleteProjectRequest # noqa: Y015 +global___DeleteProjectRequest = DeleteProjectRequest -@_typing.final -class EntityReference(_message.Message): +class EntityReference(google.protobuf.message.Message): """Lineage""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - TYPE_FIELD_NUMBER: _builtins.int - NAME_FIELD_NUMBER: _builtins.int - type: _builtins.str + TYPE_FIELD_NUMBER: builtins.int + NAME_FIELD_NUMBER: builtins.int + type: builtins.str """"dataSource", "entity", "featureView", "featureService" """ - name: _builtins.str + name: builtins.str def __init__( self, *, - type: _builtins.str = ..., - name: _builtins.str = ..., + type: builtins.str = ..., + name: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["name", b"name", "type", b"type"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "type", b"type"]) -> None: ... + +global___EntityReference = EntityReference -Global___EntityReference: _TypeAlias = EntityReference # noqa: Y015 +class EntityRelation(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor -@_typing.final -class EntityRelation(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - SOURCE_FIELD_NUMBER: _builtins.int - TARGET_FIELD_NUMBER: _builtins.int - @_builtins.property - def source(self) -> Global___EntityReference: ... - @_builtins.property - def target(self) -> Global___EntityReference: ... + SOURCE_FIELD_NUMBER: builtins.int + TARGET_FIELD_NUMBER: builtins.int + @property + def source(self) -> global___EntityReference: ... + @property + def target(self) -> global___EntityReference: ... def __init__( self, *, - source: Global___EntityReference | None = ..., - target: Global___EntityReference | None = ..., - ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["source", b"source", "target", b"target"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["source", b"source", "target", b"target"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___EntityRelation: _TypeAlias = EntityRelation # noqa: Y015 - -@_typing.final -class GetRegistryLineageRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + source: global___EntityReference | None = ..., + target: global___EntityReference | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["source", b"source", "target", b"target"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["source", b"source", "target", b"target"]) -> None: ... + +global___EntityRelation = EntityRelation + +class GetRegistryLineageRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - PROJECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - FILTER_OBJECT_TYPE_FIELD_NUMBER: _builtins.int - FILTER_OBJECT_NAME_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - allow_cache: _builtins.bool - filter_object_type: _builtins.str - filter_object_name: _builtins.str - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... + PROJECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + FILTER_OBJECT_TYPE_FIELD_NUMBER: builtins.int + FILTER_OBJECT_NAME_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + allow_cache: builtins.bool + filter_object_type: builtins.str + filter_object_name: builtins.str + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... def __init__( self, *, - project: _builtins.str = ..., - allow_cache: _builtins.bool = ..., - filter_object_type: _builtins.str = ..., - filter_object_name: _builtins.str = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., + project: builtins.str = ..., + allow_cache: builtins.bool = ..., + filter_object_type: builtins.str = ..., + filter_object_name: builtins.str = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "filter_object_name", b"filter_object_name", "filter_object_type", b"filter_object_type", "pagination", b"pagination", "project", b"project", "sorting", b"sorting"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "filter_object_name", b"filter_object_name", "filter_object_type", b"filter_object_type", "pagination", b"pagination", "project", b"project", "sorting", b"sorting"]) -> None: ... -Global___GetRegistryLineageRequest: _TypeAlias = GetRegistryLineageRequest # noqa: Y015 +global___GetRegistryLineageRequest = GetRegistryLineageRequest -@_typing.final -class GetRegistryLineageResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetRegistryLineageResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - RELATIONSHIPS_FIELD_NUMBER: _builtins.int - INDIRECT_RELATIONSHIPS_FIELD_NUMBER: _builtins.int - RELATIONSHIPS_PAGINATION_FIELD_NUMBER: _builtins.int - INDIRECT_RELATIONSHIPS_PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def relationships(self) -> _containers.RepeatedCompositeFieldContainer[Global___EntityRelation]: ... - @_builtins.property - def indirect_relationships(self) -> _containers.RepeatedCompositeFieldContainer[Global___EntityRelation]: ... - @_builtins.property - def relationships_pagination(self) -> Global___PaginationMetadata: ... - @_builtins.property - def indirect_relationships_pagination(self) -> Global___PaginationMetadata: ... + RELATIONSHIPS_FIELD_NUMBER: builtins.int + INDIRECT_RELATIONSHIPS_FIELD_NUMBER: builtins.int + RELATIONSHIPS_PAGINATION_FIELD_NUMBER: builtins.int + INDIRECT_RELATIONSHIPS_PAGINATION_FIELD_NUMBER: builtins.int + @property + def relationships(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EntityRelation]: ... + @property + def indirect_relationships(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EntityRelation]: ... + @property + def relationships_pagination(self) -> global___PaginationMetadata: ... + @property + def indirect_relationships_pagination(self) -> global___PaginationMetadata: ... def __init__( self, *, - relationships: _abc.Iterable[Global___EntityRelation] | None = ..., - indirect_relationships: _abc.Iterable[Global___EntityRelation] | None = ..., - relationships_pagination: Global___PaginationMetadata | None = ..., - indirect_relationships_pagination: Global___PaginationMetadata | None = ..., + relationships: collections.abc.Iterable[global___EntityRelation] | None = ..., + indirect_relationships: collections.abc.Iterable[global___EntityRelation] | None = ..., + relationships_pagination: global___PaginationMetadata | None = ..., + indirect_relationships_pagination: global___PaginationMetadata | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["indirect_relationships_pagination", b"indirect_relationships_pagination", "relationships_pagination", b"relationships_pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["indirect_relationships", b"indirect_relationships", "indirect_relationships_pagination", b"indirect_relationships_pagination", "relationships", b"relationships", "relationships_pagination", b"relationships_pagination"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["indirect_relationships_pagination", b"indirect_relationships_pagination", "relationships_pagination", b"relationships_pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["indirect_relationships", b"indirect_relationships", "indirect_relationships_pagination", b"indirect_relationships_pagination", "relationships", b"relationships", "relationships_pagination", b"relationships_pagination"]) -> None: ... -Global___GetRegistryLineageResponse: _TypeAlias = GetRegistryLineageResponse # noqa: Y015 +global___GetRegistryLineageResponse = GetRegistryLineageResponse -@_typing.final -class GetObjectRelationshipsRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - PROJECT_FIELD_NUMBER: _builtins.int - OBJECT_TYPE_FIELD_NUMBER: _builtins.int - OBJECT_NAME_FIELD_NUMBER: _builtins.int - INCLUDE_INDIRECT_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - object_type: _builtins.str - object_name: _builtins.str - include_indirect: _builtins.bool - allow_cache: _builtins.bool - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... - def __init__( - self, - *, - project: _builtins.str = ..., - object_type: _builtins.str = ..., - object_name: _builtins.str = ..., - include_indirect: _builtins.bool = ..., - allow_cache: _builtins.bool = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., - ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "include_indirect", b"include_indirect", "object_name", b"object_name", "object_type", b"object_type", "pagination", b"pagination", "project", b"project", "sorting", b"sorting"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___GetObjectRelationshipsRequest: _TypeAlias = GetObjectRelationshipsRequest # noqa: Y015 - -@_typing.final -class GetObjectRelationshipsResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - RELATIONSHIPS_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def relationships(self) -> _containers.RepeatedCompositeFieldContainer[Global___EntityRelation]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... - def __init__( - self, - *, - relationships: _abc.Iterable[Global___EntityRelation] | None = ..., - pagination: Global___PaginationMetadata | None = ..., - ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "relationships", b"relationships"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___GetObjectRelationshipsResponse: _TypeAlias = GetObjectRelationshipsResponse # noqa: Y015 - -@_typing.final -class Feature(_message.Message): +class GetObjectRelationshipsRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PROJECT_FIELD_NUMBER: builtins.int + OBJECT_TYPE_FIELD_NUMBER: builtins.int + OBJECT_NAME_FIELD_NUMBER: builtins.int + INCLUDE_INDIRECT_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + object_type: builtins.str + object_name: builtins.str + include_indirect: builtins.bool + allow_cache: builtins.bool + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... + def __init__( + self, + *, + project: builtins.str = ..., + object_type: builtins.str = ..., + object_name: builtins.str = ..., + include_indirect: builtins.bool = ..., + allow_cache: builtins.bool = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "include_indirect", b"include_indirect", "object_name", b"object_name", "object_type", b"object_type", "pagination", b"pagination", "project", b"project", "sorting", b"sorting"]) -> None: ... + +global___GetObjectRelationshipsRequest = GetObjectRelationshipsRequest + +class GetObjectRelationshipsResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + RELATIONSHIPS_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def relationships(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EntityRelation]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... + def __init__( + self, + *, + relationships: collections.abc.Iterable[global___EntityRelation] | None = ..., + pagination: global___PaginationMetadata | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "relationships", b"relationships"]) -> None: ... + +global___GetObjectRelationshipsResponse = GetObjectRelationshipsResponse + +class Feature(google.protobuf.message.Message): """Feature messages""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - NAME_FIELD_NUMBER: _builtins.int - FEATURE_VIEW_FIELD_NUMBER: _builtins.int - TYPE_FIELD_NUMBER: _builtins.int - DESCRIPTION_FIELD_NUMBER: _builtins.int - OWNER_FIELD_NUMBER: _builtins.int - CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - name: _builtins.str - feature_view: _builtins.str - type: _builtins.str - description: _builtins.str - owner: _builtins.str - @_builtins.property - def created_timestamp(self) -> _timestamp_pb2.Timestamp: ... - @_builtins.property - def last_updated_timestamp(self) -> _timestamp_pb2.Timestamp: ... - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - def __init__( - self, - *, - name: _builtins.str = ..., - feature_view: _builtins.str = ..., - type: _builtins.str = ..., - description: _builtins.str = ..., - owner: _builtins.str = ..., - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_timestamp", "description", b"description", "feature_view", b"feature_view", "last_updated_timestamp", b"last_updated_timestamp", "name", b"name", "owner", b"owner", "tags", b"tags", "type", b"type"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___Feature: _TypeAlias = Feature # noqa: Y015 - -@_typing.final -class ListFeaturesRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - PROJECT_FIELD_NUMBER: _builtins.int - FEATURE_VIEW_FIELD_NUMBER: _builtins.int - NAME_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - SORTING_FIELD_NUMBER: _builtins.int - project: _builtins.str - feature_view: _builtins.str - name: _builtins.str - allow_cache: _builtins.bool - @_builtins.property - def pagination(self) -> Global___PaginationParams: ... - @_builtins.property - def sorting(self) -> Global___SortingParams: ... - def __init__( - self, - *, - project: _builtins.str = ..., - feature_view: _builtins.str = ..., - name: _builtins.str = ..., - allow_cache: _builtins.bool = ..., - pagination: Global___PaginationParams | None = ..., - sorting: Global___SortingParams | None = ..., - ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination", "sorting", b"sorting"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "feature_view", b"feature_view", "name", b"name", "pagination", b"pagination", "project", b"project", "sorting", b"sorting"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___ListFeaturesRequest: _TypeAlias = ListFeaturesRequest # noqa: Y015 - -@_typing.final -class ListFeaturesResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - FEATURES_FIELD_NUMBER: _builtins.int - PAGINATION_FIELD_NUMBER: _builtins.int - @_builtins.property - def features(self) -> _containers.RepeatedCompositeFieldContainer[Global___Feature]: ... - @_builtins.property - def pagination(self) -> Global___PaginationMetadata: ... - def __init__( - self, - *, - features: _abc.Iterable[Global___Feature] | None = ..., - pagination: Global___PaginationMetadata | None = ..., - ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["pagination", b"pagination"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["features", b"features", "pagination", b"pagination"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___ListFeaturesResponse: _TypeAlias = ListFeaturesResponse # noqa: Y015 - -@_typing.final -class GetFeatureRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - PROJECT_FIELD_NUMBER: _builtins.int - FEATURE_VIEW_FIELD_NUMBER: _builtins.int - NAME_FIELD_NUMBER: _builtins.int - ALLOW_CACHE_FIELD_NUMBER: _builtins.int - project: _builtins.str - feature_view: _builtins.str - name: _builtins.str - allow_cache: _builtins.bool - def __init__( - self, - *, - project: _builtins.str = ..., - feature_view: _builtins.str = ..., - name: _builtins.str = ..., - allow_cache: _builtins.bool = ..., + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + NAME_FIELD_NUMBER: builtins.int + FEATURE_VIEW_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + OWNER_FIELD_NUMBER: builtins.int + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + name: builtins.str + feature_view: builtins.str + type: builtins.str + description: builtins.str + owner: builtins.str + @property + def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + def __init__( + self, + *, + name: builtins.str = ..., + feature_view: builtins.str = ..., + type: builtins.str = ..., + description: builtins.str = ..., + owner: builtins.str = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "last_updated_timestamp", b"last_updated_timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "description", b"description", "feature_view", b"feature_view", "last_updated_timestamp", b"last_updated_timestamp", "name", b"name", "owner", b"owner", "tags", b"tags", "type", b"type"]) -> None: ... + +global___Feature = Feature + +class ListFeaturesRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PROJECT_FIELD_NUMBER: builtins.int + FEATURE_VIEW_FIELD_NUMBER: builtins.int + NAME_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + SORTING_FIELD_NUMBER: builtins.int + project: builtins.str + feature_view: builtins.str + name: builtins.str + allow_cache: builtins.bool + @property + def pagination(self) -> global___PaginationParams: ... + @property + def sorting(self) -> global___SortingParams: ... + def __init__( + self, + *, + project: builtins.str = ..., + feature_view: builtins.str = ..., + name: builtins.str = ..., + allow_cache: builtins.bool = ..., + pagination: global___PaginationParams | None = ..., + sorting: global___SortingParams | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination", "sorting", b"sorting"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "feature_view", b"feature_view", "name", b"name", "pagination", b"pagination", "project", b"project", "sorting", b"sorting"]) -> None: ... + +global___ListFeaturesRequest = ListFeaturesRequest + +class ListFeaturesResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + FEATURES_FIELD_NUMBER: builtins.int + PAGINATION_FIELD_NUMBER: builtins.int + @property + def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Feature]: ... + @property + def pagination(self) -> global___PaginationMetadata: ... + def __init__( + self, + *, + features: collections.abc.Iterable[global___Feature] | None = ..., + pagination: global___PaginationMetadata | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["features", b"features", "pagination", b"pagination"]) -> None: ... + +global___ListFeaturesResponse = ListFeaturesResponse + +class GetFeatureRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PROJECT_FIELD_NUMBER: builtins.int + FEATURE_VIEW_FIELD_NUMBER: builtins.int + NAME_FIELD_NUMBER: builtins.int + ALLOW_CACHE_FIELD_NUMBER: builtins.int + project: builtins.str + feature_view: builtins.str + name: builtins.str + allow_cache: builtins.bool + def __init__( + self, + *, + project: builtins.str = ..., + feature_view: builtins.str = ..., + name: builtins.str = ..., + allow_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_cache", b"allow_cache", "feature_view", b"feature_view", "name", b"name", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_cache", b"allow_cache", "feature_view", b"feature_view", "name", b"name", "project", b"project"]) -> None: ... -Global___GetFeatureRequest: _TypeAlias = GetFeatureRequest # noqa: Y015 +global___GetFeatureRequest = GetFeatureRequest 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 48a5c750ae..84de666b6b 100644 --- a/sdk/python/feast/protos/feast/registry/RegistryServer_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2_grpc.py @@ -1,7 +1,6 @@ # 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,25 +17,6 @@ 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' but the generated code in feast/registry/RegistryServer_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class RegistryServerStub(object): """Missing associated documentation comment in .proto file.""" @@ -51,247 +31,247 @@ def __init__(self, channel): '/feast.registry.RegistryServer/ApplyEntity', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyEntityRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.GetEntity = channel.unary_unary( '/feast.registry.RegistryServer/GetEntity', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetEntityRequest.SerializeToString, response_deserializer=feast_dot_core_dot_Entity__pb2.Entity.FromString, - _registered_method=True) + ) self.ListEntities = channel.unary_unary( '/feast.registry.RegistryServer/ListEntities', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListEntitiesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListEntitiesResponse.FromString, - _registered_method=True) + ) self.DeleteEntity = channel.unary_unary( '/feast.registry.RegistryServer/DeleteEntity', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteEntityRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.ApplyDataSource = channel.unary_unary( '/feast.registry.RegistryServer/ApplyDataSource', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyDataSourceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.GetDataSource = channel.unary_unary( '/feast.registry.RegistryServer/GetDataSource', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetDataSourceRequest.SerializeToString, response_deserializer=feast_dot_core_dot_DataSource__pb2.DataSource.FromString, - _registered_method=True) + ) self.ListDataSources = channel.unary_unary( '/feast.registry.RegistryServer/ListDataSources', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListDataSourcesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListDataSourcesResponse.FromString, - _registered_method=True) + ) self.DeleteDataSource = channel.unary_unary( '/feast.registry.RegistryServer/DeleteDataSource', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteDataSourceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.ApplyFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/ApplyFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyFeatureViewRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.DeleteFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/DeleteFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteFeatureViewRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.GetAnyFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/GetAnyFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetAnyFeatureViewRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.GetAnyFeatureViewResponse.FromString, - _registered_method=True) + ) self.ListAllFeatureViews = channel.unary_unary( '/feast.registry.RegistryServer/ListAllFeatureViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListAllFeatureViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListAllFeatureViewsResponse.FromString, - _registered_method=True) + ) self.GetFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/GetFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetFeatureViewRequest.SerializeToString, response_deserializer=feast_dot_core_dot_FeatureView__pb2.FeatureView.FromString, - _registered_method=True) + ) self.ListFeatureViews = channel.unary_unary( '/feast.registry.RegistryServer/ListFeatureViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeatureViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeatureViewsResponse.FromString, - _registered_method=True) + ) self.GetStreamFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/GetStreamFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetStreamFeatureViewRequest.SerializeToString, response_deserializer=feast_dot_core_dot_StreamFeatureView__pb2.StreamFeatureView.FromString, - _registered_method=True) + ) self.ListStreamFeatureViews = channel.unary_unary( '/feast.registry.RegistryServer/ListStreamFeatureViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListStreamFeatureViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListStreamFeatureViewsResponse.FromString, - _registered_method=True) + ) self.GetOnDemandFeatureView = channel.unary_unary( '/feast.registry.RegistryServer/GetOnDemandFeatureView', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetOnDemandFeatureViewRequest.SerializeToString, response_deserializer=feast_dot_core_dot_OnDemandFeatureView__pb2.OnDemandFeatureView.FromString, - _registered_method=True) + ) self.ListOnDemandFeatureViews = channel.unary_unary( '/feast.registry.RegistryServer/ListOnDemandFeatureViews', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListOnDemandFeatureViewsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListOnDemandFeatureViewsResponse.FromString, - _registered_method=True) + ) self.ApplyFeatureService = channel.unary_unary( '/feast.registry.RegistryServer/ApplyFeatureService', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyFeatureServiceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.GetFeatureService = channel.unary_unary( '/feast.registry.RegistryServer/GetFeatureService', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetFeatureServiceRequest.SerializeToString, response_deserializer=feast_dot_core_dot_FeatureService__pb2.FeatureService.FromString, - _registered_method=True) + ) self.ListFeatureServices = channel.unary_unary( '/feast.registry.RegistryServer/ListFeatureServices', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeatureServicesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListFeatureServicesResponse.FromString, - _registered_method=True) + ) self.DeleteFeatureService = channel.unary_unary( '/feast.registry.RegistryServer/DeleteFeatureService', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteFeatureServiceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.ApplySavedDataset = channel.unary_unary( '/feast.registry.RegistryServer/ApplySavedDataset', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplySavedDatasetRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.GetSavedDataset = channel.unary_unary( '/feast.registry.RegistryServer/GetSavedDataset', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetSavedDatasetRequest.SerializeToString, response_deserializer=feast_dot_core_dot_SavedDataset__pb2.SavedDataset.FromString, - _registered_method=True) + ) self.ListSavedDatasets = channel.unary_unary( '/feast.registry.RegistryServer/ListSavedDatasets', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListSavedDatasetsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListSavedDatasetsResponse.FromString, - _registered_method=True) + ) self.DeleteSavedDataset = channel.unary_unary( '/feast.registry.RegistryServer/DeleteSavedDataset', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteSavedDatasetRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.ApplyValidationReference = channel.unary_unary( '/feast.registry.RegistryServer/ApplyValidationReference', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyValidationReferenceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.GetValidationReference = channel.unary_unary( '/feast.registry.RegistryServer/GetValidationReference', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetValidationReferenceRequest.SerializeToString, response_deserializer=feast_dot_core_dot_ValidationProfile__pb2.ValidationReference.FromString, - _registered_method=True) + ) self.ListValidationReferences = channel.unary_unary( '/feast.registry.RegistryServer/ListValidationReferences', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListValidationReferencesRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListValidationReferencesResponse.FromString, - _registered_method=True) + ) self.DeleteValidationReference = channel.unary_unary( '/feast.registry.RegistryServer/DeleteValidationReference', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteValidationReferenceRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.ApplyPermission = channel.unary_unary( '/feast.registry.RegistryServer/ApplyPermission', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyPermissionRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.GetPermission = channel.unary_unary( '/feast.registry.RegistryServer/GetPermission', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetPermissionRequest.SerializeToString, response_deserializer=feast_dot_core_dot_Permission__pb2.Permission.FromString, - _registered_method=True) + ) self.ListPermissions = channel.unary_unary( '/feast.registry.RegistryServer/ListPermissions', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListPermissionsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListPermissionsResponse.FromString, - _registered_method=True) + ) self.DeletePermission = channel.unary_unary( '/feast.registry.RegistryServer/DeletePermission', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeletePermissionRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.ApplyProject = channel.unary_unary( '/feast.registry.RegistryServer/ApplyProject', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyProjectRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.GetProject = channel.unary_unary( '/feast.registry.RegistryServer/GetProject', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetProjectRequest.SerializeToString, response_deserializer=feast_dot_core_dot_Project__pb2.Project.FromString, - _registered_method=True) + ) self.ListProjects = channel.unary_unary( '/feast.registry.RegistryServer/ListProjects', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListProjectsRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListProjectsResponse.FromString, - _registered_method=True) + ) self.DeleteProject = channel.unary_unary( '/feast.registry.RegistryServer/DeleteProject', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.DeleteProjectRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.ApplyMaterialization = channel.unary_unary( '/feast.registry.RegistryServer/ApplyMaterialization', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ApplyMaterializationRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.ListProjectMetadata = channel.unary_unary( '/feast.registry.RegistryServer/ListProjectMetadata', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.ListProjectMetadataRequest.SerializeToString, response_deserializer=feast_dot_registry_dot_RegistryServer__pb2.ListProjectMetadataResponse.FromString, - _registered_method=True) + ) self.UpdateInfra = channel.unary_unary( '/feast.registry.RegistryServer/UpdateInfra', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.UpdateInfraRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.GetInfra = channel.unary_unary( '/feast.registry.RegistryServer/GetInfra', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.GetInfraRequest.SerializeToString, response_deserializer=feast_dot_core_dot_InfraObject__pb2.Infra.FromString, - _registered_method=True) + ) self.Commit = channel.unary_unary( '/feast.registry.RegistryServer/Commit', request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.Refresh = channel.unary_unary( '/feast.registry.RegistryServer/Refresh', request_serializer=feast_dot_registry_dot_RegistryServer__pb2.RefreshRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, - _registered_method=True) + ) self.Proto = channel.unary_unary( '/feast.registry.RegistryServer/Proto', request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, response_deserializer=feast_dot_core_dot_Registry__pb2.Registry.FromString, - _registered_method=True) + ) 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): @@ -856,7 +836,6 @@ 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. @@ -874,21 +853,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetEntity(request, @@ -901,21 +870,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListEntities(request, @@ -928,21 +887,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteEntity(request, @@ -955,21 +904,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ApplyDataSource(request, @@ -982,21 +921,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetDataSource(request, @@ -1009,21 +938,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListDataSources(request, @@ -1036,21 +955,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteDataSource(request, @@ -1063,21 +972,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ApplyFeatureView(request, @@ -1090,21 +989,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteFeatureView(request, @@ -1117,21 +1006,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAnyFeatureView(request, @@ -1144,21 +1023,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListAllFeatureViews(request, @@ -1171,21 +1040,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetFeatureView(request, @@ -1198,21 +1057,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListFeatureViews(request, @@ -1225,21 +1074,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetStreamFeatureView(request, @@ -1252,21 +1091,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListStreamFeatureViews(request, @@ -1279,21 +1108,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetOnDemandFeatureView(request, @@ -1306,21 +1125,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListOnDemandFeatureViews(request, @@ -1333,21 +1142,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ApplyFeatureService(request, @@ -1360,21 +1159,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetFeatureService(request, @@ -1387,21 +1176,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListFeatureServices(request, @@ -1414,21 +1193,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteFeatureService(request, @@ -1441,21 +1210,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ApplySavedDataset(request, @@ -1468,21 +1227,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetSavedDataset(request, @@ -1495,21 +1244,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListSavedDatasets(request, @@ -1522,21 +1261,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteSavedDataset(request, @@ -1549,21 +1278,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ApplyValidationReference(request, @@ -1576,21 +1295,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetValidationReference(request, @@ -1603,21 +1312,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListValidationReferences(request, @@ -1630,21 +1329,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteValidationReference(request, @@ -1657,21 +1346,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ApplyPermission(request, @@ -1684,21 +1363,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetPermission(request, @@ -1711,21 +1380,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListPermissions(request, @@ -1738,21 +1397,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeletePermission(request, @@ -1765,21 +1414,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ApplyProject(request, @@ -1792,21 +1431,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetProject(request, @@ -1819,21 +1448,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListProjects(request, @@ -1846,21 +1465,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteProject(request, @@ -1873,21 +1482,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ApplyMaterialization(request, @@ -1900,21 +1499,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListProjectMetadata(request, @@ -1927,21 +1516,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateInfra(request, @@ -1954,21 +1533,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetInfra(request, @@ -1981,21 +1550,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Commit(request, @@ -2008,21 +1567,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Refresh(request, @@ -2035,21 +1584,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Proto(request, @@ -2062,21 +1601,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetRegistryLineage(request, @@ -2089,21 +1618,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetObjectRelationships(request, @@ -2116,21 +1635,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListFeatures(request, @@ -2143,21 +1652,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetFeature(request, @@ -2170,18 +1669,8 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/sdk/python/feast/protos/feast/serving/Connector_pb2.py b/sdk/python/feast/protos/feast/serving/Connector_pb2.py index 570522155f..b38471dea8 100644 --- a/sdk/python/feast/protos/feast/serving/Connector_pb2.py +++ b/sdk/python/feast/protos/feast/serving/Connector_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/serving/Connector.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,8 +23,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.serving.Connector_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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.pyi b/sdk/python/feast/protos/feast/serving/Connector_pb2.pyi index 2c5e8c34eb..f87109e0fa 100644 --- a/sdk/python/feast/protos/feast/serving/Connector_pb2.pyi +++ b/sdk/python/feast/protos/feast/serving/Connector_pb2.pyi @@ -2,107 +2,96 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -from collections import abc as _abc -from feast.serving import ServingService_pb2 as _ServingService_pb2 -from feast.types import EntityKey_pb2 as _EntityKey_pb2 -from feast.types import Value_pb2 as _Value_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.serving.ServingService_pb2 +import feast.types.EntityKey_pb2 +import feast.types.Value_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class ConnectorFeature(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ConnectorFeature(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - REFERENCE_FIELD_NUMBER: _builtins.int - TIMESTAMP_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - @_builtins.property - def reference(self) -> _ServingService_pb2.FeatureReferenceV2: ... - @_builtins.property - def timestamp(self) -> _timestamp_pb2.Timestamp: ... - @_builtins.property - def value(self) -> _Value_pb2.Value: ... + REFERENCE_FIELD_NUMBER: builtins.int + TIMESTAMP_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + @property + def reference(self) -> feast.serving.ServingService_pb2.FeatureReferenceV2: ... + @property + def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def value(self) -> feast.types.Value_pb2.Value: ... def __init__( self, *, - reference: _ServingService_pb2.FeatureReferenceV2 | None = ..., - timestamp: _timestamp_pb2.Timestamp | None = ..., - value: _Value_pb2.Value | None = ..., + reference: feast.serving.ServingService_pb2.FeatureReferenceV2 | None = ..., + timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + value: feast.types.Value_pb2.Value | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["reference", b"reference", "timestamp", b"timestamp", "value", b"value"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["reference", b"reference", "timestamp", b"timestamp", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["reference", b"reference", "timestamp", b"timestamp", "value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["reference", b"reference", "timestamp", b"timestamp", "value", b"value"]) -> None: ... -Global___ConnectorFeature: _TypeAlias = ConnectorFeature # noqa: Y015 +global___ConnectorFeature = ConnectorFeature -@_typing.final -class ConnectorFeatureList(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ConnectorFeatureList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FEATURELIST_FIELD_NUMBER: _builtins.int - @_builtins.property - def featureList(self) -> _containers.RepeatedCompositeFieldContainer[Global___ConnectorFeature]: ... + FEATURELIST_FIELD_NUMBER: builtins.int + @property + def featureList(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ConnectorFeature]: ... def __init__( self, *, - featureList: _abc.Iterable[Global___ConnectorFeature] | None = ..., + featureList: collections.abc.Iterable[global___ConnectorFeature] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["featureList", b"featureList"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["featureList", b"featureList"]) -> None: ... -Global___ConnectorFeatureList: _TypeAlias = ConnectorFeatureList # noqa: Y015 +global___ConnectorFeatureList = ConnectorFeatureList -@_typing.final -class OnlineReadRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class OnlineReadRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - ENTITYKEYS_FIELD_NUMBER: _builtins.int - VIEW_FIELD_NUMBER: _builtins.int - FEATURES_FIELD_NUMBER: _builtins.int - view: _builtins.str - @_builtins.property - def entityKeys(self) -> _containers.RepeatedCompositeFieldContainer[_EntityKey_pb2.EntityKey]: ... - @_builtins.property - def features(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... + ENTITYKEYS_FIELD_NUMBER: builtins.int + VIEW_FIELD_NUMBER: builtins.int + FEATURES_FIELD_NUMBER: builtins.int + @property + def entityKeys(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.types.EntityKey_pb2.EntityKey]: ... + view: builtins.str + @property + def features(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( self, *, - entityKeys: _abc.Iterable[_EntityKey_pb2.EntityKey] | None = ..., - view: _builtins.str = ..., - features: _abc.Iterable[_builtins.str] | None = ..., + entityKeys: collections.abc.Iterable[feast.types.EntityKey_pb2.EntityKey] | None = ..., + view: builtins.str = ..., + features: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["entityKeys", b"entityKeys", "features", b"features", "view", b"view"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["entityKeys", b"entityKeys", "features", b"features", "view", b"view"]) -> None: ... -Global___OnlineReadRequest: _TypeAlias = OnlineReadRequest # noqa: Y015 +global___OnlineReadRequest = OnlineReadRequest -@_typing.final -class OnlineReadResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class OnlineReadResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - RESULTS_FIELD_NUMBER: _builtins.int - @_builtins.property - def results(self) -> _containers.RepeatedCompositeFieldContainer[Global___ConnectorFeatureList]: ... + RESULTS_FIELD_NUMBER: builtins.int + @property + def results(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ConnectorFeatureList]: ... def __init__( self, *, - results: _abc.Iterable[Global___ConnectorFeatureList] | None = ..., + results: collections.abc.Iterable[global___ConnectorFeatureList] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["results", b"results"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["results", b"results"]) -> None: ... -Global___OnlineReadResponse: _TypeAlias = OnlineReadResponse # noqa: Y015 +global___OnlineReadResponse = OnlineReadResponse 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 38cefe43dc..dfadf982dd 100644 --- a/sdk/python/feast/protos/feast/serving/Connector_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/Connector_pb2_grpc.py @@ -1,29 +1,9 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' but the generated code in feast/serving/Connector_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class OnlineStoreStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,7 +18,7 @@ def __init__(self, channel): '/grpc.connector.OnlineStore/OnlineRead', request_serializer=feast_dot_serving_dot_Connector__pb2.OnlineReadRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_Connector__pb2.OnlineReadResponse.FromString, - _registered_method=True) + ) class OnlineStoreServicer(object): @@ -62,7 +42,6 @@ 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. @@ -80,18 +59,8 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py index 8019e22f12..dcf9156318 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py @@ -1,63 +1,44 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/serving/GrpcServer.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from feast.protos.feast.serving import ServingService_pb2 as feast_dot_serving_dot_ServingService__pb2 -from feast.protos.feast.types import Value_pb2 as feast_dot_types_dot_Value__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x66\x65\x61st/serving/GrpcServer.proto\x1a\"feast/serving/ServingService.proto\x1a\x17\x66\x65\x61st/types/Value.proto\"\xb6\x02\n\x0bPushRequest\x12,\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x1a.PushRequest.FeaturesEntry\x12\x1b\n\x13stream_feature_view\x18\x02 \x01(\t\x12\x1c\n\x14\x61llow_registry_cache\x18\x03 \x01(\x08\x12\n\n\x02to\x18\x04 \x01(\t\x12\x37\n\x0etyped_features\x18\x05 \x03(\x0b\x32\x1f.PushRequest.TypedFeaturesEntry\x1a/\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aH\n\x12TypedFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.feast.types.Value:\x02\x38\x01\"\x1e\n\x0cPushResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\"\xd2\x02\n\x19WriteToOnlineStoreRequest\x12:\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32(.WriteToOnlineStoreRequest.FeaturesEntry\x12\x19\n\x11\x66\x65\x61ture_view_name\x18\x02 \x01(\t\x12\x1c\n\x14\x61llow_registry_cache\x18\x03 \x01(\x08\x12\x45\n\x0etyped_features\x18\x04 \x03(\x0b\x32-.WriteToOnlineStoreRequest.TypedFeaturesEntry\x1a/\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aH\n\x12TypedFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.feast.types.Value:\x02\x38\x01\",\n\x1aWriteToOnlineStoreResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\x32\xf1\x01\n\x11GrpcFeatureServer\x12%\n\x04Push\x12\x0c.PushRequest\x1a\r.PushResponse\"\x00\x12M\n\x12WriteToOnlineStore\x12\x1a.WriteToOnlineStoreRequest\x1a\x1b.WriteToOnlineStoreResponse\x12\x66\n\x11GetOnlineFeatures\x12\'.feast.serving.GetOnlineFeaturesRequest\x1a(.feast.serving.GetOnlineFeaturesResponseB]\n\x13\x66\x65\x61st.proto.servingB\x12GrpcServerAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/servingb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x66\x65\x61st/serving/GrpcServer.proto\x1a\"feast/serving/ServingService.proto\"\xb3\x01\n\x0bPushRequest\x12,\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x1a.PushRequest.FeaturesEntry\x12\x1b\n\x13stream_feature_view\x18\x02 \x01(\t\x12\x1c\n\x14\x61llow_registry_cache\x18\x03 \x01(\x08\x12\n\n\x02to\x18\x04 \x01(\t\x1a/\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1e\n\x0cPushResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\"\xc1\x01\n\x19WriteToOnlineStoreRequest\x12:\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32(.WriteToOnlineStoreRequest.FeaturesEntry\x12\x19\n\x11\x66\x65\x61ture_view_name\x18\x02 \x01(\t\x12\x1c\n\x14\x61llow_registry_cache\x18\x03 \x01(\x08\x1a/\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\",\n\x1aWriteToOnlineStoreResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\x32\xf1\x01\n\x11GrpcFeatureServer\x12%\n\x04Push\x12\x0c.PushRequest\x1a\r.PushResponse\"\x00\x12M\n\x12WriteToOnlineStore\x12\x1a.WriteToOnlineStoreRequest\x1a\x1b.WriteToOnlineStoreResponse\x12\x66\n\x11GetOnlineFeatures\x12\'.feast.serving.GetOnlineFeaturesRequest\x1a(.feast.serving.GetOnlineFeaturesResponseB]\n\x13\x66\x65\x61st.proto.servingB\x12GrpcServerAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/servingb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.serving.GrpcServer_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\023feast.proto.servingB\022GrpcServerAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/serving' - _globals['_PUSHREQUEST_FEATURESENTRY']._loaded_options = None + _globals['_PUSHREQUEST_FEATURESENTRY']._options = None _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_options = b'8\001' - _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._loaded_options = None - _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._serialized_options = b'8\001' - _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._loaded_options = None + _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._options = None _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_options = b'8\001' - _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._loaded_options = None - _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._serialized_options = b'8\001' - _globals['_PUSHREQUEST']._serialized_start=96 - _globals['_PUSHREQUEST']._serialized_end=406 - _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_start=285 - _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_end=332 - _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._serialized_start=334 - _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._serialized_end=406 - _globals['_PUSHRESPONSE']._serialized_start=408 - _globals['_PUSHRESPONSE']._serialized_end=438 - _globals['_WRITETOONLINESTOREREQUEST']._serialized_start=441 - _globals['_WRITETOONLINESTOREREQUEST']._serialized_end=779 - _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_start=285 - _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_end=332 - _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._serialized_start=334 - _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._serialized_end=406 - _globals['_WRITETOONLINESTORERESPONSE']._serialized_start=781 - _globals['_WRITETOONLINESTORERESPONSE']._serialized_end=825 - _globals['_GRPCFEATURESERVER']._serialized_start=828 - _globals['_GRPCFEATURESERVER']._serialized_end=1069 + _globals['_PUSHREQUEST']._serialized_start=71 + _globals['_PUSHREQUEST']._serialized_end=250 + _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_start=203 + _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_end=250 + _globals['_PUSHRESPONSE']._serialized_start=252 + _globals['_PUSHRESPONSE']._serialized_end=282 + _globals['_WRITETOONLINESTOREREQUEST']._serialized_start=285 + _globals['_WRITETOONLINESTOREREQUEST']._serialized_end=478 + _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_start=203 + _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_end=250 + _globals['_WRITETOONLINESTORERESPONSE']._serialized_start=480 + _globals['_WRITETOONLINESTORERESPONSE']._serialized_end=524 + _globals['_GRPCFEATURESERVER']._serialized_start=527 + _globals['_GRPCFEATURESERVER']._serialized_end=768 # @@protoc_insertion_point(module_scope) diff --git a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi index ccb171c91a..54964f46e5 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi @@ -2,182 +2,119 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -from collections import abc as _abc -from feast.types import Value_pb2 as _Value_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class PushRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class PushRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class FeaturesEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class FeaturesEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str - def __init__( - self, - *, - key: _builtins.str = ..., - value: _builtins.str = ..., - ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - @_typing.final - class TypedFeaturesEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - @_builtins.property - def value(self) -> _Value_pb2.Value: ... + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _Value_pb2.Value | None = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - FEATURES_FIELD_NUMBER: _builtins.int - STREAM_FEATURE_VIEW_FIELD_NUMBER: _builtins.int - ALLOW_REGISTRY_CACHE_FIELD_NUMBER: _builtins.int - TO_FIELD_NUMBER: _builtins.int - TYPED_FEATURES_FIELD_NUMBER: _builtins.int - stream_feature_view: _builtins.str - allow_registry_cache: _builtins.bool - to: _builtins.str - @_builtins.property - def features(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def typed_features(self) -> _containers.MessageMap[_builtins.str, _Value_pb2.Value]: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + FEATURES_FIELD_NUMBER: builtins.int + STREAM_FEATURE_VIEW_FIELD_NUMBER: builtins.int + ALLOW_REGISTRY_CACHE_FIELD_NUMBER: builtins.int + TO_FIELD_NUMBER: builtins.int + @property + def features(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + stream_feature_view: builtins.str + allow_registry_cache: builtins.bool + to: builtins.str def __init__( self, *, - features: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - stream_feature_view: _builtins.str = ..., - allow_registry_cache: _builtins.bool = ..., - to: _builtins.str = ..., - typed_features: _abc.Mapping[_builtins.str, _Value_pb2.Value] | None = ..., + features: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + stream_feature_view: builtins.str = ..., + allow_registry_cache: builtins.bool = ..., + to: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_registry_cache", b"allow_registry_cache", "features", b"features", "stream_feature_view", b"stream_feature_view", "to", b"to", "typed_features", b"typed_features"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_registry_cache", b"allow_registry_cache", "features", b"features", "stream_feature_view", b"stream_feature_view", "to", b"to"]) -> None: ... -Global___PushRequest: _TypeAlias = PushRequest # noqa: Y015 +global___PushRequest = PushRequest -@_typing.final -class PushResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class PushResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - STATUS_FIELD_NUMBER: _builtins.int - status: _builtins.bool + STATUS_FIELD_NUMBER: builtins.int + status: builtins.bool def __init__( self, *, - status: _builtins.bool = ..., + status: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["status", b"status"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["status", b"status"]) -> None: ... -Global___PushResponse: _TypeAlias = PushResponse # noqa: Y015 +global___PushResponse = PushResponse -@_typing.final -class WriteToOnlineStoreRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class WriteToOnlineStoreRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class FeaturesEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class FeaturesEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str - def __init__( - self, - *, - key: _builtins.str = ..., - value: _builtins.str = ..., - ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - @_typing.final - class TypedFeaturesEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - @_builtins.property - def value(self) -> _Value_pb2.Value: ... + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _Value_pb2.Value | None = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - FEATURES_FIELD_NUMBER: _builtins.int - FEATURE_VIEW_NAME_FIELD_NUMBER: _builtins.int - ALLOW_REGISTRY_CACHE_FIELD_NUMBER: _builtins.int - TYPED_FEATURES_FIELD_NUMBER: _builtins.int - feature_view_name: _builtins.str - allow_registry_cache: _builtins.bool - @_builtins.property - def features(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... - @_builtins.property - def typed_features(self) -> _containers.MessageMap[_builtins.str, _Value_pb2.Value]: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + FEATURES_FIELD_NUMBER: builtins.int + FEATURE_VIEW_NAME_FIELD_NUMBER: builtins.int + ALLOW_REGISTRY_CACHE_FIELD_NUMBER: builtins.int + @property + def features(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + feature_view_name: builtins.str + allow_registry_cache: builtins.bool def __init__( self, *, - features: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - feature_view_name: _builtins.str = ..., - allow_registry_cache: _builtins.bool = ..., - typed_features: _abc.Mapping[_builtins.str, _Value_pb2.Value] | None = ..., + features: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + feature_view_name: builtins.str = ..., + allow_registry_cache: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_registry_cache", b"allow_registry_cache", "feature_view_name", b"feature_view_name", "features", b"features", "typed_features", b"typed_features"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_registry_cache", b"allow_registry_cache", "feature_view_name", b"feature_view_name", "features", b"features"]) -> None: ... -Global___WriteToOnlineStoreRequest: _TypeAlias = WriteToOnlineStoreRequest # noqa: Y015 +global___WriteToOnlineStoreRequest = WriteToOnlineStoreRequest -@_typing.final -class WriteToOnlineStoreResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class WriteToOnlineStoreResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - STATUS_FIELD_NUMBER: _builtins.int - status: _builtins.bool + STATUS_FIELD_NUMBER: builtins.int + status: builtins.bool def __init__( self, *, - status: _builtins.bool = ..., + status: builtins.bool = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["status", b"status"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["status", b"status"]) -> None: ... -Global___WriteToOnlineStoreResponse: _TypeAlias = WriteToOnlineStoreResponse # noqa: Y015 +global___WriteToOnlineStoreResponse = WriteToOnlineStoreResponse 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 ead1995046..b381cc0f41 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2_grpc.py @@ -1,30 +1,10 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' but the generated code in feast/serving/GrpcServer_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class GrpcFeatureServerStub(object): """Missing associated documentation comment in .proto file.""" @@ -39,17 +19,17 @@ def __init__(self, channel): '/GrpcFeatureServer/Push', request_serializer=feast_dot_serving_dot_GrpcServer__pb2.PushRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_GrpcServer__pb2.PushResponse.FromString, - _registered_method=True) + ) self.WriteToOnlineStore = channel.unary_unary( '/GrpcFeatureServer/WriteToOnlineStore', request_serializer=feast_dot_serving_dot_GrpcServer__pb2.WriteToOnlineStoreRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_GrpcServer__pb2.WriteToOnlineStoreResponse.FromString, - _registered_method=True) + ) self.GetOnlineFeatures = channel.unary_unary( '/GrpcFeatureServer/GetOnlineFeatures', request_serializer=feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesResponse.FromString, - _registered_method=True) + ) class GrpcFeatureServerServicer(object): @@ -95,7 +75,6 @@ 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. @@ -113,21 +92,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteToOnlineStore(request, @@ -140,21 +109,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetOnlineFeatures(request, @@ -167,18 +126,8 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/sdk/python/feast/protos/feast/serving/ServingService_pb2.py b/sdk/python/feast/protos/feast/serving/ServingService_pb2.py index c56555baef..fa86664057 100644 --- a/sdk/python/feast/protos/feast/serving/ServingService_pb2.py +++ b/sdk/python/feast/protos/feast/serving/ServingService_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/serving/ServingService.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,14 +21,14 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.serving.ServingService_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\023feast.proto.servingB\017ServingAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/serving' - _globals['_GETONLINEFEATURESREQUESTV2_ENTITYROW_FIELDSENTRY']._loaded_options = None + _globals['_GETONLINEFEATURESREQUESTV2_ENTITYROW_FIELDSENTRY']._options = None _globals['_GETONLINEFEATURESREQUESTV2_ENTITYROW_FIELDSENTRY']._serialized_options = b'8\001' - _globals['_GETONLINEFEATURESREQUEST_ENTITIESENTRY']._loaded_options = None + _globals['_GETONLINEFEATURESREQUEST_ENTITIESENTRY']._options = None _globals['_GETONLINEFEATURESREQUEST_ENTITIESENTRY']._serialized_options = b'8\001' - _globals['_GETONLINEFEATURESREQUEST_REQUESTCONTEXTENTRY']._loaded_options = None + _globals['_GETONLINEFEATURESREQUEST_REQUESTCONTEXTENTRY']._options = None _globals['_GETONLINEFEATURESREQUEST_REQUESTCONTEXTENTRY']._serialized_options = b'8\001' _globals['_FIELDSTATUS']._serialized_start=1560 _globals['_FIELDSTATUS']._serialized_end=1651 diff --git a/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi b/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi index da627653ff..3c5e57ae45 100644 --- a/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi +++ b/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi @@ -16,31 +16,30 @@ 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. """ - -from collections import abc as _abc -from feast.types import Value_pb2 as _Value_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import timestamp_pb2 as _timestamp_pb2 -from google.protobuf.internal import containers as _containers -from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper -import builtins as _builtins +import builtins +import collections.abc +import feast.types.Value_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.internal.enum_type_wrapper +import google.protobuf.message +import google.protobuf.timestamp_pb2 import sys -import typing as _typing +import typing if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor class _FieldStatus: - ValueType = _typing.NewType("ValueType", _builtins.int) - V: _TypeAlias = ValueType # noqa: Y015 + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType -class _FieldStatusEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_FieldStatus.ValueType], _builtins.type): - DESCRIPTOR: _descriptor.EnumDescriptor +class _FieldStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_FieldStatus.ValueType], builtins.type): # noqa: F821 + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor INVALID: _FieldStatus.ValueType # 0 """Status is unset for this field.""" PRESENT: _FieldStatus.ValueType # 1 @@ -78,312 +77,271 @@ OUTSIDE_MAX_AGE: FieldStatus.ValueType # 4 """Values could be found for entity key, but field values are outside the maximum allowable range. """ -Global___FieldStatus: _TypeAlias = FieldStatus # noqa: Y015 +global___FieldStatus = FieldStatus -@_typing.final -class GetFeastServingInfoRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetFeastServingInfoRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor def __init__( self, ) -> None: ... -Global___GetFeastServingInfoRequest: _TypeAlias = GetFeastServingInfoRequest # noqa: Y015 +global___GetFeastServingInfoRequest = GetFeastServingInfoRequest -@_typing.final -class GetFeastServingInfoResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetFeastServingInfoResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VERSION_FIELD_NUMBER: _builtins.int - version: _builtins.str + VERSION_FIELD_NUMBER: builtins.int + version: builtins.str """Feast version of this serving deployment.""" def __init__( self, *, - version: _builtins.str = ..., + version: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["version", b"version"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["version", b"version"]) -> None: ... -Global___GetFeastServingInfoResponse: _TypeAlias = GetFeastServingInfoResponse # noqa: Y015 +global___GetFeastServingInfoResponse = GetFeastServingInfoResponse -@_typing.final -class FeatureReferenceV2(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureReferenceV2(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FEATURE_VIEW_NAME_FIELD_NUMBER: _builtins.int - FEATURE_NAME_FIELD_NUMBER: _builtins.int - feature_view_name: _builtins.str + FEATURE_VIEW_NAME_FIELD_NUMBER: builtins.int + FEATURE_NAME_FIELD_NUMBER: builtins.int + feature_view_name: builtins.str """Name of the Feature View to retrieve the feature from.""" - feature_name: _builtins.str + feature_name: builtins.str """Name of the Feature to retrieve the feature from.""" def __init__( self, *, - feature_view_name: _builtins.str = ..., - feature_name: _builtins.str = ..., + feature_view_name: builtins.str = ..., + feature_name: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_name", b"feature_name", "feature_view_name", b"feature_view_name"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["feature_name", b"feature_name", "feature_view_name", b"feature_view_name"]) -> None: ... -Global___FeatureReferenceV2: _TypeAlias = FeatureReferenceV2 # noqa: Y015 +global___FeatureReferenceV2 = FeatureReferenceV2 -@_typing.final -class GetOnlineFeaturesRequestV2(_message.Message): +class GetOnlineFeaturesRequestV2(google.protobuf.message.Message): """ToDo (oleksii): remove this message (since it's not used) and move EntityRow on package level""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class EntityRow(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class EntityRow(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class FieldsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class FieldsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - @_builtins.property - def value(self) -> _Value_pb2.Value: ... + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + @property + def value(self) -> feast.types.Value_pb2.Value: ... def __init__( self, *, - key: _builtins.str = ..., - value: _Value_pb2.Value | None = ..., + key: builtins.str = ..., + value: feast.types.Value_pb2.Value | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - TIMESTAMP_FIELD_NUMBER: _builtins.int - FIELDS_FIELD_NUMBER: _builtins.int - @_builtins.property - def timestamp(self) -> _timestamp_pb2.Timestamp: + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + TIMESTAMP_FIELD_NUMBER: builtins.int + FIELDS_FIELD_NUMBER: builtins.int + @property + def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: """Request timestamp of this row. This value will be used, together with maxAge, to determine feature staleness. """ - - @_builtins.property - def fields(self) -> _containers.MessageMap[_builtins.str, _Value_pb2.Value]: + @property + def fields(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, feast.types.Value_pb2.Value]: """Map containing mapping of entity name to entity value.""" - def __init__( self, *, - timestamp: _timestamp_pb2.Timestamp | None = ..., - fields: _abc.Mapping[_builtins.str, _Value_pb2.Value] | None = ..., + timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + fields: collections.abc.Mapping[builtins.str, feast.types.Value_pb2.Value] | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["timestamp", b"timestamp"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["fields", b"fields", "timestamp", b"timestamp"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - FEATURES_FIELD_NUMBER: _builtins.int - ENTITY_ROWS_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - project: _builtins.str - """Optional field to specify project name override. If specified, uses the - given project for retrieval. Overrides the projects specified in - Feature References if both are specified. - """ - @_builtins.property - def features(self) -> _containers.RepeatedCompositeFieldContainer[Global___FeatureReferenceV2]: + def HasField(self, field_name: typing_extensions.Literal["timestamp", b"timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["fields", b"fields", "timestamp", b"timestamp"]) -> None: ... + + FEATURES_FIELD_NUMBER: builtins.int + ENTITY_ROWS_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + @property + def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FeatureReferenceV2]: """List of features that are being retrieved""" - - @_builtins.property - def entity_rows(self) -> _containers.RepeatedCompositeFieldContainer[Global___GetOnlineFeaturesRequestV2.EntityRow]: + @property + def entity_rows(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GetOnlineFeaturesRequestV2.EntityRow]: """List of entity rows, containing entity id and timestamp data. Used during retrieval of feature rows and for joining feature rows into a final dataset """ - + project: builtins.str + """Optional field to specify project name override. If specified, uses the + given project for retrieval. Overrides the projects specified in + Feature References if both are specified. + """ def __init__( self, *, - features: _abc.Iterable[Global___FeatureReferenceV2] | None = ..., - entity_rows: _abc.Iterable[Global___GetOnlineFeaturesRequestV2.EntityRow] | None = ..., - project: _builtins.str = ..., + features: collections.abc.Iterable[global___FeatureReferenceV2] | None = ..., + entity_rows: collections.abc.Iterable[global___GetOnlineFeaturesRequestV2.EntityRow] | None = ..., + project: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["entity_rows", b"entity_rows", "features", b"features", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["entity_rows", b"entity_rows", "features", b"features", "project", b"project"]) -> None: ... -Global___GetOnlineFeaturesRequestV2: _TypeAlias = GetOnlineFeaturesRequestV2 # noqa: Y015 +global___GetOnlineFeaturesRequestV2 = GetOnlineFeaturesRequestV2 -@_typing.final -class FeatureList(_message.Message): +class FeatureList(google.protobuf.message.Message): """In JSON "val" field can be omitted""" - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.str] | None = ..., + val: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___FeatureList: _TypeAlias = FeatureList # noqa: Y015 +global___FeatureList = FeatureList -@_typing.final -class GetOnlineFeaturesRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetOnlineFeaturesRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class EntitiesEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class EntitiesEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - @_builtins.property - def value(self) -> _Value_pb2.RepeatedValue: ... + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + @property + def value(self) -> feast.types.Value_pb2.RepeatedValue: ... def __init__( self, *, - key: _builtins.str = ..., - value: _Value_pb2.RepeatedValue | None = ..., + key: builtins.str = ..., + value: feast.types.Value_pb2.RepeatedValue | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - @_typing.final - class RequestContextEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - @_builtins.property - def value(self) -> _Value_pb2.RepeatedValue: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + class RequestContextEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + @property + def value(self) -> feast.types.Value_pb2.RepeatedValue: ... def __init__( self, *, - key: _builtins.str = ..., - value: _Value_pb2.RepeatedValue | None = ..., + key: builtins.str = ..., + value: feast.types.Value_pb2.RepeatedValue | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - FEATURE_SERVICE_FIELD_NUMBER: _builtins.int - FEATURES_FIELD_NUMBER: _builtins.int - ENTITIES_FIELD_NUMBER: _builtins.int - FULL_FEATURE_NAMES_FIELD_NUMBER: _builtins.int - REQUEST_CONTEXT_FIELD_NUMBER: _builtins.int - feature_service: _builtins.str - full_feature_names: _builtins.bool - @_builtins.property - def features(self) -> Global___FeatureList: ... - @_builtins.property - def entities(self) -> _containers.MessageMap[_builtins.str, _Value_pb2.RepeatedValue]: + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + FEATURE_SERVICE_FIELD_NUMBER: builtins.int + FEATURES_FIELD_NUMBER: builtins.int + ENTITIES_FIELD_NUMBER: builtins.int + FULL_FEATURE_NAMES_FIELD_NUMBER: builtins.int + REQUEST_CONTEXT_FIELD_NUMBER: builtins.int + feature_service: builtins.str + @property + def features(self) -> global___FeatureList: ... + @property + def entities(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, feast.types.Value_pb2.RepeatedValue]: """The entity data is specified in a columnar format A map of entity name -> list of values """ - - @_builtins.property - def request_context(self) -> _containers.MessageMap[_builtins.str, _Value_pb2.RepeatedValue]: + full_feature_names: builtins.bool + @property + def request_context(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, feast.types.Value_pb2.RepeatedValue]: """Context for OnDemand Feature Transformation (was moved to dedicated parameter to avoid unnecessary separation logic on serving side) A map of variable name -> list of values """ - def __init__( self, *, - feature_service: _builtins.str = ..., - features: Global___FeatureList | None = ..., - entities: _abc.Mapping[_builtins.str, _Value_pb2.RepeatedValue] | None = ..., - full_feature_names: _builtins.bool = ..., - request_context: _abc.Mapping[_builtins.str, _Value_pb2.RepeatedValue] | None = ..., + feature_service: builtins.str = ..., + features: global___FeatureList | None = ..., + entities: collections.abc.Mapping[builtins.str, feast.types.Value_pb2.RepeatedValue] | None = ..., + full_feature_names: builtins.bool = ..., + request_context: collections.abc.Mapping[builtins.str, feast.types.Value_pb2.RepeatedValue] | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["feature_service", b"feature_service", "features", b"features", "kind", b"kind"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["entities", b"entities", "feature_service", b"feature_service", "features", b"features", "full_feature_names", b"full_feature_names", "kind", b"kind", "request_context", b"request_context"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_kind: _TypeAlias = _typing.Literal["feature_service", "features"] # noqa: Y015 - _WhichOneofArgType_kind: _TypeAlias = _typing.Literal["kind", b"kind"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_kind) -> _WhichOneofReturnType_kind | None: ... - -Global___GetOnlineFeaturesRequest: _TypeAlias = GetOnlineFeaturesRequest # noqa: Y015 - -@_typing.final -class GetOnlineFeaturesResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - @_typing.final - class FeatureVector(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - VALUES_FIELD_NUMBER: _builtins.int - STATUSES_FIELD_NUMBER: _builtins.int - EVENT_TIMESTAMPS_FIELD_NUMBER: _builtins.int - @_builtins.property - def values(self) -> _containers.RepeatedCompositeFieldContainer[_Value_pb2.Value]: ... - @_builtins.property - def statuses(self) -> _containers.RepeatedScalarFieldContainer[Global___FieldStatus.ValueType]: ... - @_builtins.property - def event_timestamps(self) -> _containers.RepeatedCompositeFieldContainer[_timestamp_pb2.Timestamp]: ... + def HasField(self, field_name: typing_extensions.Literal["feature_service", b"feature_service", "features", b"features", "kind", b"kind"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["entities", b"entities", "feature_service", b"feature_service", "features", b"features", "full_feature_names", b"full_feature_names", "kind", b"kind", "request_context", b"request_context"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["kind", b"kind"]) -> typing_extensions.Literal["feature_service", "features"] | None: ... + +global___GetOnlineFeaturesRequest = GetOnlineFeaturesRequest + +class GetOnlineFeaturesResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + class FeatureVector(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VALUES_FIELD_NUMBER: builtins.int + STATUSES_FIELD_NUMBER: builtins.int + EVENT_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]: ... def __init__( self, *, - values: _abc.Iterable[_Value_pb2.Value] | None = ..., - statuses: _abc.Iterable[Global___FieldStatus.ValueType] | None = ..., - event_timestamps: _abc.Iterable[_timestamp_pb2.Timestamp] | None = ..., + 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 = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["event_timestamps", b"event_timestamps", "statuses", b"statuses", "values", b"values"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - METADATA_FIELD_NUMBER: _builtins.int - RESULTS_FIELD_NUMBER: _builtins.int - STATUS_FIELD_NUMBER: _builtins.int - status: _builtins.bool - @_builtins.property - def metadata(self) -> Global___GetOnlineFeaturesResponseMetadata: ... - @_builtins.property - def results(self) -> _containers.RepeatedCompositeFieldContainer[Global___GetOnlineFeaturesResponse.FeatureVector]: + def ClearField(self, field_name: typing_extensions.Literal["event_timestamps", b"event_timestamps", "statuses", b"statuses", "values", b"values"]) -> None: ... + + METADATA_FIELD_NUMBER: builtins.int + RESULTS_FIELD_NUMBER: builtins.int + STATUS_FIELD_NUMBER: builtins.int + @property + def metadata(self) -> global___GetOnlineFeaturesResponseMetadata: ... + @property + def results(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GetOnlineFeaturesResponse.FeatureVector]: """Length of "results" array should match length of requested features. We also preserve the same order of features here as in metadata.feature_names """ - + status: builtins.bool def __init__( self, *, - metadata: Global___GetOnlineFeaturesResponseMetadata | None = ..., - results: _abc.Iterable[Global___GetOnlineFeaturesResponse.FeatureVector] | None = ..., - status: _builtins.bool = ..., + metadata: global___GetOnlineFeaturesResponseMetadata | None = ..., + results: collections.abc.Iterable[global___GetOnlineFeaturesResponse.FeatureVector] | None = ..., + status: builtins.bool = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["metadata", b"metadata"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["metadata", b"metadata", "results", b"results", "status", b"status"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["metadata", b"metadata", "results", b"results", "status", b"status"]) -> None: ... -Global___GetOnlineFeaturesResponse: _TypeAlias = GetOnlineFeaturesResponse # noqa: Y015 +global___GetOnlineFeaturesResponse = GetOnlineFeaturesResponse -@_typing.final -class GetOnlineFeaturesResponseMetadata(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetOnlineFeaturesResponseMetadata(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FEATURE_NAMES_FIELD_NUMBER: _builtins.int - @_builtins.property - def feature_names(self) -> Global___FeatureList: ... + FEATURE_NAMES_FIELD_NUMBER: builtins.int + @property + def feature_names(self) -> global___FeatureList: ... def __init__( self, *, - feature_names: Global___FeatureList | None = ..., + feature_names: global___FeatureList | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["feature_names", b"feature_names"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["feature_names", b"feature_names"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["feature_names", b"feature_names"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["feature_names", b"feature_names"]) -> None: ... -Global___GetOnlineFeaturesResponseMetadata: _TypeAlias = GetOnlineFeaturesResponseMetadata # noqa: Y015 +global___GetOnlineFeaturesResponseMetadata = GetOnlineFeaturesResponseMetadata 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 b894e029b7..d3cd055f66 100644 --- a/sdk/python/feast/protos/feast/serving/ServingService_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/ServingService_pb2_grpc.py @@ -1,29 +1,9 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' but the generated code in feast/serving/ServingService_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class ServingServiceStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,12 +18,12 @@ def __init__(self, channel): '/feast.serving.ServingService/GetFeastServingInfo', request_serializer=feast_dot_serving_dot_ServingService__pb2.GetFeastServingInfoRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_ServingService__pb2.GetFeastServingInfoResponse.FromString, - _registered_method=True) + ) self.GetOnlineFeatures = channel.unary_unary( '/feast.serving.ServingService/GetOnlineFeatures', request_serializer=feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_ServingService__pb2.GetOnlineFeaturesResponse.FromString, - _registered_method=True) + ) class ServingServiceServicer(object): @@ -80,7 +60,6 @@ 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. @@ -98,21 +77,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetOnlineFeatures(request, @@ -125,18 +94,8 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/sdk/python/feast/protos/feast/serving/TransformationService_pb2.py b/sdk/python/feast/protos/feast/serving/TransformationService_pb2.py index 80311650f6..bc060e9a77 100644 --- a/sdk/python/feast/protos/feast/serving/TransformationService_pb2.py +++ b/sdk/python/feast/protos/feast/serving/TransformationService_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/serving/TransformationService.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,8 +19,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.serving.TransformationService_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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.pyi b/sdk/python/feast/protos/feast/serving/TransformationService_pb2.pyi index f21ebfd05f..3e0752b7bd 100644 --- a/sdk/python/feast/protos/feast/serving/TransformationService_pb2.pyi +++ b/sdk/python/feast/protos/feast/serving/TransformationService_pb2.pyi @@ -16,27 +16,26 @@ 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. """ - -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper -import builtins as _builtins +import builtins +import google.protobuf.descriptor +import google.protobuf.internal.enum_type_wrapper +import google.protobuf.message import sys -import typing as _typing +import typing if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor class _TransformationServiceType: - ValueType = _typing.NewType("ValueType", _builtins.int) - V: _TypeAlias = ValueType # noqa: Y015 + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType -class _TransformationServiceTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_TransformationServiceType.ValueType], _builtins.type): - DESCRIPTOR: _descriptor.EnumDescriptor +class _TransformationServiceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TransformationServiceType.ValueType], builtins.type): # noqa: F821 + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TRANSFORMATION_SERVICE_TYPE_INVALID: _TransformationServiceType.ValueType # 0 TRANSFORMATION_SERVICE_TYPE_PYTHON: _TransformationServiceType.ValueType # 1 TRANSFORMATION_SERVICE_TYPE_CUSTOM: _TransformationServiceType.ValueType # 100 @@ -46,106 +45,92 @@ class TransformationServiceType(_TransformationServiceType, metaclass=_Transform TRANSFORMATION_SERVICE_TYPE_INVALID: TransformationServiceType.ValueType # 0 TRANSFORMATION_SERVICE_TYPE_PYTHON: TransformationServiceType.ValueType # 1 TRANSFORMATION_SERVICE_TYPE_CUSTOM: TransformationServiceType.ValueType # 100 -Global___TransformationServiceType: _TypeAlias = TransformationServiceType # noqa: Y015 +global___TransformationServiceType = TransformationServiceType -@_typing.final -class ValueType(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ValueType(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - ARROW_VALUE_FIELD_NUMBER: _builtins.int - arrow_value: _builtins.bytes + ARROW_VALUE_FIELD_NUMBER: builtins.int + arrow_value: builtins.bytes """Having a oneOf provides forward compatibility if we need to support compound types that are not supported by arrow natively. """ def __init__( self, *, - arrow_value: _builtins.bytes = ..., + arrow_value: builtins.bytes = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["arrow_value", b"arrow_value", "value", b"value"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["arrow_value", b"arrow_value", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_value: _TypeAlias = _typing.Literal["arrow_value"] # noqa: Y015 - _WhichOneofArgType_value: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_value) -> _WhichOneofReturnType_value | None: ... + def HasField(self, field_name: typing_extensions.Literal["arrow_value", b"arrow_value", "value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["arrow_value", b"arrow_value", "value", b"value"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["value", b"value"]) -> typing_extensions.Literal["arrow_value"] | None: ... -Global___ValueType: _TypeAlias = ValueType # noqa: Y015 +global___ValueType = ValueType -@_typing.final -class GetTransformationServiceInfoRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetTransformationServiceInfoRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor def __init__( self, ) -> None: ... -Global___GetTransformationServiceInfoRequest: _TypeAlias = GetTransformationServiceInfoRequest # noqa: Y015 +global___GetTransformationServiceInfoRequest = GetTransformationServiceInfoRequest -@_typing.final -class GetTransformationServiceInfoResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class GetTransformationServiceInfoResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VERSION_FIELD_NUMBER: _builtins.int - TYPE_FIELD_NUMBER: _builtins.int - TRANSFORMATION_SERVICE_TYPE_DETAILS_FIELD_NUMBER: _builtins.int - version: _builtins.str + VERSION_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int + TRANSFORMATION_SERVICE_TYPE_DETAILS_FIELD_NUMBER: builtins.int + version: builtins.str """Feast version of this transformation service deployment.""" - type: Global___TransformationServiceType.ValueType + type: global___TransformationServiceType.ValueType """Type of transformation service deployment. This is either Python, or custom""" - transformation_service_type_details: _builtins.str + transformation_service_type_details: builtins.str def __init__( self, *, - version: _builtins.str = ..., - type: Global___TransformationServiceType.ValueType = ..., - transformation_service_type_details: _builtins.str = ..., + version: builtins.str = ..., + type: global___TransformationServiceType.ValueType = ..., + transformation_service_type_details: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["transformation_service_type_details", b"transformation_service_type_details", "type", b"type", "version", b"version"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - -Global___GetTransformationServiceInfoResponse: _TypeAlias = GetTransformationServiceInfoResponse # noqa: Y015 - -@_typing.final -class TransformFeaturesRequest(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - ON_DEMAND_FEATURE_VIEW_NAME_FIELD_NUMBER: _builtins.int - PROJECT_FIELD_NUMBER: _builtins.int - TRANSFORMATION_INPUT_FIELD_NUMBER: _builtins.int - on_demand_feature_view_name: _builtins.str - project: _builtins.str - @_builtins.property - def transformation_input(self) -> Global___ValueType: ... + def ClearField(self, field_name: typing_extensions.Literal["transformation_service_type_details", b"transformation_service_type_details", "type", b"type", "version", b"version"]) -> None: ... + +global___GetTransformationServiceInfoResponse = GetTransformationServiceInfoResponse + +class TransformFeaturesRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ON_DEMAND_FEATURE_VIEW_NAME_FIELD_NUMBER: builtins.int + PROJECT_FIELD_NUMBER: builtins.int + TRANSFORMATION_INPUT_FIELD_NUMBER: builtins.int + on_demand_feature_view_name: builtins.str + project: builtins.str + @property + def transformation_input(self) -> global___ValueType: ... def __init__( self, *, - on_demand_feature_view_name: _builtins.str = ..., - project: _builtins.str = ..., - transformation_input: Global___ValueType | None = ..., + on_demand_feature_view_name: builtins.str = ..., + project: builtins.str = ..., + transformation_input: global___ValueType | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["transformation_input", b"transformation_input"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["on_demand_feature_view_name", b"on_demand_feature_view_name", "project", b"project", "transformation_input", b"transformation_input"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["transformation_input", b"transformation_input"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["on_demand_feature_view_name", b"on_demand_feature_view_name", "project", b"project", "transformation_input", b"transformation_input"]) -> None: ... -Global___TransformFeaturesRequest: _TypeAlias = TransformFeaturesRequest # noqa: Y015 +global___TransformFeaturesRequest = TransformFeaturesRequest -@_typing.final -class TransformFeaturesResponse(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class TransformFeaturesResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - TRANSFORMATION_OUTPUT_FIELD_NUMBER: _builtins.int - @_builtins.property - def transformation_output(self) -> Global___ValueType: ... + TRANSFORMATION_OUTPUT_FIELD_NUMBER: builtins.int + @property + def transformation_output(self) -> global___ValueType: ... def __init__( self, *, - transformation_output: Global___ValueType | None = ..., + transformation_output: global___ValueType | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["transformation_output", b"transformation_output"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["transformation_output", b"transformation_output"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["transformation_output", b"transformation_output"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["transformation_output", b"transformation_output"]) -> None: ... -Global___TransformFeaturesResponse: _TypeAlias = TransformFeaturesResponse # noqa: Y015 +global___TransformFeaturesResponse = TransformFeaturesResponse 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 c6922c3b6d..30099e39ca 100644 --- a/sdk/python/feast/protos/feast/serving/TransformationService_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/serving/TransformationService_pb2_grpc.py @@ -1,29 +1,9 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' but the generated code in feast/serving/TransformationService_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class TransformationServiceStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,12 +18,12 @@ def __init__(self, channel): '/feast.serving.TransformationService/GetTransformationServiceInfo', request_serializer=feast_dot_serving_dot_TransformationService__pb2.GetTransformationServiceInfoRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_TransformationService__pb2.GetTransformationServiceInfoResponse.FromString, - _registered_method=True) + ) self.TransformFeatures = channel.unary_unary( '/feast.serving.TransformationService/TransformFeatures', request_serializer=feast_dot_serving_dot_TransformationService__pb2.TransformFeaturesRequest.SerializeToString, response_deserializer=feast_dot_serving_dot_TransformationService__pb2.TransformFeaturesResponse.FromString, - _registered_method=True) + ) class TransformationServiceServicer(object): @@ -78,7 +58,6 @@ 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. @@ -96,21 +75,11 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def TransformFeatures(request, @@ -123,18 +92,8 @@ 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, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/sdk/python/feast/protos/feast/storage/Redis_pb2.py b/sdk/python/feast/protos/feast/storage/Redis_pb2.py index a64d778b66..37d59c9df5 100644 --- a/sdk/python/feast/protos/feast/storage/Redis_pb2.py +++ b/sdk/python/feast/protos/feast/storage/Redis_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/storage/Redis.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,8 +20,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.storage.Redis_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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.pyi b/sdk/python/feast/protos/feast/storage/Redis_pb2.pyi index 906e4d7076..74cc2b07f0 100644 --- a/sdk/python/feast/protos/feast/storage/Redis_pb2.pyi +++ b/sdk/python/feast/protos/feast/storage/Redis_pb2.pyi @@ -16,43 +16,39 @@ 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. """ - -from collections import abc as _abc -from feast.types import Value_pb2 as _Value_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.types.Value_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias - -DESCRIPTOR: _descriptor.FileDescriptor - -@_typing.final -class RedisKeyV2(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - PROJECT_FIELD_NUMBER: _builtins.int - ENTITY_NAMES_FIELD_NUMBER: _builtins.int - ENTITY_VALUES_FIELD_NUMBER: _builtins.int - project: _builtins.str - @_builtins.property - def entity_names(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... - @_builtins.property - def entity_values(self) -> _containers.RepeatedCompositeFieldContainer[_Value_pb2.Value]: ... + import typing_extensions + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +class RedisKeyV2(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PROJECT_FIELD_NUMBER: builtins.int + ENTITY_NAMES_FIELD_NUMBER: builtins.int + ENTITY_VALUES_FIELD_NUMBER: builtins.int + project: builtins.str + @property + def entity_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + @property + def entity_values(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.types.Value_pb2.Value]: ... def __init__( self, *, - project: _builtins.str = ..., - entity_names: _abc.Iterable[_builtins.str] | None = ..., - entity_values: _abc.Iterable[_Value_pb2.Value] | None = ..., + project: builtins.str = ..., + entity_names: collections.abc.Iterable[builtins.str] | None = ..., + entity_values: collections.abc.Iterable[feast.types.Value_pb2.Value] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["entity_names", b"entity_names", "entity_values", b"entity_values", "project", b"project"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["entity_names", b"entity_names", "entity_values", b"entity_values", "project", b"project"]) -> None: ... -Global___RedisKeyV2: _TypeAlias = RedisKeyV2 # noqa: Y015 +global___RedisKeyV2 = RedisKeyV2 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 2028d0c48f..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/storage/Redis_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/storage/Redis_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 a24dbc1fe0..a6e1abf730 100644 --- a/sdk/python/feast/protos/feast/types/EntityKey_pb2.py +++ b/sdk/python/feast/protos/feast/types/EntityKey_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/types/EntityKey.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,8 +20,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.types.EntityKey_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._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.pyi b/sdk/python/feast/protos/feast/types/EntityKey_pb2.pyi index 1570e2853a..fe65e0c1b3 100644 --- a/sdk/python/feast/protos/feast/types/EntityKey_pb2.pyi +++ b/sdk/python/feast/protos/feast/types/EntityKey_pb2.pyi @@ -16,40 +16,36 @@ 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. """ - -from collections import abc as _abc -from feast.types import Value_pb2 as _Value_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.types.Value_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class EntityKey(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class EntityKey(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - JOIN_KEYS_FIELD_NUMBER: _builtins.int - ENTITY_VALUES_FIELD_NUMBER: _builtins.int - @_builtins.property - def join_keys(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... - @_builtins.property - def entity_values(self) -> _containers.RepeatedCompositeFieldContainer[_Value_pb2.Value]: ... + JOIN_KEYS_FIELD_NUMBER: builtins.int + ENTITY_VALUES_FIELD_NUMBER: builtins.int + @property + def join_keys(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + @property + def entity_values(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.types.Value_pb2.Value]: ... def __init__( self, *, - join_keys: _abc.Iterable[_builtins.str] | None = ..., - entity_values: _abc.Iterable[_Value_pb2.Value] | None = ..., + join_keys: collections.abc.Iterable[builtins.str] | None = ..., + entity_values: collections.abc.Iterable[feast.types.Value_pb2.Value] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["entity_values", b"entity_values", "join_keys", b"join_keys"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["entity_values", b"entity_values", "join_keys", b"join_keys"]) -> None: ... -Global___EntityKey: _TypeAlias = EntityKey # noqa: Y015 +global___EntityKey = EntityKey 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 ef29c13a2e..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/types/EntityKey_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/types/EntityKey_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 2bea843772..973fdc6cde 100644 --- a/sdk/python/feast/protos/feast/types/Field_pb2.py +++ b/sdk/python/feast/protos/feast/types/Field_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/types/Field.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,10 +20,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.types.Field_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\021feast.proto.typesB\nFieldProtoZ0github.com/feast-dev/feast/go/protos/feast/types' - _globals['_FIELD_TAGSENTRY']._loaded_options = None + _globals['_FIELD_TAGSENTRY']._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.pyi b/sdk/python/feast/protos/feast/types/Field_pb2.pyi index 76b7c33250..28a2194237 100644 --- a/sdk/python/feast/protos/feast/types/Field_pb2.pyi +++ b/sdk/python/feast/protos/feast/types/Field_pb2.pyi @@ -16,65 +16,58 @@ 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. """ - -from collections import abc as _abc -from feast.types import Value_pb2 as _Value_pb2 -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -import builtins as _builtins +import builtins +import collections.abc +import feast.types.Value_pb2 +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message import sys -import typing as _typing -if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias +if sys.version_info >= (3, 8): + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@_typing.final -class Field(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class Field(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class TagsEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class TagsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - value: _builtins.str + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str def __init__( self, *, - key: _builtins.str = ..., - value: _builtins.str = ..., + key: builtins.str = ..., + value: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - NAME_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - TAGS_FIELD_NUMBER: _builtins.int - DESCRIPTION_FIELD_NUMBER: _builtins.int - name: _builtins.str - value: _Value_pb2.ValueType.Enum.ValueType - description: _builtins.str - """Description of the field.""" - @_builtins.property - def tags(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: + NAME_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + name: builtins.str + value: feast.types.Value_pb2.ValueType.Enum.ValueType + @property + def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Tags for user defined metadata on a field""" - + description: builtins.str + """Description of the field.""" def __init__( self, *, - name: _builtins.str = ..., - value: _Value_pb2.ValueType.Enum.ValueType = ..., - tags: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., - description: _builtins.str = ..., + name: builtins.str = ..., + value: feast.types.Value_pb2.ValueType.Enum.ValueType = ..., + tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + description: builtins.str = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "name", b"name", "tags", b"tags", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "name", b"name", "tags", b"tags", "value", b"value"]) -> None: ... -Global___Field: _TypeAlias = Field # noqa: Y015 +global___Field = Field 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 a294775a43..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/types/Field_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/types/Field_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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 0b3c4adb38..5edd8c5bde 100644 --- a/sdk/python/feast/protos/feast/types/Value_pb2.py +++ b/sdk/python/feast/protos/feast/types/Value_pb2.py @@ -1,22 +1,12 @@ # -*- 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: 6.31.1 +# Protobuf Python Version: 4.25.1 """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, - 31, - 1, - '', - 'feast/types/Value.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,10 +19,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feast.types.Value_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\n\021feast.proto.typesB\nValueProtoZ0github.com/feast-dev/feast/go/protos/feast/types' - _globals['_MAP_VALENTRY']._loaded_options = None + _globals['_MAP_VALENTRY']._options = None _globals['_MAP_VALENTRY']._serialized_options = b'8\001' _globals['_NULL']._serialized_start=2373 _globals['_NULL']._serialized_end=2389 diff --git a/sdk/python/feast/protos/feast/types/Value_pb2.pyi b/sdk/python/feast/protos/feast/types/Value_pb2.pyi index abd3fcc81c..64079291f4 100644 --- a/sdk/python/feast/protos/feast/types/Value_pb2.pyi +++ b/sdk/python/feast/protos/feast/types/Value_pb2.pyi @@ -16,46 +16,44 @@ 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. """ - -from collections import abc as _abc -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf.internal import containers as _containers -from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper -import builtins as _builtins +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.internal.enum_type_wrapper +import google.protobuf.message import sys -import typing as _typing +import typing if sys.version_info >= (3, 10): - from typing import TypeAlias as _TypeAlias + import typing as typing_extensions else: - from typing_extensions import TypeAlias as _TypeAlias + import typing_extensions -DESCRIPTOR: _descriptor.FileDescriptor +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor class _Null: - ValueType = _typing.NewType("ValueType", _builtins.int) - V: _TypeAlias = ValueType # noqa: Y015 + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType -class _NullEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_Null.ValueType], _builtins.type): - DESCRIPTOR: _descriptor.EnumDescriptor +class _NullEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Null.ValueType], builtins.type): # noqa: F821 + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor NULL: _Null.ValueType # 0 class Null(_Null, metaclass=_NullEnumTypeWrapper): ... NULL: Null.ValueType # 0 -Global___Null: _TypeAlias = Null # noqa: Y015 +global___Null = Null -@_typing.final -class ValueType(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class ValueType(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor class _Enum: - ValueType = _typing.NewType("ValueType", _builtins.int) - V: _TypeAlias = ValueType # noqa: Y015 + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType - class _EnumEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[ValueType._Enum.ValueType], _builtins.type): - DESCRIPTOR: _descriptor.EnumDescriptor + class _EnumEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ValueType._Enum.ValueType], builtins.type): # noqa: F821 + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor INVALID: ValueType._Enum.ValueType # 0 BYTES: ValueType._Enum.ValueType # 1 STRING: ValueType._Enum.ValueType # 2 @@ -127,449 +125,407 @@ class ValueType(_message.Message): self, ) -> None: ... -Global___ValueType: _TypeAlias = ValueType # noqa: Y015 - -@_typing.final -class Value(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - BYTES_VAL_FIELD_NUMBER: _builtins.int - STRING_VAL_FIELD_NUMBER: _builtins.int - INT32_VAL_FIELD_NUMBER: _builtins.int - INT64_VAL_FIELD_NUMBER: _builtins.int - DOUBLE_VAL_FIELD_NUMBER: _builtins.int - FLOAT_VAL_FIELD_NUMBER: _builtins.int - BOOL_VAL_FIELD_NUMBER: _builtins.int - UNIX_TIMESTAMP_VAL_FIELD_NUMBER: _builtins.int - BYTES_LIST_VAL_FIELD_NUMBER: _builtins.int - STRING_LIST_VAL_FIELD_NUMBER: _builtins.int - INT32_LIST_VAL_FIELD_NUMBER: _builtins.int - INT64_LIST_VAL_FIELD_NUMBER: _builtins.int - DOUBLE_LIST_VAL_FIELD_NUMBER: _builtins.int - FLOAT_LIST_VAL_FIELD_NUMBER: _builtins.int - BOOL_LIST_VAL_FIELD_NUMBER: _builtins.int - UNIX_TIMESTAMP_LIST_VAL_FIELD_NUMBER: _builtins.int - NULL_VAL_FIELD_NUMBER: _builtins.int - MAP_VAL_FIELD_NUMBER: _builtins.int - MAP_LIST_VAL_FIELD_NUMBER: _builtins.int - BYTES_SET_VAL_FIELD_NUMBER: _builtins.int - STRING_SET_VAL_FIELD_NUMBER: _builtins.int - INT32_SET_VAL_FIELD_NUMBER: _builtins.int - INT64_SET_VAL_FIELD_NUMBER: _builtins.int - DOUBLE_SET_VAL_FIELD_NUMBER: _builtins.int - FLOAT_SET_VAL_FIELD_NUMBER: _builtins.int - BOOL_SET_VAL_FIELD_NUMBER: _builtins.int - UNIX_TIMESTAMP_SET_VAL_FIELD_NUMBER: _builtins.int - JSON_VAL_FIELD_NUMBER: _builtins.int - JSON_LIST_VAL_FIELD_NUMBER: _builtins.int - STRUCT_VAL_FIELD_NUMBER: _builtins.int - STRUCT_LIST_VAL_FIELD_NUMBER: _builtins.int - bytes_val: _builtins.bytes - string_val: _builtins.str - int32_val: _builtins.int - int64_val: _builtins.int - double_val: _builtins.float - float_val: _builtins.float - bool_val: _builtins.bool - unix_timestamp_val: _builtins.int - null_val: Global___Null.ValueType - json_val: _builtins.str - @_builtins.property - def bytes_list_val(self) -> Global___BytesList: ... - @_builtins.property - def string_list_val(self) -> Global___StringList: ... - @_builtins.property - def int32_list_val(self) -> Global___Int32List: ... - @_builtins.property - def int64_list_val(self) -> Global___Int64List: ... - @_builtins.property - def double_list_val(self) -> Global___DoubleList: ... - @_builtins.property - def float_list_val(self) -> Global___FloatList: ... - @_builtins.property - def bool_list_val(self) -> Global___BoolList: ... - @_builtins.property - def unix_timestamp_list_val(self) -> Global___Int64List: ... - @_builtins.property - def map_val(self) -> Global___Map: ... - @_builtins.property - def map_list_val(self) -> Global___MapList: ... - @_builtins.property - def bytes_set_val(self) -> Global___BytesSet: ... - @_builtins.property - def string_set_val(self) -> Global___StringSet: ... - @_builtins.property - def int32_set_val(self) -> Global___Int32Set: ... - @_builtins.property - def int64_set_val(self) -> Global___Int64Set: ... - @_builtins.property - def double_set_val(self) -> Global___DoubleSet: ... - @_builtins.property - def float_set_val(self) -> Global___FloatSet: ... - @_builtins.property - def bool_set_val(self) -> Global___BoolSet: ... - @_builtins.property - def unix_timestamp_set_val(self) -> Global___Int64Set: ... - @_builtins.property - def json_list_val(self) -> Global___StringList: ... - @_builtins.property - def struct_val(self) -> Global___Map: ... - @_builtins.property - def struct_list_val(self) -> Global___MapList: ... +global___ValueType = ValueType + +class Value(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + BYTES_VAL_FIELD_NUMBER: builtins.int + STRING_VAL_FIELD_NUMBER: builtins.int + INT32_VAL_FIELD_NUMBER: builtins.int + INT64_VAL_FIELD_NUMBER: builtins.int + DOUBLE_VAL_FIELD_NUMBER: builtins.int + FLOAT_VAL_FIELD_NUMBER: builtins.int + BOOL_VAL_FIELD_NUMBER: builtins.int + UNIX_TIMESTAMP_VAL_FIELD_NUMBER: builtins.int + BYTES_LIST_VAL_FIELD_NUMBER: builtins.int + STRING_LIST_VAL_FIELD_NUMBER: builtins.int + INT32_LIST_VAL_FIELD_NUMBER: builtins.int + INT64_LIST_VAL_FIELD_NUMBER: builtins.int + DOUBLE_LIST_VAL_FIELD_NUMBER: builtins.int + FLOAT_LIST_VAL_FIELD_NUMBER: builtins.int + BOOL_LIST_VAL_FIELD_NUMBER: builtins.int + UNIX_TIMESTAMP_LIST_VAL_FIELD_NUMBER: builtins.int + NULL_VAL_FIELD_NUMBER: builtins.int + MAP_VAL_FIELD_NUMBER: builtins.int + MAP_LIST_VAL_FIELD_NUMBER: builtins.int + BYTES_SET_VAL_FIELD_NUMBER: builtins.int + STRING_SET_VAL_FIELD_NUMBER: builtins.int + INT32_SET_VAL_FIELD_NUMBER: builtins.int + INT64_SET_VAL_FIELD_NUMBER: builtins.int + DOUBLE_SET_VAL_FIELD_NUMBER: builtins.int + FLOAT_SET_VAL_FIELD_NUMBER: builtins.int + BOOL_SET_VAL_FIELD_NUMBER: builtins.int + UNIX_TIMESTAMP_SET_VAL_FIELD_NUMBER: builtins.int + JSON_VAL_FIELD_NUMBER: builtins.int + JSON_LIST_VAL_FIELD_NUMBER: builtins.int + STRUCT_VAL_FIELD_NUMBER: builtins.int + STRUCT_LIST_VAL_FIELD_NUMBER: builtins.int + bytes_val: builtins.bytes + string_val: builtins.str + int32_val: builtins.int + int64_val: builtins.int + double_val: builtins.float + float_val: builtins.float + bool_val: builtins.bool + unix_timestamp_val: builtins.int + @property + def bytes_list_val(self) -> global___BytesList: ... + @property + def string_list_val(self) -> global___StringList: ... + @property + def int32_list_val(self) -> global___Int32List: ... + @property + def int64_list_val(self) -> global___Int64List: ... + @property + def double_list_val(self) -> global___DoubleList: ... + @property + def float_list_val(self) -> global___FloatList: ... + @property + def bool_list_val(self) -> global___BoolList: ... + @property + def unix_timestamp_list_val(self) -> global___Int64List: ... + null_val: global___Null.ValueType + @property + def map_val(self) -> global___Map: ... + @property + def map_list_val(self) -> global___MapList: ... + @property + def bytes_set_val(self) -> global___BytesSet: ... + @property + def string_set_val(self) -> global___StringSet: ... + @property + def int32_set_val(self) -> global___Int32Set: ... + @property + def int64_set_val(self) -> global___Int64Set: ... + @property + def double_set_val(self) -> global___DoubleSet: ... + @property + def float_set_val(self) -> global___FloatSet: ... + @property + def bool_set_val(self) -> global___BoolSet: ... + @property + def unix_timestamp_set_val(self) -> global___Int64Set: ... + json_val: builtins.str + @property + def json_list_val(self) -> global___StringList: ... + @property + def struct_val(self) -> global___Map: ... + @property + def struct_list_val(self) -> global___MapList: ... def __init__( self, *, - bytes_val: _builtins.bytes = ..., - string_val: _builtins.str = ..., - int32_val: _builtins.int = ..., - int64_val: _builtins.int = ..., - double_val: _builtins.float = ..., - float_val: _builtins.float = ..., - bool_val: _builtins.bool = ..., - unix_timestamp_val: _builtins.int = ..., - bytes_list_val: Global___BytesList | None = ..., - string_list_val: Global___StringList | None = ..., - int32_list_val: Global___Int32List | None = ..., - int64_list_val: Global___Int64List | None = ..., - double_list_val: Global___DoubleList | None = ..., - float_list_val: Global___FloatList | None = ..., - bool_list_val: Global___BoolList | None = ..., - unix_timestamp_list_val: Global___Int64List | None = ..., - null_val: Global___Null.ValueType = ..., - map_val: Global___Map | None = ..., - map_list_val: Global___MapList | None = ..., - bytes_set_val: Global___BytesSet | None = ..., - string_set_val: Global___StringSet | None = ..., - int32_set_val: Global___Int32Set | None = ..., - int64_set_val: Global___Int64Set | None = ..., - double_set_val: Global___DoubleSet | None = ..., - float_set_val: Global___FloatSet | None = ..., - bool_set_val: Global___BoolSet | None = ..., - unix_timestamp_set_val: Global___Int64Set | None = ..., - json_val: _builtins.str = ..., - json_list_val: Global___StringList | None = ..., - struct_val: Global___Map | None = ..., - struct_list_val: Global___MapList | None = ..., + bytes_val: builtins.bytes = ..., + string_val: builtins.str = ..., + int32_val: builtins.int = ..., + int64_val: builtins.int = ..., + double_val: builtins.float = ..., + float_val: builtins.float = ..., + bool_val: builtins.bool = ..., + unix_timestamp_val: builtins.int = ..., + bytes_list_val: global___BytesList | None = ..., + string_list_val: global___StringList | None = ..., + int32_list_val: global___Int32List | None = ..., + int64_list_val: global___Int64List | None = ..., + double_list_val: global___DoubleList | None = ..., + float_list_val: global___FloatList | None = ..., + bool_list_val: global___BoolList | None = ..., + unix_timestamp_list_val: global___Int64List | None = ..., + null_val: global___Null.ValueType = ..., + map_val: global___Map | None = ..., + map_list_val: global___MapList | None = ..., + bytes_set_val: global___BytesSet | None = ..., + string_set_val: global___StringSet | None = ..., + int32_set_val: global___Int32Set | None = ..., + int64_set_val: global___Int64Set | None = ..., + double_set_val: global___DoubleSet | None = ..., + float_set_val: global___FloatSet | None = ..., + bool_set_val: global___BoolSet | None = ..., + unix_timestamp_set_val: global___Int64Set | None = ..., + json_val: builtins.str = ..., + json_list_val: global___StringList | None = ..., + struct_val: global___Map | None = ..., + struct_list_val: global___MapList | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["bool_list_val", b"bool_list_val", "bool_set_val", b"bool_set_val", "bool_val", b"bool_val", "bytes_list_val", b"bytes_list_val", "bytes_set_val", b"bytes_set_val", "bytes_val", b"bytes_val", "double_list_val", b"double_list_val", "double_set_val", b"double_set_val", "double_val", b"double_val", "float_list_val", b"float_list_val", "float_set_val", b"float_set_val", "float_val", b"float_val", "int32_list_val", b"int32_list_val", "int32_set_val", b"int32_set_val", "int32_val", b"int32_val", "int64_list_val", b"int64_list_val", "int64_set_val", b"int64_set_val", "int64_val", b"int64_val", "json_list_val", b"json_list_val", "json_val", b"json_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "string_list_val", b"string_list_val", "string_set_val", b"string_set_val", "string_val", b"string_val", "struct_list_val", b"struct_list_val", "struct_val", b"struct_val", "unix_timestamp_list_val", b"unix_timestamp_list_val", "unix_timestamp_set_val", b"unix_timestamp_set_val", "unix_timestamp_val", b"unix_timestamp_val", "val", b"val"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["bool_list_val", b"bool_list_val", "bool_set_val", b"bool_set_val", "bool_val", b"bool_val", "bytes_list_val", b"bytes_list_val", "bytes_set_val", b"bytes_set_val", "bytes_val", b"bytes_val", "double_list_val", b"double_list_val", "double_set_val", b"double_set_val", "double_val", b"double_val", "float_list_val", b"float_list_val", "float_set_val", b"float_set_val", "float_val", b"float_val", "int32_list_val", b"int32_list_val", "int32_set_val", b"int32_set_val", "int32_val", b"int32_val", "int64_list_val", b"int64_list_val", "int64_set_val", b"int64_set_val", "int64_val", b"int64_val", "json_list_val", b"json_list_val", "json_val", b"json_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "string_list_val", b"string_list_val", "string_set_val", b"string_set_val", "string_val", b"string_val", "struct_list_val", b"struct_list_val", "struct_val", b"struct_val", "unix_timestamp_list_val", b"unix_timestamp_list_val", "unix_timestamp_set_val", b"unix_timestamp_set_val", "unix_timestamp_val", b"unix_timestamp_val", "val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType_val: _TypeAlias = _typing.Literal["bytes_val", "string_val", "int32_val", "int64_val", "double_val", "float_val", "bool_val", "unix_timestamp_val", "bytes_list_val", "string_list_val", "int32_list_val", "int64_list_val", "double_list_val", "float_list_val", "bool_list_val", "unix_timestamp_list_val", "null_val", "map_val", "map_list_val", "bytes_set_val", "string_set_val", "int32_set_val", "int64_set_val", "double_set_val", "float_set_val", "bool_set_val", "unix_timestamp_set_val", "json_val", "json_list_val", "struct_val", "struct_list_val"] # noqa: Y015 - _WhichOneofArgType_val: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType_val) -> _WhichOneofReturnType_val | None: ... - -Global___Value: _TypeAlias = Value # noqa: Y015 - -@_typing.final -class BytesList(_message.Message): - DESCRIPTOR: _descriptor.Descriptor - - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.bytes]: ... + def HasField(self, field_name: typing_extensions.Literal["bool_list_val", b"bool_list_val", "bool_set_val", b"bool_set_val", "bool_val", b"bool_val", "bytes_list_val", b"bytes_list_val", "bytes_set_val", b"bytes_set_val", "bytes_val", b"bytes_val", "double_list_val", b"double_list_val", "double_set_val", b"double_set_val", "double_val", b"double_val", "float_list_val", b"float_list_val", "float_set_val", b"float_set_val", "float_val", b"float_val", "int32_list_val", b"int32_list_val", "int32_set_val", b"int32_set_val", "int32_val", b"int32_val", "int64_list_val", b"int64_list_val", "int64_set_val", b"int64_set_val", "int64_val", b"int64_val", "json_list_val", b"json_list_val", "json_val", b"json_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "string_list_val", b"string_list_val", "string_set_val", b"string_set_val", "string_val", b"string_val", "struct_list_val", b"struct_list_val", "struct_val", b"struct_val", "unix_timestamp_list_val", b"unix_timestamp_list_val", "unix_timestamp_set_val", b"unix_timestamp_set_val", "unix_timestamp_val", b"unix_timestamp_val", "val", b"val"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["bool_list_val", b"bool_list_val", "bool_set_val", b"bool_set_val", "bool_val", b"bool_val", "bytes_list_val", b"bytes_list_val", "bytes_set_val", b"bytes_set_val", "bytes_val", b"bytes_val", "double_list_val", b"double_list_val", "double_set_val", b"double_set_val", "double_val", b"double_val", "float_list_val", b"float_list_val", "float_set_val", b"float_set_val", "float_val", b"float_val", "int32_list_val", b"int32_list_val", "int32_set_val", b"int32_set_val", "int32_val", b"int32_val", "int64_list_val", b"int64_list_val", "int64_set_val", b"int64_set_val", "int64_val", b"int64_val", "json_list_val", b"json_list_val", "json_val", b"json_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "string_list_val", b"string_list_val", "string_set_val", b"string_set_val", "string_val", b"string_val", "struct_list_val", b"struct_list_val", "struct_val", b"struct_val", "unix_timestamp_list_val", b"unix_timestamp_list_val", "unix_timestamp_set_val", b"unix_timestamp_set_val", "unix_timestamp_val", b"unix_timestamp_val", "val", b"val"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["val", b"val"]) -> typing_extensions.Literal["bytes_val", "string_val", "int32_val", "int64_val", "double_val", "float_val", "bool_val", "unix_timestamp_val", "bytes_list_val", "string_list_val", "int32_list_val", "int64_list_val", "double_list_val", "float_list_val", "bool_list_val", "unix_timestamp_list_val", "null_val", "map_val", "map_list_val", "bytes_set_val", "string_set_val", "int32_set_val", "int64_set_val", "double_set_val", "float_set_val", "bool_set_val", "unix_timestamp_set_val", "json_val", "json_list_val", "struct_val", "struct_list_val"] | None: ... + +global___Value = Value + +class BytesList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.bytes] | None = ..., + val: collections.abc.Iterable[builtins.bytes] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___BytesList: _TypeAlias = BytesList # noqa: Y015 +global___BytesList = BytesList -@_typing.final -class StringList(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class StringList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.str] | None = ..., + val: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___StringList: _TypeAlias = StringList # noqa: Y015 +global___StringList = StringList -@_typing.final -class Int32List(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class Int32List(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.int] | None = ..., + val: collections.abc.Iterable[builtins.int] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___Int32List: _TypeAlias = Int32List # noqa: Y015 +global___Int32List = Int32List -@_typing.final -class Int64List(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class Int64List(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.int] | None = ..., + val: collections.abc.Iterable[builtins.int] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___Int64List: _TypeAlias = Int64List # noqa: Y015 +global___Int64List = Int64List -@_typing.final -class DoubleList(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class DoubleList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.float]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.float] | None = ..., + val: collections.abc.Iterable[builtins.float] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___DoubleList: _TypeAlias = DoubleList # noqa: Y015 +global___DoubleList = DoubleList -@_typing.final -class FloatList(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FloatList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.float]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.float] | None = ..., + val: collections.abc.Iterable[builtins.float] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___FloatList: _TypeAlias = FloatList # noqa: Y015 +global___FloatList = FloatList -@_typing.final -class BoolList(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class BoolList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.bool]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bool]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.bool] | None = ..., + val: collections.abc.Iterable[builtins.bool] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___BoolList: _TypeAlias = BoolList # noqa: Y015 +global___BoolList = BoolList -@_typing.final -class BytesSet(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class BytesSet(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.bytes]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.bytes] | None = ..., + val: collections.abc.Iterable[builtins.bytes] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___BytesSet: _TypeAlias = BytesSet # noqa: Y015 +global___BytesSet = BytesSet -@_typing.final -class StringSet(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class StringSet(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.str] | None = ..., + val: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___StringSet: _TypeAlias = StringSet # noqa: Y015 +global___StringSet = StringSet -@_typing.final -class Int32Set(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class Int32Set(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.int] | None = ..., + val: collections.abc.Iterable[builtins.int] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___Int32Set: _TypeAlias = Int32Set # noqa: Y015 +global___Int32Set = Int32Set -@_typing.final -class Int64Set(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class Int64Set(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.int] | None = ..., + val: collections.abc.Iterable[builtins.int] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___Int64Set: _TypeAlias = Int64Set # noqa: Y015 +global___Int64Set = Int64Set -@_typing.final -class DoubleSet(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class DoubleSet(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.float]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.float] | None = ..., + val: collections.abc.Iterable[builtins.float] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___DoubleSet: _TypeAlias = DoubleSet # noqa: Y015 +global___DoubleSet = DoubleSet -@_typing.final -class FloatSet(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FloatSet(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.float]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.float] | None = ..., + val: collections.abc.Iterable[builtins.float] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___FloatSet: _TypeAlias = FloatSet # noqa: Y015 +global___FloatSet = FloatSet -@_typing.final -class BoolSet(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class BoolSet(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedScalarFieldContainer[_builtins.bool]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bool]: ... def __init__( self, *, - val: _abc.Iterable[_builtins.bool] | None = ..., + val: collections.abc.Iterable[builtins.bool] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___BoolSet: _TypeAlias = BoolSet # noqa: Y015 +global___BoolSet = BoolSet -@_typing.final -class Map(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class Map(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - @_typing.final - class ValEntry(_message.Message): - DESCRIPTOR: _descriptor.Descriptor + class ValEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - KEY_FIELD_NUMBER: _builtins.int - VALUE_FIELD_NUMBER: _builtins.int - key: _builtins.str - @_builtins.property - def value(self) -> Global___Value: ... + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + @property + def value(self) -> global___Value: ... def __init__( self, *, - key: _builtins.str = ..., - value: Global___Value | None = ..., + key: builtins.str = ..., + value: global___Value | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.MessageMap[_builtins.str, Global___Value]: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Value]: ... def __init__( self, *, - val: _abc.Mapping[_builtins.str, Global___Value] | None = ..., + val: collections.abc.Mapping[builtins.str, global___Value] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___Map: _TypeAlias = Map # noqa: Y015 +global___Map = Map -@_typing.final -class MapList(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class MapList(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedCompositeFieldContainer[Global___Map]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Map]: ... def __init__( self, *, - val: _abc.Iterable[Global___Map] | None = ..., + val: collections.abc.Iterable[global___Map] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___MapList: _TypeAlias = MapList # noqa: Y015 +global___MapList = MapList -@_typing.final -class RepeatedValue(_message.Message): +class RepeatedValue(google.protobuf.message.Message): """This is to avoid an issue of being unable to specify `repeated value` in oneofs or maps In JSON "val" field can be omitted """ - DESCRIPTOR: _descriptor.Descriptor + DESCRIPTOR: google.protobuf.descriptor.Descriptor - VAL_FIELD_NUMBER: _builtins.int - @_builtins.property - def val(self) -> _containers.RepeatedCompositeFieldContainer[Global___Value]: ... + VAL_FIELD_NUMBER: builtins.int + @property + def val(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Value]: ... def __init__( self, *, - val: _abc.Iterable[Global___Value] | None = ..., + val: collections.abc.Iterable[global___Value] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["val", b"val"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["val", b"val"]) -> None: ... -Global___RepeatedValue: _TypeAlias = RepeatedValue # noqa: Y015 +global___RepeatedValue = RepeatedValue 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 f7b657986f..2daafffebf 100644 --- a/sdk/python/feast/protos/feast/types/Value_pb2_grpc.py +++ b/sdk/python/feast/protos/feast/types/Value_pb2_grpc.py @@ -1,24 +1,4 @@ # 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.78.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + ' 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}.' - ) From d093bc62e6da71d62cc5aec0052c9e6440504688 Mon Sep 17 00:00:00 2001 From: Nick Quinn Date: Mon, 16 Mar 2026 12:45:44 -0700 Subject: [PATCH 5/8] fix: Fix GrpcServer_pb2 typed_features stub and import paths Signed-off-by: Nick Quinn --- sdk/python/feast/infra/contrib/grpc_server.py | 3 +- .../protos/feast/serving/GrpcServer_pb2.py | 39 +++++++++------ .../protos/feast/serving/GrpcServer_pb2.pyi | 47 ++++++++++++++++++- .../unit/test_grpc_server_write_protos.py | 28 +++++++---- 4 files changed, 91 insertions(+), 26 deletions(-) diff --git a/sdk/python/feast/infra/contrib/grpc_server.py b/sdk/python/feast/infra/contrib/grpc_server.py index 4df9b95631..f9844c19ee 100644 --- a/sdk/python/feast/infra/contrib/grpc_server.py +++ b/sdk/python/feast/infra/contrib/grpc_server.py @@ -5,7 +5,6 @@ import grpc import pandas as pd -from grpc_health.v1 import health, health_pb2_grpc from feast.data_source import PushMode from feast.errors import FeatureServiceNotFoundException, PushSourceNotFoundException @@ -156,6 +155,8 @@ def get_grpc_server( max_workers: int, registry_ttl_sec: int, ): + from grpc_health.v1 import health, health_pb2_grpc + logger.info(f"Initializing gRPC server on {address}") server = grpc.server(futures.ThreadPoolExecutor(max_workers=max_workers)) add_GrpcFeatureServerServicer_to_server( diff --git a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py index dcf9156318..586938289a 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.py @@ -13,9 +13,10 @@ from feast.protos.feast.serving import ServingService_pb2 as feast_dot_serving_dot_ServingService__pb2 +from feast.protos.feast.types import Value_pb2 as feast_dot_types_dot_Value__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x66\x65\x61st/serving/GrpcServer.proto\x1a\"feast/serving/ServingService.proto\"\xb3\x01\n\x0bPushRequest\x12,\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x1a.PushRequest.FeaturesEntry\x12\x1b\n\x13stream_feature_view\x18\x02 \x01(\t\x12\x1c\n\x14\x61llow_registry_cache\x18\x03 \x01(\x08\x12\n\n\x02to\x18\x04 \x01(\t\x1a/\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1e\n\x0cPushResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\"\xc1\x01\n\x19WriteToOnlineStoreRequest\x12:\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32(.WriteToOnlineStoreRequest.FeaturesEntry\x12\x19\n\x11\x66\x65\x61ture_view_name\x18\x02 \x01(\t\x12\x1c\n\x14\x61llow_registry_cache\x18\x03 \x01(\x08\x1a/\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\",\n\x1aWriteToOnlineStoreResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\x32\xf1\x01\n\x11GrpcFeatureServer\x12%\n\x04Push\x12\x0c.PushRequest\x1a\r.PushResponse\"\x00\x12M\n\x12WriteToOnlineStore\x12\x1a.WriteToOnlineStoreRequest\x1a\x1b.WriteToOnlineStoreResponse\x12\x66\n\x11GetOnlineFeatures\x12\'.feast.serving.GetOnlineFeaturesRequest\x1a(.feast.serving.GetOnlineFeaturesResponseB]\n\x13\x66\x65\x61st.proto.servingB\x12GrpcServerAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/servingb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x66\x65\x61st/serving/GrpcServer.proto\x1a\"feast/serving/ServingService.proto\x1a\x17\x66\x65\x61st/types/Value.proto\"\xb6\x02\n\x0bPushRequest\x12,\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x1a.PushRequest.FeaturesEntry\x12\x1b\n\x13stream_feature_view\x18\x02 \x01(\t\x12\x1c\n\x14\x61llow_registry_cache\x18\x03 \x01(\x08\x12\n\n\x02to\x18\x04 \x01(\t\x12\x37\n\x0etyped_features\x18\x05 \x03(\x0b\x32\x1f.PushRequest.TypedFeaturesEntry\x1a/\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aH\n\x12TypedFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.feast.types.Value:\x02\x38\x01\"\x1e\n\x0cPushResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\"\xd2\x02\n\x19WriteToOnlineStoreRequest\x12:\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32(.WriteToOnlineStoreRequest.FeaturesEntry\x12\x19\n\x11\x66\x65\x61ture_view_name\x18\x02 \x01(\t\x12\x1c\n\x14\x61llow_registry_cache\x18\x03 \x01(\x08\x12\x45\n\x0etyped_features\x18\x04 \x03(\x0b\x32-.WriteToOnlineStoreRequest.TypedFeaturesEntry\x1a/\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aH\n\x12TypedFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.feast.types.Value:\x02\x38\x01\",\n\x1aWriteToOnlineStoreResponse\x12\x0e\n\x06status\x18\x01 \x01(\x08\x32\xf1\x01\n\x11GrpcFeatureServer\x12%\n\x04Push\x12\x0c.PushRequest\x1a\r.PushResponse\"\x00\x12M\n\x12WriteToOnlineStore\x12\x1a.WriteToOnlineStoreRequest\x1a\x1b.WriteToOnlineStoreResponse\x12\x66\n\x11GetOnlineFeatures\x12\'.feast.serving.GetOnlineFeaturesRequest\x1a(.feast.serving.GetOnlineFeaturesResponseB]\n\x13\x66\x65\x61st.proto.servingB\x12GrpcServerAPIProtoZ2github.com/feast-dev/feast/go/protos/feast/servingb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,20 +26,28 @@ _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']._serialized_options = b'8\001' + _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._options = None + _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._serialized_options = b'8\001' _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._options = None _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_options = b'8\001' - _globals['_PUSHREQUEST']._serialized_start=71 - _globals['_PUSHREQUEST']._serialized_end=250 - _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_start=203 - _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_end=250 - _globals['_PUSHRESPONSE']._serialized_start=252 - _globals['_PUSHRESPONSE']._serialized_end=282 - _globals['_WRITETOONLINESTOREREQUEST']._serialized_start=285 - _globals['_WRITETOONLINESTOREREQUEST']._serialized_end=478 - _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_start=203 - _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_end=250 - _globals['_WRITETOONLINESTORERESPONSE']._serialized_start=480 - _globals['_WRITETOONLINESTORERESPONSE']._serialized_end=524 - _globals['_GRPCFEATURESERVER']._serialized_start=527 - _globals['_GRPCFEATURESERVER']._serialized_end=768 + _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._options = None + _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._serialized_options = b'8\001' + _globals['_PUSHREQUEST']._serialized_start=96 + _globals['_PUSHREQUEST']._serialized_end=406 + _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_start=285 + _globals['_PUSHREQUEST_FEATURESENTRY']._serialized_end=332 + _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._serialized_start=334 + _globals['_PUSHREQUEST_TYPEDFEATURESENTRY']._serialized_end=406 + _globals['_PUSHRESPONSE']._serialized_start=408 + _globals['_PUSHRESPONSE']._serialized_end=438 + _globals['_WRITETOONLINESTOREREQUEST']._serialized_start=441 + _globals['_WRITETOONLINESTOREREQUEST']._serialized_end=779 + _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_start=285 + _globals['_WRITETOONLINESTOREREQUEST_FEATURESENTRY']._serialized_end=332 + _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._serialized_start=334 + _globals['_WRITETOONLINESTOREREQUEST_TYPEDFEATURESENTRY']._serialized_end=406 + _globals['_WRITETOONLINESTORERESPONSE']._serialized_start=781 + _globals['_WRITETOONLINESTORERESPONSE']._serialized_end=825 + _globals['_GRPCFEATURESERVER']._serialized_start=828 + _globals['_GRPCFEATURESERVER']._serialized_end=1069 # @@protoc_insertion_point(module_scope) diff --git a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi index 54964f46e5..9c1f6a0d49 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi @@ -4,6 +4,7 @@ isort:skip_file """ import builtins import collections.abc +import feast.protos.feast.types.Value_pb2 import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message @@ -34,15 +35,35 @@ class PushRequest(google.protobuf.message.Message): ) -> None: ... def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + class TypedFeaturesEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + @property + def value(self) -> feast.protos.feast.types.Value_pb2.Value: ... + def __init__( + self, + *, + key: builtins.str = ..., + value: feast.protos.feast.types.Value_pb2.Value | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + FEATURES_FIELD_NUMBER: builtins.int STREAM_FEATURE_VIEW_FIELD_NUMBER: builtins.int ALLOW_REGISTRY_CACHE_FIELD_NUMBER: builtins.int TO_FIELD_NUMBER: builtins.int + TYPED_FEATURES_FIELD_NUMBER: builtins.int @property def features(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... stream_feature_view: builtins.str allow_registry_cache: builtins.bool to: builtins.str + @property + def typed_features(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, feast.protos.feast.types.Value_pb2.Value]: ... def __init__( self, *, @@ -50,8 +71,9 @@ class PushRequest(google.protobuf.message.Message): stream_feature_view: builtins.str = ..., allow_registry_cache: builtins.bool = ..., to: builtins.str = ..., + typed_features: collections.abc.Mapping[builtins.str, feast.protos.feast.types.Value_pb2.Value] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_registry_cache", b"allow_registry_cache", "features", b"features", "stream_feature_view", b"stream_feature_view", "to", b"to"]) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_registry_cache", b"allow_registry_cache", "features", b"features", "stream_feature_view", b"stream_feature_view", "to", b"to", "typed_features", b"typed_features"]) -> None: ... global___PushRequest = PushRequest @@ -87,21 +109,42 @@ class WriteToOnlineStoreRequest(google.protobuf.message.Message): ) -> None: ... def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + class TypedFeaturesEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + @property + def value(self) -> feast.protos.feast.types.Value_pb2.Value: ... + def __init__( + self, + *, + key: builtins.str = ..., + value: feast.protos.feast.types.Value_pb2.Value | None = ..., + ) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... + FEATURES_FIELD_NUMBER: builtins.int FEATURE_VIEW_NAME_FIELD_NUMBER: builtins.int ALLOW_REGISTRY_CACHE_FIELD_NUMBER: builtins.int + TYPED_FEATURES_FIELD_NUMBER: builtins.int @property def features(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... feature_view_name: builtins.str allow_registry_cache: builtins.bool + @property + def typed_features(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, feast.protos.feast.types.Value_pb2.Value]: ... def __init__( self, *, features: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., feature_view_name: builtins.str = ..., allow_registry_cache: builtins.bool = ..., + typed_features: collections.abc.Mapping[builtins.str, feast.protos.feast.types.Value_pb2.Value] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["allow_registry_cache", b"allow_registry_cache", "feature_view_name", b"feature_view_name", "features", b"features"]) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["allow_registry_cache", b"allow_registry_cache", "feature_view_name", b"feature_view_name", "features", b"features", "typed_features", b"typed_features"]) -> None: ... global___WriteToOnlineStoreRequest = WriteToOnlineStoreRequest diff --git a/sdk/python/tests/unit/test_grpc_server_write_protos.py b/sdk/python/tests/unit/test_grpc_server_write_protos.py index bebb59029e..6de061437e 100644 --- a/sdk/python/tests/unit/test_grpc_server_write_protos.py +++ b/sdk/python/tests/unit/test_grpc_server_write_protos.py @@ -78,25 +78,37 @@ def test_write_to_online_store_request_typed_features(): def test_push_request_string_and_typed_features_are_independent(): """Setting features does not affect typed_features and vice versa.""" - r1 = PushRequest(features={"driver_id": "1001"}, stream_feature_view="s", to="online") - r2 = PushRequest(typed_features={"driver_id": Value(int64_val=1001)}, stream_feature_view="s", to="online") + r1 = PushRequest( + features={"driver_id": "1001"}, stream_feature_view="s", to="online" + ) + r2 = PushRequest( + typed_features={"driver_id": Value(int64_val=1001)}, + stream_feature_view="s", + to="online", + ) assert len(r1.typed_features) == 0 assert len(r2.features) == 0 def test_write_to_online_store_string_and_typed_features_are_independent(): - r1 = WriteToOnlineStoreRequest(features={"driver_id": "1001"}, feature_view_name="fv") - r2 = WriteToOnlineStoreRequest(typed_features={"driver_id": Value(int64_val=1001)}, feature_view_name="fv") + r1 = WriteToOnlineStoreRequest( + features={"driver_id": "1001"}, feature_view_name="fv" + ) + r2 = WriteToOnlineStoreRequest( + typed_features={"driver_id": Value(int64_val=1001)}, feature_view_name="fv" + ) assert len(r1.typed_features) == 0 assert len(r2.features) == 0 def test_parse_typed_null_val_becomes_none(): """Value(null_val=NULL) must produce None in the DataFrame, not the integer 0.""" - df = parse_typed({ - "present": Value(int64_val=42), - "missing": Value(null_val=Null.NULL), - }) + df = parse_typed( + { + "present": Value(int64_val=42), + "missing": Value(null_val=Null.NULL), + } + ) assert df["present"].iloc[0] == 42 assert df["missing"].iloc[0] is None From 74176e9175819b2c4a9e714cd056d7ace3e53945 Mon Sep 17 00:00:00 2001 From: Nick Quinn Date: Mon, 16 Mar 2026 13:50:40 -0700 Subject: [PATCH 6/8] style: Apply ruff line-length formatting to grpc_server.py Signed-off-by: Nick Quinn --- sdk/python/feast/infra/contrib/grpc_server.py | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/sdk/python/feast/infra/contrib/grpc_server.py b/sdk/python/feast/infra/contrib/grpc_server.py index f9844c19ee..deec04d3c6 100644 --- a/sdk/python/feast/infra/contrib/grpc_server.py +++ b/sdk/python/feast/infra/contrib/grpc_server.py @@ -37,7 +37,11 @@ def parse_typed(typed_features): df = {} for key, value in typed_features.items(): val_case = value.WhichOneof("val") - df[key] = [None if val_case is None or val_case == "null_val" else getattr(value, val_case)] + df[key] = [ + None + if val_case is None or val_case == "null_val" + else getattr(value, val_case) + ] return pd.DataFrame.from_dict(df) @@ -62,7 +66,11 @@ def Push(self, request, context): "Only one of features or typed_features may be set, not both" ) return PushResponse(status=False) - df = parse_typed(request.typed_features) if request.typed_features else parse(request.features) + df = ( + parse_typed(request.typed_features) + if request.typed_features + else parse(request.features) + ) if request.to == "offline": to = PushMode.OFFLINE elif request.to == "online": @@ -103,7 +111,11 @@ def WriteToOnlineStore(self, request, context): "Only one of features or typed_features may be set, not both" ) return WriteToOnlineStoreResponse(status=False) - df = parse_typed(request.typed_features) if request.typed_features else parse(request.features) + df = ( + parse_typed(request.typed_features) + if request.typed_features + else parse(request.features) + ) self.fs.write_to_online_store( feature_view_name=request.feature_view_name, df=df, From 9ba35ea636fa96b2dba90b38bd3842110b08103c Mon Sep 17 00:00:00 2001 From: Nick Quinn Date: Mon, 16 Mar 2026 14:24:23 -0700 Subject: [PATCH 7/8] Unwrap compound protobuf Value types in parse_typed Signed-off-by: Nick Quinn --- .gitignore | 3 ++ sdk/python/feast/infra/contrib/grpc_server.py | 13 +++--- .../unit/test_grpc_server_write_protos.py | 42 ++++++++++++++++++- 3 files changed, 52 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 99d435b6e9..c0fdd58d33 100644 --- a/.gitignore +++ b/.gitignore @@ -264,3 +264,6 @@ Desktop.ini # AgentReady reports .agentready/ + +# Claude Code project settings +.claude/ diff --git a/sdk/python/feast/infra/contrib/grpc_server.py b/sdk/python/feast/infra/contrib/grpc_server.py index deec04d3c6..4c04205122 100644 --- a/sdk/python/feast/infra/contrib/grpc_server.py +++ b/sdk/python/feast/infra/contrib/grpc_server.py @@ -1,5 +1,6 @@ import logging import threading +from collections.abc import Mapping from concurrent import futures from typing import Optional, Union @@ -37,11 +38,13 @@ def parse_typed(typed_features): df = {} for key, value in typed_features.items(): val_case = value.WhichOneof("val") - df[key] = [ - None - if val_case is None or val_case == "null_val" - else getattr(value, val_case) - ] + if val_case is None or val_case == "null_val": + df[key] = [None] + else: + raw = getattr(value, val_case) + if hasattr(raw, "val"): + raw = dict(raw.val) if isinstance(raw.val, Mapping) else list(raw.val) + df[key] = [raw] return pd.DataFrame.from_dict(df) diff --git a/sdk/python/tests/unit/test_grpc_server_write_protos.py b/sdk/python/tests/unit/test_grpc_server_write_protos.py index 6de061437e..31c3e5c84c 100644 --- a/sdk/python/tests/unit/test_grpc_server_write_protos.py +++ b/sdk/python/tests/unit/test_grpc_server_write_protos.py @@ -5,7 +5,13 @@ PushRequest, WriteToOnlineStoreRequest, ) -from feast.protos.feast.types.Value_pb2 import Null, Value +from feast.protos.feast.types.Value_pb2 import ( + Int64List, + Map, + Null, + StringSet, + Value, +) def test_push_request_string_features(): @@ -117,3 +123,37 @@ def test_parse_typed_unset_val_becomes_none(): """A Value with no oneof field set (WhichOneof returns None) must also produce None.""" df = parse_typed({"empty": Value()}) assert df["empty"].iloc[0] is None + + +def test_parse_typed_list_val_unwrapped_to_python_list(): + """Compound list values are unwrapped from their protobuf wrapper to a plain list.""" + df = parse_typed( + { + "ids": Value(int64_list_val=Int64List(val=[1, 2, 3])), + } + ) + assert df["ids"].iloc[0] == [1, 2, 3] + + +def test_parse_typed_set_val_unwrapped_to_python_list(): + """Compound set values are unwrapped from their protobuf wrapper to a plain list.""" + df = parse_typed( + { + "tags": Value(string_set_val=StringSet(val=["a", "b"])), + } + ) + assert sorted(df["tags"].iloc[0]) == ["a", "b"] + + +def test_parse_typed_map_val_unwrapped_to_python_dict(): + """Map values are unwrapped from their protobuf Map wrapper to a plain dict.""" + df = parse_typed( + { + "scores": Value( + map_val=Map(val={"x": Value(float_val=1.0), "y": Value(float_val=2.0)}) + ), + } + ) + result = df["scores"].iloc[0] + assert isinstance(result, dict) + assert set(result.keys()) == {"x", "y"} From 04d55a03eca8a4a1f3b9ace50d60570b4e51aca0 Mon Sep 17 00:00:00 2001 From: nquinn408 <57655411+nquinn408@users.noreply.github.com> Date: Mon, 16 Mar 2026 13:48:32 -0700 Subject: [PATCH 8/8] feat: Support distinct count aggregation [#6116] Signed-off-by: Nick Quinn --- sdk/python/feast/aggregation/__init__.py | 10 ++++- sdk/python/feast/aggregation/tiling/base.py | 6 +++ .../backends/polars_backend.py | 4 +- .../feast/infra/compute_engines/ray/nodes.py | 4 ++ .../infra/compute_engines/spark/nodes.py | 7 +++- sdk/python/tests/unit/test_aggregation_ops.py | 39 +++++++++++++++++++ 6 files changed, 65 insertions(+), 5 deletions(-) diff --git a/sdk/python/feast/aggregation/__init__.py b/sdk/python/feast/aggregation/__init__.py index 8edb51bb76..464e49edd9 100644 --- a/sdk/python/feast/aggregation/__init__.py +++ b/sdk/python/feast/aggregation/__init__.py @@ -18,7 +18,7 @@ class Aggregation: Attributes: column: str # Column name of the feature we are aggregating. - function: str # Provided built in aggregations sum, max, min, count mean + function: str # Provided built in aggregations sum, max, min, count, mean, count_distinct time_window: timedelta # The time window for this aggregation. slide_interval: timedelta # The sliding window for these aggregations name: str # Optional override for the output feature name (defaults to {function}_{column}) @@ -118,6 +118,11 @@ def resolved_name(self, time_window: Optional[timedelta] = None) -> str: return base +_FUNCTION_ALIASES: Dict[str, str] = { + "count_distinct": "nunique", +} + + def aggregation_specs_to_agg_ops( agg_specs: Iterable[Any], *, @@ -128,7 +133,8 @@ def aggregation_specs_to_agg_ops( if getattr(agg, "time_window", None) is not None: raise ValueError(time_window_unsupported_error_message) alias = getattr(agg, "name", None) or f"{agg.function}_{agg.column}" - agg_ops[alias] = (agg.function, agg.column) + func_name = _FUNCTION_ALIASES.get(agg.function, agg.function) + agg_ops[alias] = (func_name, agg.column) return agg_ops diff --git a/sdk/python/feast/aggregation/tiling/base.py b/sdk/python/feast/aggregation/tiling/base.py index c5ff765a0a..8a4bbacf3c 100644 --- a/sdk/python/feast/aggregation/tiling/base.py +++ b/sdk/python/feast/aggregation/tiling/base.py @@ -86,6 +86,12 @@ def get_ir_metadata_for_aggregation( ), ) + elif agg_type == "count_distinct": + raise ValueError( + "count_distinct does not support tiling. " + "Use enable_tiling=False or choose an algebraic aggregation (sum, count, min, max)." + ) + else: # Unknown aggregation: treat as algebraic return ([], IRMetadata(type="algebraic")) diff --git a/sdk/python/feast/infra/compute_engines/backends/polars_backend.py b/sdk/python/feast/infra/compute_engines/backends/polars_backend.py index 92e348c365..118b0b8eab 100644 --- a/sdk/python/feast/infra/compute_engines/backends/polars_backend.py +++ b/sdk/python/feast/infra/compute_engines/backends/polars_backend.py @@ -7,6 +7,8 @@ class PolarsBackend(DataFrameBackend): + _POLARS_FUNC_MAP = {"nunique": "n_unique"} + def columns(self, df: pl.DataFrame) -> list[str]: return df.columns @@ -21,7 +23,7 @@ def join(self, left: pl.DataFrame, right: pl.DataFrame, on, how) -> pl.DataFrame def groupby_agg(self, df: pl.DataFrame, group_keys, agg_ops) -> pl.DataFrame: agg_exprs = [ - getattr(pl.col(col), func)().alias(alias) + getattr(pl.col(col), self._POLARS_FUNC_MAP.get(func, func))().alias(alias) for alias, (func, col) in agg_ops.items() ] return df.groupby(group_keys).agg(agg_exprs) diff --git a/sdk/python/feast/infra/compute_engines/ray/nodes.py b/sdk/python/feast/infra/compute_engines/ray/nodes.py index c4eaa54d26..5b16f3edd0 100644 --- a/sdk/python/feast/infra/compute_engines/ray/nodes.py +++ b/sdk/python/feast/infra/compute_engines/ray/nodes.py @@ -477,6 +477,8 @@ def _execute_standard_aggregation(self, dataset: Dataset) -> DAGValue: agg_dict[feature_name] = (agg.column, "std") elif agg.function == "var": agg_dict[feature_name] = (agg.column, "var") + elif agg.function == "count_distinct": + agg_dict[feature_name] = (agg.column, "nunique") else: raise ValueError(f"Unknown aggregation function: {agg.function}.") @@ -531,6 +533,8 @@ def _fallback_pandas_aggregation(self, dataset: Dataset, agg_dict: dict) -> Data result = grouped[column].std() elif function == "var": result = grouped[column].var() + elif function == "nunique": + result = grouped[column].nunique() else: raise ValueError(f"Unknown aggregation function: {function}.") diff --git a/sdk/python/feast/infra/compute_engines/spark/nodes.py b/sdk/python/feast/infra/compute_engines/spark/nodes.py index d44764e7b9..5a8c4368fc 100644 --- a/sdk/python/feast/infra/compute_engines/spark/nodes.py +++ b/sdk/python/feast/infra/compute_engines/spark/nodes.py @@ -371,8 +371,11 @@ def _execute_standard_aggregation(self, input_df: DataFrame) -> DAGValue: """Execute standard Spark aggregation (existing logic).""" agg_exprs = [] for agg in self.aggregations: - func = getattr(F, agg.function) - expr = func(agg.column).alias(agg.resolved_name(agg.time_window)) + if agg.function == "count_distinct": + func_expr = F.countDistinct(agg.column) + else: + func_expr = getattr(F, agg.function)(agg.column) + expr = func_expr.alias(agg.resolved_name(agg.time_window)) agg_exprs.append(expr) if any(agg.time_window for agg in self.aggregations): diff --git a/sdk/python/tests/unit/test_aggregation_ops.py b/sdk/python/tests/unit/test_aggregation_ops.py index 9a22da0ece..fd4f147f5d 100644 --- a/sdk/python/tests/unit/test_aggregation_ops.py +++ b/sdk/python/tests/unit/test_aggregation_ops.py @@ -1,8 +1,10 @@ from datetime import timedelta +import pandas as pd import pytest from feast.aggregation import Aggregation, aggregation_specs_to_agg_ops +from feast.aggregation.tiling.base import get_ir_metadata_for_aggregation class DummyAggregation: @@ -96,3 +98,40 @@ def test_aggregation_round_trip_with_name(): restored = Aggregation.from_proto(proto) assert restored.name == "sum_seconds_watched_per_ad_1d" assert restored == agg + + +def test_count_distinct_agg_ops(): + """aggregation_specs_to_agg_ops maps count_distinct to the nunique pandas function.""" + agg_specs = [DummyAggregation(function="count_distinct", column="item_id")] + + agg_ops = aggregation_specs_to_agg_ops( + agg_specs, + time_window_unsupported_error_message="no windows", + ) + + assert agg_ops == {"count_distinct_item_id": ("nunique", "item_id")} + + +def test_count_distinct_result(): + """count_distinct via nunique returns the number of unique values per group.""" + from feast.infra.compute_engines.backends.pandas_backend import PandasBackend + + agg_specs = [DummyAggregation(function="count_distinct", column="item_id")] + agg_ops = aggregation_specs_to_agg_ops( + agg_specs, + time_window_unsupported_error_message="no windows", + ) + + df = pd.DataFrame({"user": ["A", "A", "B"], "item_id": [1, 2, 1]}) + result = PandasBackend().groupby_agg(df, ["user"], agg_ops) + result = result.set_index("user") + + assert result.loc["A", "count_distinct_item_id"] == 2 + assert result.loc["B", "count_distinct_item_id"] == 1 + + +def test_count_distinct_tiling_raises(): + """get_ir_metadata_for_aggregation raises ValueError for count_distinct.""" + agg = Aggregation(column="item_id", function="count_distinct") + with pytest.raises(ValueError, match="count_distinct does not support tiling"): + get_ir_metadata_for_aggregation(agg, "count_distinct_item_id")