From 90cd1013fa3d32ce6634d09b1678114f4f382873 Mon Sep 17 00:00:00 2001 From: Nick Quinn Date: Sat, 4 Apr 2026 17:31:02 -0700 Subject: [PATCH 1/3] feat: Add decimal to supported feature types #6029 Signed-off-by: Nick Quinn --- docs/reference/type-system.md | 49 +- protos/feast/types/Value.proto | 6 + .../protos/feast/core/Aggregation_pb2.pyi | 65 +- .../protos/feast/core/DataFormat_pb2.pyi | 354 ++- .../protos/feast/core/DataSource_pb2.pyi | 711 +++-- .../protos/feast/core/DatastoreTable_pb2.pyi | 70 +- .../feast/protos/feast/core/Entity_pb2.pyi | 181 +- .../protos/feast/core/FeatureService_pb2.pyi | 444 +-- .../protos/feast/core/FeatureTable_pb2.pyi | 213 +- .../feast/core/FeatureViewProjection_pb2.pyi | 135 +- .../feast/core/FeatureViewVersion_pb2.pyi | 103 +- .../protos/feast/core/FeatureView_pb2.pyi | 351 +- .../feast/protos/feast/core/Feature_pb2.pyi | 99 +- .../protos/feast/core/InfraObject_pb2.pyi | 104 +- .../feast/core/OnDemandFeatureView_pb2.pyi | 396 +-- .../protos/feast/core/Permission_pb2.pyi | 225 +- .../feast/protos/feast/core/Policy_pb2.pyi | 172 +- .../feast/protos/feast/core/Project_pb2.pyi | 143 +- .../feast/protos/feast/core/Registry_pb2.pyi | 224 +- .../protos/feast/core/SavedDataset_pb2.pyi | 299 +- .../protos/feast/core/SqliteTable_pb2.pyi | 38 +- .../feast/protos/feast/core/Store_pb2.pyi | 223 +- .../feast/core/StreamFeatureView_pb2.pyi | 280 +- .../protos/feast/core/Transformation_pb2.pyi | 105 +- .../feast/core/ValidationProfile_pb2.pyi | 170 +- .../feast/registry/RegistryServer_pb2.pyi | 2812 +++++++++-------- .../protos/feast/serving/Connector_pb2.pyi | 133 +- .../protos/feast/serving/GrpcServer_pb2.pyi | 238 +- .../feast/serving/ServingService_pb2.pyi | 448 +-- .../serving/TransformationService_pb2.pyi | 145 +- .../feast/protos/feast/storage/Redis_pb2.pyi | 60 +- .../protos/feast/types/EntityKey_pb2.pyi | 48 +- .../feast/protos/feast/types/Field_pb2.pyi | 81 +- .../feast/protos/feast/types/Value_pb2.py | 86 +- .../feast/protos/feast/types/Value_pb2.pyi | 711 +++-- sdk/python/feast/type_map.py | 53 + sdk/python/feast/types.py | 9 + sdk/python/feast/value_type.py | 3 + sdk/python/tests/unit/test_type_map.py | 131 + sdk/python/tests/unit/test_types.py | 18 + 40 files changed, 5626 insertions(+), 4510 deletions(-) diff --git a/docs/reference/type-system.md b/docs/reference/type-system.md index eb39b5e7948..6353d41d90c 100644 --- a/docs/reference/type-system.md +++ b/docs/reference/type-system.md @@ -26,6 +26,7 @@ Feast supports the following data types: | `UnixTimestamp` | `datetime` | Unix timestamp (nullable) | | `Uuid` | `uuid.UUID` | UUID (any version) | | `TimeUuid` | `uuid.UUID` | Time-based UUID (version 1) | +| `Decimal` | `decimal.Decimal` | Arbitrary-precision decimal number | ### Domain-Specific Primitive Types @@ -56,6 +57,7 @@ All primitive types have corresponding array (list) types: | `Array(UnixTimestamp)` | `List[datetime]` | List of timestamps | | `Array(Uuid)` | `List[uuid.UUID]` | List of UUIDs | | `Array(TimeUuid)` | `List[uuid.UUID]` | List of time-based UUIDs | +| `Array(Decimal)` | `List[decimal.Decimal]` | List of arbitrary-precision decimals | ### Set Types @@ -73,6 +75,7 @@ All primitive types (except `Map` and `Json`) have corresponding set types for s | `Set(UnixTimestamp)` | `Set[datetime]` | Set of unique timestamps | | `Set(Uuid)` | `Set[uuid.UUID]` | Set of unique UUIDs | | `Set(TimeUuid)` | `Set[uuid.UUID]` | Set of unique time-based UUIDs | +| `Set(Decimal)` | `Set[decimal.Decimal]` | Set of unique arbitrary-precision decimals | **Note:** Set types automatically remove duplicate values. When converting from lists or other iterables to sets, duplicates are eliminated. @@ -194,7 +197,7 @@ from datetime import timedelta from feast import Entity, FeatureView, Field, FileSource from feast.types import ( Int32, Int64, Float32, Float64, String, Bytes, Bool, UnixTimestamp, - Uuid, TimeUuid, Array, Set, Map, Json, Struct + Uuid, TimeUuid, Decimal, Array, Set, Map, Json, Struct ) # Define a data source @@ -226,6 +229,7 @@ user_features = FeatureView( Field(name="last_login", dtype=UnixTimestamp), Field(name="session_id", dtype=Uuid), Field(name="event_id", dtype=TimeUuid), + Field(name="price", dtype=Decimal), # Array types Field(name="daily_steps", dtype=Array(Int32)), @@ -238,6 +242,7 @@ user_features = FeatureView( Field(name="login_timestamps", dtype=Array(UnixTimestamp)), Field(name="related_session_ids", dtype=Array(Uuid)), Field(name="event_chain", dtype=Array(TimeUuid)), + Field(name="historical_prices", dtype=Array(Decimal)), # Set types (unique values only — see backend caveats above) Field(name="visited_pages", dtype=Set(String)), @@ -246,6 +251,7 @@ user_features = FeatureView( Field(name="preferred_languages", dtype=Set(String)), Field(name="unique_device_ids", dtype=Set(Uuid)), Field(name="unique_event_ids", dtype=Set(TimeUuid)), + Field(name="unique_prices", dtype=Set(Decimal)), # Map types Field(name="user_preferences", dtype=Map), @@ -313,9 +319,44 @@ related_sessions = [uuid.uuid4(), uuid.uuid4(), uuid.uuid4()] unique_devices = {uuid.uuid4(), uuid.uuid4()} ``` -### Nested Collection Type Usage Examples +### Decimal Type Usage Examples + +The `Decimal` type stores arbitrary-precision decimal numbers using Python's `decimal.Decimal`. +Values are stored as strings in the proto to preserve full precision — no floating-point rounding occurs. + +```python +import decimal + +# Scalar decimal — e.g., a financial price +price = decimal.Decimal("19.99") + +# High-precision value — all digits preserved +tax_rate = decimal.Decimal("0.08750000000000000000") + +# Decimal values are returned as decimal.Decimal objects from get_online_features() +response = store.get_online_features( + features=["product_features:price"], + entity_rows=[{"product_id": 42}], +) +result = response.to_dict() +# result["price"][0] is a decimal.Decimal object + +# Decimal lists — e.g., a history of prices +historical_prices = [ + decimal.Decimal("18.50"), + decimal.Decimal("19.00"), + decimal.Decimal("19.99"), +] + +# Decimal sets — unique price points seen +unique_prices = {decimal.Decimal("9.99"), decimal.Decimal("19.99"), decimal.Decimal("29.99")} +``` -Nested collections allow storing multi-dimensional data with unlimited depth: +{% hint style="warning" %} +`Decimal` is **not** inferred from any backend schema. You must declare it explicitly in your feature view schema. The pandas dtype for `Decimal` columns is `object` (holding `decimal.Decimal` instances), not a numeric dtype. +{% endhint %} + +### Nested Collection Type Usage Examples ```python # List of lists — e.g., weekly score history per user @@ -420,7 +461,7 @@ Each of these columns must be associated with a Feast type, which requires conve * `source_datatype_to_feast_value_type` calls the appropriate method in `type_map.py`. For example, if a `SnowflakeSource` is being examined, `snowflake_python_type_to_feast_value_type` from `type_map.py` will be called. {% hint style="info" %} -**Types that cannot be inferred:** `Set`, `Json`, `Struct`, `PdfBytes`, and `ImageBytes` types are never inferred from backend schemas. If you use these types, you must declare them explicitly in your feature view schema. +**Types that cannot be inferred:** `Set`, `Json`, `Struct`, `Decimal`, `PdfBytes`, and `ImageBytes` types are never inferred from backend schemas. If you use these types, you must declare them explicitly in your feature view schema. {% endhint %} ### Materialization diff --git a/protos/feast/types/Value.proto b/protos/feast/types/Value.proto index 4194c19bac5..6c8082a43b9 100644 --- a/protos/feast/types/Value.proto +++ b/protos/feast/types/Value.proto @@ -65,6 +65,9 @@ message ValueType { TIME_UUID_SET = 41; VALUE_LIST = 42; VALUE_SET = 43; + DECIMAL = 44; + DECIMAL_LIST = 45; + DECIMAL_SET = 46; } } @@ -112,6 +115,9 @@ message Value { StringSet time_uuid_set_val = 41; RepeatedValue list_val = 42; RepeatedValue set_val = 43; + string decimal_val = 44; + StringList decimal_list_val = 45; + StringSet decimal_set_val = 46; } } diff --git a/sdk/python/feast/protos/feast/core/Aggregation_pb2.pyi b/sdk/python/feast/protos/feast/core/Aggregation_pb2.pyi index 4c6bd7c089c..4b5c1cac9a9 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 - @property - def time_window(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def slide_interval(self) -> google.protobuf.duration_pb2.Duration: ... - name: builtins.str + 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/DataFormat_pb2.pyi b/sdk/python/feast/protos/feast/core/DataFormat_pb2.pyi index 193fb82a776..fa5291fac26 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/DataSource_pb2.pyi b/sdk/python/feast/protos/feast/core/DataSource_pb2.pyi index 7876e1adc98..7244ad5cfec 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/DatastoreTable_pb2.pyi b/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.pyi index 6339a97536e..f9a451e8560 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/Entity_pb2.pyi b/sdk/python/feast/protos/feast/core/Entity_pb2.pyi index 025817edfee..c68f34c6af1 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/FeatureService_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi index 6d5879e52cb..125c198db48 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/FeatureTable_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureTable_pb2.pyi index dd41c2d214a..c6ff726e507 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/FeatureViewProjection_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi index 6fd1010f2e4..b5b8c976400 100644 --- a/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi @@ -2,91 +2,104 @@ @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 - VERSION_TAG_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 + VERSION_TAG_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 + version_tag: _builtins.int + """Optional version tag for version-qualified feature references (e.g., @v2).""" + @_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.""" - version_tag: builtins.int - """Optional version tag for version-qualified feature references (e.g., @v2).""" + 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 = ..., - version_tag: builtins.int | 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 = ..., + version_tag: _builtins.int | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["_version_tag", b"_version_tag", "batch_source", b"batch_source", "stream_source", b"stream_source", "version_tag", b"version_tag"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["_version_tag", b"_version_tag", "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", "version_tag", b"version_tag"]) -> None: ... - def WhichOneof(self, oneof_group: typing_extensions.Literal["_version_tag", b"_version_tag"]) -> typing_extensions.Literal["version_tag"] | None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["_version_tag", b"_version_tag", "batch_source", b"batch_source", "stream_source", b"stream_source", "version_tag", b"version_tag"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["_version_tag", b"_version_tag", "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", "version_tag", b"version_tag"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType__version_tag: _TypeAlias = _typing.Literal["version_tag"] # noqa: Y015 + _WhichOneofArgType__version_tag: _TypeAlias = _typing.Literal["_version_tag", b"_version_tag"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType__version_tag) -> _WhichOneofReturnType__version_tag | None: ... -global___FeatureViewProjection = FeatureViewProjection +Global___FeatureViewProjection: _TypeAlias = FeatureViewProjection # noqa: Y015 diff --git a/sdk/python/feast/protos/feast/core/FeatureViewVersion_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureViewVersion_pb2.pyi index a6dba9d53d4..fae1911f435 100644 --- a/sdk/python/feast/protos/feast/core/FeatureViewVersion_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureViewVersion_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 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 FeatureViewVersionRecord(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureViewVersionRecord(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - FEATURE_VIEW_NAME_FIELD_NUMBER: builtins.int - PROJECT_ID_FIELD_NUMBER: builtins.int - VERSION_NUMBER_FIELD_NUMBER: builtins.int - FEATURE_VIEW_TYPE_FIELD_NUMBER: builtins.int - FEATURE_VIEW_PROTO_FIELD_NUMBER: builtins.int - CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - VERSION_ID_FIELD_NUMBER: builtins.int - feature_view_name: builtins.str - project_id: builtins.str - version_number: builtins.int - feature_view_type: builtins.str + FEATURE_VIEW_NAME_FIELD_NUMBER: _builtins.int + PROJECT_ID_FIELD_NUMBER: _builtins.int + VERSION_NUMBER_FIELD_NUMBER: _builtins.int + FEATURE_VIEW_TYPE_FIELD_NUMBER: _builtins.int + FEATURE_VIEW_PROTO_FIELD_NUMBER: _builtins.int + CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + VERSION_ID_FIELD_NUMBER: _builtins.int + feature_view_name: _builtins.str + project_id: _builtins.str + version_number: _builtins.int + feature_view_type: _builtins.str """"feature_view" | "stream_feature_view" | "on_demand_feature_view" """ - feature_view_proto: builtins.bytes + feature_view_proto: _builtins.bytes """serialized FV proto snapshot""" - @property - def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - description: builtins.str - version_id: builtins.str + description: _builtins.str + version_id: _builtins.str """auto-generated UUID for unique identification""" + @_builtins.property + def created_timestamp(self) -> _timestamp_pb2.Timestamp: ... def __init__( self, *, - feature_view_name: builtins.str = ..., - project_id: builtins.str = ..., - version_number: builtins.int = ..., - feature_view_type: builtins.str = ..., - feature_view_proto: builtins.bytes = ..., - created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - description: builtins.str = ..., - version_id: builtins.str = ..., + feature_view_name: _builtins.str = ..., + project_id: _builtins.str = ..., + version_number: _builtins.int = ..., + feature_view_type: _builtins.str = ..., + feature_view_proto: _builtins.bytes = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + description: _builtins.str = ..., + version_id: _builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "description", b"description", "feature_view_name", b"feature_view_name", "feature_view_proto", b"feature_view_proto", "feature_view_type", b"feature_view_type", "project_id", b"project_id", "version_id", b"version_id", "version_number", b"version_number"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_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_name", b"feature_view_name", "feature_view_proto", b"feature_view_proto", "feature_view_type", b"feature_view_type", "project_id", b"project_id", "version_id", b"version_id", "version_number", b"version_number"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureViewVersionRecord = FeatureViewVersionRecord +Global___FeatureViewVersionRecord: _TypeAlias = FeatureViewVersionRecord # noqa: Y015 -class FeatureViewVersionHistory(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureViewVersionHistory(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - RECORDS_FIELD_NUMBER: builtins.int - @property - def records(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FeatureViewVersionRecord]: ... + RECORDS_FIELD_NUMBER: _builtins.int + @_builtins.property + def records(self) -> _containers.RepeatedCompositeFieldContainer[Global___FeatureViewVersionRecord]: ... def __init__( self, *, - records: collections.abc.Iterable[global___FeatureViewVersionRecord] | None = ..., + records: _abc.Iterable[Global___FeatureViewVersionRecord] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["records", b"records"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["records", b"records"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureViewVersionHistory = FeatureViewVersionHistory +Global___FeatureViewVersionHistory: _TypeAlias = FeatureViewVersionHistory # noqa: Y015 diff --git a/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi index a62e275260f..59addf1b598 100644 --- a/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi @@ -16,234 +16,265 @@ 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: 19 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 - VERSION_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 + VERSION_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""" + version: _builtins.str + """User-specified version pin (e.g. "latest", "v2", "version2")""" + @_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: + + @_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). """ - 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: + + @_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. """ - 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 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""" - version: builtins.str - """User-specified version pin (e.g. "latest", "v2", "version2")""" + 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 = ..., - version: builtins.str = ..., + 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 = ..., + version: _builtins.str = ..., ) -> 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", "version", b"version"]) -> 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", "version", b"version"] # 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 - CURRENT_VERSION_NUMBER_FIELD_NUMBER: builtins.int - VERSION_ID_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 + CURRENT_VERSION_NUMBER_FIELD_NUMBER: _builtins.int + VERSION_ID_FIELD_NUMBER: _builtins.int + current_version_number: _builtins.int + """The current version number of this feature view in the version history.""" + version_id: _builtins.str + """Auto-generated UUID identifying this specific version.""" + @_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.""" - current_version_number: builtins.int - """The current version number of this feature view in the version history.""" - version_id: builtins.str - """Auto-generated UUID identifying this specific version.""" + 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 = ..., - current_version_number: builtins.int = ..., - version_id: builtins.str = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., + materialization_intervals: _abc.Iterable[Global___MaterializationInterval] | None = ..., + current_version_number: _builtins.int = ..., + version_id: _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", "current_version_number", b"current_version_number", "last_updated_timestamp", b"last_updated_timestamp", "materialization_intervals", b"materialization_intervals", "version_id", b"version_id"]) -> 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", "current_version_number", b"current_version_number", "last_updated_timestamp", b"last_updated_timestamp", "materialization_intervals", b"materialization_intervals", "version_id", b"version_id"] # 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/Feature_pb2.pyi b/sdk/python/feast/protos/feast/core/Feature_pb2.pyi index aa56630424f..4ee9f23ea4f 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/InfraObject_pb2.pyi b/sdk/python/feast/protos/feast/core/InfraObject_pb2.pyi index f0a704c604a..cc9a4193181 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/OnDemandFeatureView_pb2.pyi b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.pyi index 42fd91f7725..9db18736874 100644 --- a/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.pyi @@ -16,253 +16,295 @@ 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: 18""" - 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 - VERSION_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 + VERSION_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 + version: _builtins.str + """User-specified version pin (e.g. "latest", "v2", "version2")""" + @_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""" - version: builtins.str - """User-specified version pin (e.g. "latest", "v2", "version2")""" + 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 = ..., - version: builtins.str = ..., + 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 = ..., + version: _builtins.str = ..., ) -> 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", "version", b"version", "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", "version", b"version", "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 - CURRENT_VERSION_NUMBER_FIELD_NUMBER: builtins.int - VERSION_ID_FIELD_NUMBER: builtins.int - @property - def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Time where this Feature View is created""" - @property - def last_updated_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Time where this Feature View is last updated""" - current_version_number: builtins.int + CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: _builtins.int + CURRENT_VERSION_NUMBER_FIELD_NUMBER: _builtins.int + VERSION_ID_FIELD_NUMBER: _builtins.int + current_version_number: _builtins.int """The current version number of this feature view in the version history.""" - version_id: builtins.str + version_id: _builtins.str """Auto-generated UUID identifying this specific version.""" + @_builtins.property + def created_timestamp(self) -> _timestamp_pb2.Timestamp: + """Time where this Feature View is created""" + + @_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 = ..., - current_version_number: builtins.int = ..., - version_id: builtins.str = ..., + created_timestamp: _timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., + current_version_number: _builtins.int = ..., + version_id: _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", "current_version_number", b"current_version_number", "last_updated_timestamp", b"last_updated_timestamp", "version_id", b"version_id"]) -> 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", "current_version_number", b"current_version_number", "last_updated_timestamp", b"last_updated_timestamp", "version_id", b"version_id"] # 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/Permission_pb2.pyi b/sdk/python/feast/protos/feast/core/Permission_pb2.pyi index b2387d29465..4acc8ac3e1e 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/Policy_pb2.pyi b/sdk/python/feast/protos/feast/core/Policy_pb2.pyi index 8410e396586..6c8b6e49206 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/Project_pb2.pyi b/sdk/python/feast/protos/feast/core/Project_pb2.pyi index e3cce2ec425..d3844463544 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/Registry_pb2.pyi b/sdk/python/feast/protos/feast/core/Registry_pb2.pyi index 29bd76323e3..5aafdaf21fd 100644 --- a/sdk/python/feast/protos/feast/core/Registry_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Registry_pb2.pyi @@ -16,130 +16,144 @@ 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.FeatureViewVersion_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 FeatureViewVersion_pb2 as _FeatureViewVersion_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: 19""" - 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 - FEATURE_VIEW_VERSION_HISTORY_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 + FEATURE_VIEW_VERSION_HISTORY_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]: ... - @property - def feature_view_version_history(self) -> feast.core.FeatureViewVersion_pb2.FeatureViewVersionHistory: ... + @_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]: ... + @_builtins.property + def feature_view_version_history(self) -> _FeatureViewVersion_pb2.FeatureViewVersionHistory: ... 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 = ..., - feature_view_version_history: feast.core.FeatureViewVersion_pb2.FeatureViewVersionHistory | 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 = ..., + feature_view_version_history: _FeatureViewVersion_pb2.FeatureViewVersionHistory | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["feature_view_version_history", b"feature_view_version_history", "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_view_version_history", b"feature_view_version_history", "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["feature_view_version_history", b"feature_view_version_history", "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_view_version_history", b"feature_view_version_history", "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/SavedDataset_pb2.pyi b/sdk/python/feast/protos/feast/core/SavedDataset_pb2.pyi index 47525b64ede..e2c1fb27c4f 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/SqliteTable_pb2.pyi b/sdk/python/feast/protos/feast/core/SqliteTable_pb2.pyi index 10ecebf362b..43d97f7d188 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/Store_pb2.pyi b/sdk/python/feast/protos/feast/core/Store_pb2.pyi index 5ee957d184f..718654b267c 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/StreamFeatureView_pb2.pyi b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.pyi index b4ab6a9a016..e794d2615dc 100644 --- a/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.pyi @@ -16,174 +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.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: 22""" - 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 - VERSION_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 + VERSION_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""" + version: _builtins.str + """User-specified version pin (e.g. "latest", "v2", "version2")""" + @_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""" - version: builtins.str - """User-specified version pin (e.g. "latest", "v2", "version2")""" + 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 = ..., - version: builtins.str = ..., + 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 = ..., + version: _builtins.str = ..., ) -> 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", "version", b"version"]) -> 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", "version", b"version"] # 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/Transformation_pb2.pyi b/sdk/python/feast/protos/feast/core/Transformation_pb2.pyi index fb56ab5bc73..d8aacf9f812 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/ValidationProfile_pb2.pyi b/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.pyi index 93da1e0f5e8..16cc081f054 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/registry/RegistryServer_pb2.pyi b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.pyi index a1f1b99365d..7dd137bc89e 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/serving/Connector_pb2.pyi b/sdk/python/feast/protos/feast/serving/Connector_pb2.pyi index f87109e0fa5..2c5e8c34eb0 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/GrpcServer_pb2.pyi b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi index a83cd87a16e..ccb171c91a6 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi @@ -2,162 +2,182 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ -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 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 = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> 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.types.Value_pb2.Value: ... + _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: 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: ... - - 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.types.Value_pb2.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: ... + + 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 = ..., - typed_features: collections.abc.Mapping[builtins.str, feast.types.Value_pb2.Value] | None = ..., + 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", "typed_features", b"typed_features"]) -> 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 = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> 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.types.Value_pb2.Value: ... + _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: 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: ... - - 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.types.Value_pb2.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: ... + + 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 = ..., - typed_features: collections.abc.Mapping[builtins.str, feast.types.Value_pb2.Value] | None = ..., + 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", "typed_features", b"typed_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/ServingService_pb2.pyi b/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi index 1804ce0428e..4bc0922f628 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,300 +78,345 @@ 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 - INCLUDE_FEATURE_VIEW_VERSION_METADATA_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 + INCLUDE_FEATURE_VIEW_VERSION_METADATA_FIELD_NUMBER: _builtins.int + feature_service: _builtins.str + full_feature_names: _builtins.bool + include_feature_view_version_metadata: _builtins.bool + """Whether to include feature view version metadata in the response""" + @_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 """ - include_feature_view_version_metadata: builtins.bool - """Whether to include feature view version metadata in the response""" + 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 = ..., - include_feature_view_version_metadata: builtins.bool = ..., + 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 = ..., + include_feature_view_version_metadata: _builtins.bool = ..., ) -> 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", "include_feature_view_version_metadata", b"include_feature_view_version_metadata", "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", "include_feature_view_version_metadata", b"include_feature_view_version_metadata", "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 FeatureViewMetadata(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class FeatureViewMetadata(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - VERSION_FIELD_NUMBER: builtins.int - name: builtins.str + NAME_FIELD_NUMBER: _builtins.int + VERSION_FIELD_NUMBER: _builtins.int + name: _builtins.str """Feature view name (e.g., "driver_stats")""" - version: builtins.int + version: _builtins.int """Version number (e.g., 2)""" def __init__( self, *, - name: builtins.str = ..., - version: builtins.int = ..., + name: _builtins.str = ..., + version: _builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "version", b"version"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["name", b"name", "version", b"version"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FeatureViewMetadata = FeatureViewMetadata +Global___FeatureViewMetadata: _TypeAlias = FeatureViewMetadata # 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 - FEATURE_VIEW_METADATA_FIELD_NUMBER: builtins.int - @property - def feature_names(self) -> global___FeatureList: + FEATURE_NAMES_FIELD_NUMBER: _builtins.int + FEATURE_VIEW_METADATA_FIELD_NUMBER: _builtins.int + @_builtins.property + def feature_names(self) -> Global___FeatureList: """Clean feature names without @v2 syntax""" - @property - def feature_view_metadata(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FeatureViewMetadata]: + + @_builtins.property + def feature_view_metadata(self) -> _containers.RepeatedCompositeFieldContainer[Global___FeatureViewMetadata]: """Only populated when requested""" + def __init__( self, *, - feature_names: global___FeatureList | None = ..., - feature_view_metadata: collections.abc.Iterable[global___FeatureViewMetadata] | None = ..., + feature_names: Global___FeatureList | None = ..., + feature_view_metadata: _abc.Iterable[Global___FeatureViewMetadata] | 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", "feature_view_metadata", b"feature_view_metadata"]) -> 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", "feature_view_metadata", b"feature_view_metadata"] # 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/TransformationService_pb2.pyi b/sdk/python/feast/protos/feast/serving/TransformationService_pb2.pyi index 3e0752b7bdd..f21ebfd05f8 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/storage/Redis_pb2.pyi b/sdk/python/feast/protos/feast/storage/Redis_pb2.pyi index 74cc2b07f0a..906e4d7076e 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/types/EntityKey_pb2.pyi b/sdk/python/feast/protos/feast/types/EntityKey_pb2.pyi index fe65e0c1b32..1570e2853a6 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/Field_pb2.pyi b/sdk/python/feast/protos/feast/types/Field_pb2.pyi index 28a21942378..76b7c33250d 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/Value_pb2.py b/sdk/python/feast/protos/feast/types/Value_pb2.py index 44ad6f115c2..3f6e55d3005 100644 --- a/sdk/python/feast/protos/feast/types/Value_pb2.py +++ b/sdk/python/feast/protos/feast/types/Value_pb2.py @@ -14,7 +14,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x66\x65\x61st/types/Value.proto\x12\x0b\x66\x65\x61st.types\"\xe2\x04\n\tValueType\"\xd4\x04\n\x04\x45num\x12\x0b\n\x07INVALID\x10\x00\x12\t\n\x05\x42YTES\x10\x01\x12\n\n\x06STRING\x10\x02\x12\t\n\x05INT32\x10\x03\x12\t\n\x05INT64\x10\x04\x12\n\n\x06\x44OUBLE\x10\x05\x12\t\n\x05\x46LOAT\x10\x06\x12\x08\n\x04\x42OOL\x10\x07\x12\x12\n\x0eUNIX_TIMESTAMP\x10\x08\x12\x0e\n\nBYTES_LIST\x10\x0b\x12\x0f\n\x0bSTRING_LIST\x10\x0c\x12\x0e\n\nINT32_LIST\x10\r\x12\x0e\n\nINT64_LIST\x10\x0e\x12\x0f\n\x0b\x44OUBLE_LIST\x10\x0f\x12\x0e\n\nFLOAT_LIST\x10\x10\x12\r\n\tBOOL_LIST\x10\x11\x12\x17\n\x13UNIX_TIMESTAMP_LIST\x10\x12\x12\x08\n\x04NULL\x10\x13\x12\x07\n\x03MAP\x10\x14\x12\x0c\n\x08MAP_LIST\x10\x15\x12\r\n\tBYTES_SET\x10\x16\x12\x0e\n\nSTRING_SET\x10\x17\x12\r\n\tINT32_SET\x10\x18\x12\r\n\tINT64_SET\x10\x19\x12\x0e\n\nDOUBLE_SET\x10\x1a\x12\r\n\tFLOAT_SET\x10\x1b\x12\x0c\n\x08\x42OOL_SET\x10\x1c\x12\x16\n\x12UNIX_TIMESTAMP_SET\x10\x1d\x12\x08\n\x04JSON\x10 \x12\r\n\tJSON_LIST\x10!\x12\n\n\x06STRUCT\x10\"\x12\x0f\n\x0bSTRUCT_LIST\x10#\x12\x08\n\x04UUID\x10$\x12\r\n\tTIME_UUID\x10%\x12\r\n\tUUID_LIST\x10&\x12\x12\n\x0eTIME_UUID_LIST\x10\'\x12\x0c\n\x08UUID_SET\x10(\x12\x11\n\rTIME_UUID_SET\x10)\x12\x0e\n\nVALUE_LIST\x10*\x12\r\n\tVALUE_SET\x10+\"\xd9\x0c\n\x05Value\x12\x13\n\tbytes_val\x18\x01 \x01(\x0cH\x00\x12\x14\n\nstring_val\x18\x02 \x01(\tH\x00\x12\x13\n\tint32_val\x18\x03 \x01(\x05H\x00\x12\x13\n\tint64_val\x18\x04 \x01(\x03H\x00\x12\x14\n\ndouble_val\x18\x05 \x01(\x01H\x00\x12\x13\n\tfloat_val\x18\x06 \x01(\x02H\x00\x12\x12\n\x08\x62ool_val\x18\x07 \x01(\x08H\x00\x12\x1c\n\x12unix_timestamp_val\x18\x08 \x01(\x03H\x00\x12\x30\n\x0e\x62ytes_list_val\x18\x0b \x01(\x0b\x32\x16.feast.types.BytesListH\x00\x12\x32\n\x0fstring_list_val\x18\x0c \x01(\x0b\x32\x17.feast.types.StringListH\x00\x12\x30\n\x0eint32_list_val\x18\r \x01(\x0b\x32\x16.feast.types.Int32ListH\x00\x12\x30\n\x0eint64_list_val\x18\x0e \x01(\x0b\x32\x16.feast.types.Int64ListH\x00\x12\x32\n\x0f\x64ouble_list_val\x18\x0f \x01(\x0b\x32\x17.feast.types.DoubleListH\x00\x12\x30\n\x0e\x66loat_list_val\x18\x10 \x01(\x0b\x32\x16.feast.types.FloatListH\x00\x12.\n\rbool_list_val\x18\x11 \x01(\x0b\x32\x15.feast.types.BoolListH\x00\x12\x39\n\x17unix_timestamp_list_val\x18\x12 \x01(\x0b\x32\x16.feast.types.Int64ListH\x00\x12%\n\x08null_val\x18\x13 \x01(\x0e\x32\x11.feast.types.NullH\x00\x12#\n\x07map_val\x18\x14 \x01(\x0b\x32\x10.feast.types.MapH\x00\x12,\n\x0cmap_list_val\x18\x15 \x01(\x0b\x32\x14.feast.types.MapListH\x00\x12.\n\rbytes_set_val\x18\x16 \x01(\x0b\x32\x15.feast.types.BytesSetH\x00\x12\x30\n\x0estring_set_val\x18\x17 \x01(\x0b\x32\x16.feast.types.StringSetH\x00\x12.\n\rint32_set_val\x18\x18 \x01(\x0b\x32\x15.feast.types.Int32SetH\x00\x12.\n\rint64_set_val\x18\x19 \x01(\x0b\x32\x15.feast.types.Int64SetH\x00\x12\x30\n\x0e\x64ouble_set_val\x18\x1a \x01(\x0b\x32\x16.feast.types.DoubleSetH\x00\x12.\n\rfloat_set_val\x18\x1b \x01(\x0b\x32\x15.feast.types.FloatSetH\x00\x12,\n\x0c\x62ool_set_val\x18\x1c \x01(\x0b\x32\x14.feast.types.BoolSetH\x00\x12\x37\n\x16unix_timestamp_set_val\x18\x1d \x01(\x0b\x32\x15.feast.types.Int64SetH\x00\x12\x12\n\x08json_val\x18 \x01(\tH\x00\x12\x30\n\rjson_list_val\x18! \x01(\x0b\x32\x17.feast.types.StringListH\x00\x12&\n\nstruct_val\x18\" \x01(\x0b\x32\x10.feast.types.MapH\x00\x12/\n\x0fstruct_list_val\x18# \x01(\x0b\x32\x14.feast.types.MapListH\x00\x12\x12\n\x08uuid_val\x18$ \x01(\tH\x00\x12\x17\n\rtime_uuid_val\x18% \x01(\tH\x00\x12\x30\n\ruuid_list_val\x18& \x01(\x0b\x32\x17.feast.types.StringListH\x00\x12\x35\n\x12time_uuid_list_val\x18\' \x01(\x0b\x32\x17.feast.types.StringListH\x00\x12.\n\x0cuuid_set_val\x18( \x01(\x0b\x32\x16.feast.types.StringSetH\x00\x12\x33\n\x11time_uuid_set_val\x18) \x01(\x0b\x32\x16.feast.types.StringSetH\x00\x12.\n\x08list_val\x18* \x01(\x0b\x32\x1a.feast.types.RepeatedValueH\x00\x12-\n\x07set_val\x18+ \x01(\x0b\x32\x1a.feast.types.RepeatedValueH\x00\x42\x05\n\x03val\"\x18\n\tBytesList\x12\x0b\n\x03val\x18\x01 \x03(\x0c\"\x19\n\nStringList\x12\x0b\n\x03val\x18\x01 \x03(\t\"\x18\n\tInt32List\x12\x0b\n\x03val\x18\x01 \x03(\x05\"\x18\n\tInt64List\x12\x0b\n\x03val\x18\x01 \x03(\x03\"\x19\n\nDoubleList\x12\x0b\n\x03val\x18\x01 \x03(\x01\"\x18\n\tFloatList\x12\x0b\n\x03val\x18\x01 \x03(\x02\"\x17\n\x08\x42oolList\x12\x0b\n\x03val\x18\x01 \x03(\x08\"\x17\n\x08\x42ytesSet\x12\x0b\n\x03val\x18\x01 \x03(\x0c\"\x18\n\tStringSet\x12\x0b\n\x03val\x18\x01 \x03(\t\"\x17\n\x08Int32Set\x12\x0b\n\x03val\x18\x01 \x03(\x05\"\x17\n\x08Int64Set\x12\x0b\n\x03val\x18\x01 \x03(\x03\"\x18\n\tDoubleSet\x12\x0b\n\x03val\x18\x01 \x03(\x01\"\x17\n\x08\x46loatSet\x12\x0b\n\x03val\x18\x01 \x03(\x02\"\x16\n\x07\x42oolSet\x12\x0b\n\x03val\x18\x01 \x03(\x08\"m\n\x03Map\x12&\n\x03val\x18\x01 \x03(\x0b\x32\x19.feast.types.Map.ValEntry\x1a>\n\x08ValEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.feast.types.Value:\x02\x38\x01\"(\n\x07MapList\x12\x1d\n\x03val\x18\x01 \x03(\x0b\x32\x10.feast.types.Map\"0\n\rRepeatedValue\x12\x1f\n\x03val\x18\x01 \x03(\x0b\x32\x12.feast.types.Value*\x10\n\x04Null\x12\x08\n\x04NULL\x10\x00\x42Q\n\x11\x66\x65\x61st.proto.typesB\nValueProtoZ0github.com/feast-dev/feast/go/protos/feast/typesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x66\x65\x61st/types/Value.proto\x12\x0b\x66\x65\x61st.types\"\x92\x05\n\tValueType\"\x84\x05\n\x04\x45num\x12\x0b\n\x07INVALID\x10\x00\x12\t\n\x05\x42YTES\x10\x01\x12\n\n\x06STRING\x10\x02\x12\t\n\x05INT32\x10\x03\x12\t\n\x05INT64\x10\x04\x12\n\n\x06\x44OUBLE\x10\x05\x12\t\n\x05\x46LOAT\x10\x06\x12\x08\n\x04\x42OOL\x10\x07\x12\x12\n\x0eUNIX_TIMESTAMP\x10\x08\x12\x0e\n\nBYTES_LIST\x10\x0b\x12\x0f\n\x0bSTRING_LIST\x10\x0c\x12\x0e\n\nINT32_LIST\x10\r\x12\x0e\n\nINT64_LIST\x10\x0e\x12\x0f\n\x0b\x44OUBLE_LIST\x10\x0f\x12\x0e\n\nFLOAT_LIST\x10\x10\x12\r\n\tBOOL_LIST\x10\x11\x12\x17\n\x13UNIX_TIMESTAMP_LIST\x10\x12\x12\x08\n\x04NULL\x10\x13\x12\x07\n\x03MAP\x10\x14\x12\x0c\n\x08MAP_LIST\x10\x15\x12\r\n\tBYTES_SET\x10\x16\x12\x0e\n\nSTRING_SET\x10\x17\x12\r\n\tINT32_SET\x10\x18\x12\r\n\tINT64_SET\x10\x19\x12\x0e\n\nDOUBLE_SET\x10\x1a\x12\r\n\tFLOAT_SET\x10\x1b\x12\x0c\n\x08\x42OOL_SET\x10\x1c\x12\x16\n\x12UNIX_TIMESTAMP_SET\x10\x1d\x12\x08\n\x04JSON\x10 \x12\r\n\tJSON_LIST\x10!\x12\n\n\x06STRUCT\x10\"\x12\x0f\n\x0bSTRUCT_LIST\x10#\x12\x08\n\x04UUID\x10$\x12\r\n\tTIME_UUID\x10%\x12\r\n\tUUID_LIST\x10&\x12\x12\n\x0eTIME_UUID_LIST\x10\'\x12\x0c\n\x08UUID_SET\x10(\x12\x11\n\rTIME_UUID_SET\x10)\x12\x0e\n\nVALUE_LIST\x10*\x12\r\n\tVALUE_SET\x10+\x12\x0b\n\x07\x44\x45\x43IMAL\x10,\x12\x10\n\x0c\x44\x45\x43IMAL_LIST\x10-\x12\x0f\n\x0b\x44\x45\x43IMAL_SET\x10.\"\xd8\r\n\x05Value\x12\x13\n\tbytes_val\x18\x01 \x01(\x0cH\x00\x12\x14\n\nstring_val\x18\x02 \x01(\tH\x00\x12\x13\n\tint32_val\x18\x03 \x01(\x05H\x00\x12\x13\n\tint64_val\x18\x04 \x01(\x03H\x00\x12\x14\n\ndouble_val\x18\x05 \x01(\x01H\x00\x12\x13\n\tfloat_val\x18\x06 \x01(\x02H\x00\x12\x12\n\x08\x62ool_val\x18\x07 \x01(\x08H\x00\x12\x1c\n\x12unix_timestamp_val\x18\x08 \x01(\x03H\x00\x12\x30\n\x0e\x62ytes_list_val\x18\x0b \x01(\x0b\x32\x16.feast.types.BytesListH\x00\x12\x32\n\x0fstring_list_val\x18\x0c \x01(\x0b\x32\x17.feast.types.StringListH\x00\x12\x30\n\x0eint32_list_val\x18\r \x01(\x0b\x32\x16.feast.types.Int32ListH\x00\x12\x30\n\x0eint64_list_val\x18\x0e \x01(\x0b\x32\x16.feast.types.Int64ListH\x00\x12\x32\n\x0f\x64ouble_list_val\x18\x0f \x01(\x0b\x32\x17.feast.types.DoubleListH\x00\x12\x30\n\x0e\x66loat_list_val\x18\x10 \x01(\x0b\x32\x16.feast.types.FloatListH\x00\x12.\n\rbool_list_val\x18\x11 \x01(\x0b\x32\x15.feast.types.BoolListH\x00\x12\x39\n\x17unix_timestamp_list_val\x18\x12 \x01(\x0b\x32\x16.feast.types.Int64ListH\x00\x12%\n\x08null_val\x18\x13 \x01(\x0e\x32\x11.feast.types.NullH\x00\x12#\n\x07map_val\x18\x14 \x01(\x0b\x32\x10.feast.types.MapH\x00\x12,\n\x0cmap_list_val\x18\x15 \x01(\x0b\x32\x14.feast.types.MapListH\x00\x12.\n\rbytes_set_val\x18\x16 \x01(\x0b\x32\x15.feast.types.BytesSetH\x00\x12\x30\n\x0estring_set_val\x18\x17 \x01(\x0b\x32\x16.feast.types.StringSetH\x00\x12.\n\rint32_set_val\x18\x18 \x01(\x0b\x32\x15.feast.types.Int32SetH\x00\x12.\n\rint64_set_val\x18\x19 \x01(\x0b\x32\x15.feast.types.Int64SetH\x00\x12\x30\n\x0e\x64ouble_set_val\x18\x1a \x01(\x0b\x32\x16.feast.types.DoubleSetH\x00\x12.\n\rfloat_set_val\x18\x1b \x01(\x0b\x32\x15.feast.types.FloatSetH\x00\x12,\n\x0c\x62ool_set_val\x18\x1c \x01(\x0b\x32\x14.feast.types.BoolSetH\x00\x12\x37\n\x16unix_timestamp_set_val\x18\x1d \x01(\x0b\x32\x15.feast.types.Int64SetH\x00\x12\x12\n\x08json_val\x18 \x01(\tH\x00\x12\x30\n\rjson_list_val\x18! \x01(\x0b\x32\x17.feast.types.StringListH\x00\x12&\n\nstruct_val\x18\" \x01(\x0b\x32\x10.feast.types.MapH\x00\x12/\n\x0fstruct_list_val\x18# \x01(\x0b\x32\x14.feast.types.MapListH\x00\x12\x12\n\x08uuid_val\x18$ \x01(\tH\x00\x12\x17\n\rtime_uuid_val\x18% \x01(\tH\x00\x12\x30\n\ruuid_list_val\x18& \x01(\x0b\x32\x17.feast.types.StringListH\x00\x12\x35\n\x12time_uuid_list_val\x18\' \x01(\x0b\x32\x17.feast.types.StringListH\x00\x12.\n\x0cuuid_set_val\x18( \x01(\x0b\x32\x16.feast.types.StringSetH\x00\x12\x33\n\x11time_uuid_set_val\x18) \x01(\x0b\x32\x16.feast.types.StringSetH\x00\x12.\n\x08list_val\x18* \x01(\x0b\x32\x1a.feast.types.RepeatedValueH\x00\x12-\n\x07set_val\x18+ \x01(\x0b\x32\x1a.feast.types.RepeatedValueH\x00\x12\x15\n\x0b\x64\x65\x63imal_val\x18, \x01(\tH\x00\x12\x33\n\x10\x64\x65\x63imal_list_val\x18- \x01(\x0b\x32\x17.feast.types.StringListH\x00\x12\x31\n\x0f\x64\x65\x63imal_set_val\x18. \x01(\x0b\x32\x16.feast.types.StringSetH\x00\x42\x05\n\x03val\"\x18\n\tBytesList\x12\x0b\n\x03val\x18\x01 \x03(\x0c\"\x19\n\nStringList\x12\x0b\n\x03val\x18\x01 \x03(\t\"\x18\n\tInt32List\x12\x0b\n\x03val\x18\x01 \x03(\x05\"\x18\n\tInt64List\x12\x0b\n\x03val\x18\x01 \x03(\x03\"\x19\n\nDoubleList\x12\x0b\n\x03val\x18\x01 \x03(\x01\"\x18\n\tFloatList\x12\x0b\n\x03val\x18\x01 \x03(\x02\"\x17\n\x08\x42oolList\x12\x0b\n\x03val\x18\x01 \x03(\x08\"\x17\n\x08\x42ytesSet\x12\x0b\n\x03val\x18\x01 \x03(\x0c\"\x18\n\tStringSet\x12\x0b\n\x03val\x18\x01 \x03(\t\"\x17\n\x08Int32Set\x12\x0b\n\x03val\x18\x01 \x03(\x05\"\x17\n\x08Int64Set\x12\x0b\n\x03val\x18\x01 \x03(\x03\"\x18\n\tDoubleSet\x12\x0b\n\x03val\x18\x01 \x03(\x01\"\x17\n\x08\x46loatSet\x12\x0b\n\x03val\x18\x01 \x03(\x02\"\x16\n\x07\x42oolSet\x12\x0b\n\x03val\x18\x01 \x03(\x08\"m\n\x03Map\x12&\n\x03val\x18\x01 \x03(\x0b\x32\x19.feast.types.Map.ValEntry\x1a>\n\x08ValEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.feast.types.Value:\x02\x38\x01\"(\n\x07MapList\x12\x1d\n\x03val\x18\x01 \x03(\x0b\x32\x10.feast.types.Map\"0\n\rRepeatedValue\x12\x1f\n\x03val\x18\x01 \x03(\x0b\x32\x12.feast.types.Value*\x10\n\x04Null\x12\x08\n\x04NULL\x10\x00\x42Q\n\x11\x66\x65\x61st.proto.typesB\nValueProtoZ0github.com/feast-dev/feast/go/protos/feast/typesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,48 +24,48 @@ _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']._serialized_options = b'8\001' - _globals['_NULL']._serialized_start=2843 - _globals['_NULL']._serialized_end=2859 + _globals['_NULL']._serialized_start=3018 + _globals['_NULL']._serialized_end=3034 _globals['_VALUETYPE']._serialized_start=41 - _globals['_VALUETYPE']._serialized_end=651 + _globals['_VALUETYPE']._serialized_end=699 _globals['_VALUETYPE_ENUM']._serialized_start=55 - _globals['_VALUETYPE_ENUM']._serialized_end=651 - _globals['_VALUE']._serialized_start=654 - _globals['_VALUE']._serialized_end=2279 - _globals['_BYTESLIST']._serialized_start=2281 - _globals['_BYTESLIST']._serialized_end=2305 - _globals['_STRINGLIST']._serialized_start=2307 - _globals['_STRINGLIST']._serialized_end=2332 - _globals['_INT32LIST']._serialized_start=2334 - _globals['_INT32LIST']._serialized_end=2358 - _globals['_INT64LIST']._serialized_start=2360 - _globals['_INT64LIST']._serialized_end=2384 - _globals['_DOUBLELIST']._serialized_start=2386 - _globals['_DOUBLELIST']._serialized_end=2411 - _globals['_FLOATLIST']._serialized_start=2413 - _globals['_FLOATLIST']._serialized_end=2437 - _globals['_BOOLLIST']._serialized_start=2439 - _globals['_BOOLLIST']._serialized_end=2462 - _globals['_BYTESSET']._serialized_start=2464 - _globals['_BYTESSET']._serialized_end=2487 - _globals['_STRINGSET']._serialized_start=2489 - _globals['_STRINGSET']._serialized_end=2513 - _globals['_INT32SET']._serialized_start=2515 - _globals['_INT32SET']._serialized_end=2538 - _globals['_INT64SET']._serialized_start=2540 - _globals['_INT64SET']._serialized_end=2563 - _globals['_DOUBLESET']._serialized_start=2565 - _globals['_DOUBLESET']._serialized_end=2589 - _globals['_FLOATSET']._serialized_start=2591 - _globals['_FLOATSET']._serialized_end=2614 - _globals['_BOOLSET']._serialized_start=2616 - _globals['_BOOLSET']._serialized_end=2638 - _globals['_MAP']._serialized_start=2640 - _globals['_MAP']._serialized_end=2749 - _globals['_MAP_VALENTRY']._serialized_start=2687 - _globals['_MAP_VALENTRY']._serialized_end=2749 - _globals['_MAPLIST']._serialized_start=2751 - _globals['_MAPLIST']._serialized_end=2791 - _globals['_REPEATEDVALUE']._serialized_start=2793 - _globals['_REPEATEDVALUE']._serialized_end=2841 + _globals['_VALUETYPE_ENUM']._serialized_end=699 + _globals['_VALUE']._serialized_start=702 + _globals['_VALUE']._serialized_end=2454 + _globals['_BYTESLIST']._serialized_start=2456 + _globals['_BYTESLIST']._serialized_end=2480 + _globals['_STRINGLIST']._serialized_start=2482 + _globals['_STRINGLIST']._serialized_end=2507 + _globals['_INT32LIST']._serialized_start=2509 + _globals['_INT32LIST']._serialized_end=2533 + _globals['_INT64LIST']._serialized_start=2535 + _globals['_INT64LIST']._serialized_end=2559 + _globals['_DOUBLELIST']._serialized_start=2561 + _globals['_DOUBLELIST']._serialized_end=2586 + _globals['_FLOATLIST']._serialized_start=2588 + _globals['_FLOATLIST']._serialized_end=2612 + _globals['_BOOLLIST']._serialized_start=2614 + _globals['_BOOLLIST']._serialized_end=2637 + _globals['_BYTESSET']._serialized_start=2639 + _globals['_BYTESSET']._serialized_end=2662 + _globals['_STRINGSET']._serialized_start=2664 + _globals['_STRINGSET']._serialized_end=2688 + _globals['_INT32SET']._serialized_start=2690 + _globals['_INT32SET']._serialized_end=2713 + _globals['_INT64SET']._serialized_start=2715 + _globals['_INT64SET']._serialized_end=2738 + _globals['_DOUBLESET']._serialized_start=2740 + _globals['_DOUBLESET']._serialized_end=2764 + _globals['_FLOATSET']._serialized_start=2766 + _globals['_FLOATSET']._serialized_end=2789 + _globals['_BOOLSET']._serialized_start=2791 + _globals['_BOOLSET']._serialized_end=2813 + _globals['_MAP']._serialized_start=2815 + _globals['_MAP']._serialized_end=2924 + _globals['_MAP_VALENTRY']._serialized_start=2862 + _globals['_MAP_VALENTRY']._serialized_end=2924 + _globals['_MAPLIST']._serialized_start=2926 + _globals['_MAPLIST']._serialized_end=2966 + _globals['_REPEATEDVALUE']._serialized_start=2968 + _globals['_REPEATEDVALUE']._serialized_end=3016 # @@protoc_insertion_point(module_scope) diff --git a/sdk/python/feast/protos/feast/types/Value_pb2.pyi b/sdk/python/feast/protos/feast/types/Value_pb2.pyi index 53a7c800f04..c0b7bada7bb 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 @@ -94,6 +96,9 @@ class ValueType(google.protobuf.message.Message): TIME_UUID_SET: ValueType._Enum.ValueType # 41 VALUE_LIST: ValueType._Enum.ValueType # 42 VALUE_SET: ValueType._Enum.ValueType # 43 + DECIMAL: ValueType._Enum.ValueType # 44 + DECIMAL_LIST: ValueType._Enum.ValueType # 45 + DECIMAL_SET: ValueType._Enum.ValueType # 46 class Enum(_Enum, metaclass=_EnumEnumTypeWrapper): ... INVALID: ValueType.Enum.ValueType # 0 @@ -136,442 +141,498 @@ class ValueType(google.protobuf.message.Message): TIME_UUID_SET: ValueType.Enum.ValueType # 41 VALUE_LIST: ValueType.Enum.ValueType # 42 VALUE_SET: ValueType.Enum.ValueType # 43 + DECIMAL: ValueType.Enum.ValueType # 44 + DECIMAL_LIST: ValueType.Enum.ValueType # 45 + DECIMAL_SET: ValueType.Enum.ValueType # 46 def __init__( 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 - UUID_VAL_FIELD_NUMBER: builtins.int - TIME_UUID_VAL_FIELD_NUMBER: builtins.int - UUID_LIST_VAL_FIELD_NUMBER: builtins.int - TIME_UUID_LIST_VAL_FIELD_NUMBER: builtins.int - UUID_SET_VAL_FIELD_NUMBER: builtins.int - TIME_UUID_SET_VAL_FIELD_NUMBER: builtins.int - LIST_VAL_FIELD_NUMBER: builtins.int - SET_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: ... - uuid_val: builtins.str - time_uuid_val: builtins.str - @property - def uuid_list_val(self) -> global___StringList: ... - @property - def time_uuid_list_val(self) -> global___StringList: ... - @property - def uuid_set_val(self) -> global___StringSet: ... - @property - def time_uuid_set_val(self) -> global___StringSet: ... - @property - def list_val(self) -> global___RepeatedValue: ... - @property - def set_val(self) -> global___RepeatedValue: ... +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 + UUID_VAL_FIELD_NUMBER: _builtins.int + TIME_UUID_VAL_FIELD_NUMBER: _builtins.int + UUID_LIST_VAL_FIELD_NUMBER: _builtins.int + TIME_UUID_LIST_VAL_FIELD_NUMBER: _builtins.int + UUID_SET_VAL_FIELD_NUMBER: _builtins.int + TIME_UUID_SET_VAL_FIELD_NUMBER: _builtins.int + LIST_VAL_FIELD_NUMBER: _builtins.int + SET_VAL_FIELD_NUMBER: _builtins.int + DECIMAL_VAL_FIELD_NUMBER: _builtins.int + DECIMAL_LIST_VAL_FIELD_NUMBER: _builtins.int + DECIMAL_SET_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 + uuid_val: _builtins.str + time_uuid_val: _builtins.str + decimal_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: ... + @_builtins.property + def uuid_list_val(self) -> Global___StringList: ... + @_builtins.property + def time_uuid_list_val(self) -> Global___StringList: ... + @_builtins.property + def uuid_set_val(self) -> Global___StringSet: ... + @_builtins.property + def time_uuid_set_val(self) -> Global___StringSet: ... + @_builtins.property + def list_val(self) -> Global___RepeatedValue: ... + @_builtins.property + def set_val(self) -> Global___RepeatedValue: ... + @_builtins.property + def decimal_list_val(self) -> Global___StringList: ... + @_builtins.property + def decimal_set_val(self) -> Global___StringSet: ... 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 = ..., - uuid_val: builtins.str = ..., - time_uuid_val: builtins.str = ..., - uuid_list_val: global___StringList | None = ..., - time_uuid_list_val: global___StringList | None = ..., - uuid_set_val: global___StringSet | None = ..., - time_uuid_set_val: global___StringSet | None = ..., - list_val: global___RepeatedValue | None = ..., - set_val: global___RepeatedValue | 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 = ..., + uuid_val: _builtins.str = ..., + time_uuid_val: _builtins.str = ..., + uuid_list_val: Global___StringList | None = ..., + time_uuid_list_val: Global___StringList | None = ..., + uuid_set_val: Global___StringSet | None = ..., + time_uuid_set_val: Global___StringSet | None = ..., + list_val: Global___RepeatedValue | None = ..., + set_val: Global___RepeatedValue | None = ..., + decimal_val: _builtins.str = ..., + decimal_list_val: Global___StringList | None = ..., + decimal_set_val: Global___StringSet | 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", "list_val", b"list_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "set_val", b"set_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", "time_uuid_list_val", b"time_uuid_list_val", "time_uuid_set_val", b"time_uuid_set_val", "time_uuid_val", b"time_uuid_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", "uuid_list_val", b"uuid_list_val", "uuid_set_val", b"uuid_set_val", "uuid_val", b"uuid_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", "list_val", b"list_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "set_val", b"set_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", "time_uuid_list_val", b"time_uuid_list_val", "time_uuid_set_val", b"time_uuid_set_val", "time_uuid_val", b"time_uuid_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", "uuid_list_val", b"uuid_list_val", "uuid_set_val", b"uuid_set_val", "uuid_val", b"uuid_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", "uuid_val", "time_uuid_val", "uuid_list_val", "time_uuid_list_val", "uuid_set_val", "time_uuid_set_val", "list_val", "set_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", "decimal_list_val", b"decimal_list_val", "decimal_set_val", b"decimal_set_val", "decimal_val", b"decimal_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", "list_val", b"list_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "set_val", b"set_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", "time_uuid_list_val", b"time_uuid_list_val", "time_uuid_set_val", b"time_uuid_set_val", "time_uuid_val", b"time_uuid_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", "uuid_list_val", b"uuid_list_val", "uuid_set_val", b"uuid_set_val", "uuid_val", b"uuid_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", "decimal_list_val", b"decimal_list_val", "decimal_set_val", b"decimal_set_val", "decimal_val", b"decimal_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", "list_val", b"list_val", "map_list_val", b"map_list_val", "map_val", b"map_val", "null_val", b"null_val", "set_val", b"set_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", "time_uuid_list_val", b"time_uuid_list_val", "time_uuid_set_val", b"time_uuid_set_val", "time_uuid_val", b"time_uuid_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", "uuid_list_val", b"uuid_list_val", "uuid_set_val", b"uuid_set_val", "uuid_val", b"uuid_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", "uuid_val", "time_uuid_val", "uuid_list_val", "time_uuid_list_val", "uuid_set_val", "time_uuid_set_val", "list_val", "set_val", "decimal_val", "decimal_list_val", "decimal_set_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/type_map.py b/sdk/python/feast/type_map.py index 3c1cc5a9380..24816112902 100644 --- a/sdk/python/feast/type_map.py +++ b/sdk/python/feast/type_map.py @@ -165,6 +165,14 @@ def feast_value_type_to_python_type( if val_attr in ("uuid_set_val", "time_uuid_set_val"): return {uuid_module.UUID(v) if isinstance(v, str) else v for v in val} + # Convert DECIMAL values to decimal.Decimal objects + if val_attr == "decimal_val": + return decimal.Decimal(val) if isinstance(val, str) else val + if val_attr == "decimal_list_val": + return [decimal.Decimal(v) if isinstance(v, str) else v for v in val] + if val_attr == "decimal_set_val": + return {decimal.Decimal(v) if isinstance(v, str) else v for v in val} + # Backward compatibility: handle UUIDs stored as string_val/string_list_val with feature_type hint if feature_type in (ValueType.UUID, ValueType.TIME_UUID) and isinstance(val, str): return uuid_module.UUID(val) @@ -227,6 +235,7 @@ def feast_value_type_to_pandas_type(value_type: ValueType) -> Any: ValueType.UNIX_TIMESTAMP: "datetime64[ns]", ValueType.UUID: "str", ValueType.TIME_UUID: "str", + ValueType.DECIMAL: "object", } if ( value_type.name in ("MAP", "JSON", "STRUCT", "VALUE_LIST", "VALUE_SET") @@ -291,6 +300,7 @@ def python_type_to_feast_value_type( "date": ValueType.UNIX_TIMESTAMP, "category": ValueType.STRING, "uuid": ValueType.UUID, + "decimal": ValueType.DECIMAL, } if type_name in type_map: @@ -466,6 +476,9 @@ def _convert_value_type_str_to_value_type(type_str: str) -> ValueType: "TIME_UUID_SET": ValueType.TIME_UUID_SET, "VALUE_LIST": ValueType.VALUE_LIST, "VALUE_SET": ValueType.VALUE_SET, + "DECIMAL": ValueType.DECIMAL, + "DECIMAL_LIST": ValueType.DECIMAL_LIST, + "DECIMAL_SET": ValueType.DECIMAL_SET, } return type_map.get(type_str, ValueType.STRING) @@ -507,6 +520,11 @@ def _type_err(item, dtype): "time_uuid_list_val", [np.str_, str, uuid_module.UUID], ), + ValueType.DECIMAL_LIST: ( + StringList, + "decimal_list_val", + [np.str_, str, decimal.Decimal], + ), } PYTHON_SET_VALUE_TYPE_TO_PROTO_VALUE: Dict[ @@ -538,6 +556,11 @@ def _type_err(item, dtype): "time_uuid_set_val", [np.str_, str, uuid_module.UUID], ), + ValueType.DECIMAL_SET: ( + StringSet, + "decimal_set_val", + [np.str_, str, decimal.Decimal], + ), } PYTHON_SCALAR_VALUE_TYPE_TO_PROTO_VALUE: Dict[ @@ -565,6 +588,7 @@ def _type_err(item, dtype): ValueType.BOOL: ("bool_val", lambda x: x, {bool, np.bool_, int, np.int_}), ValueType.UUID: ("uuid_val", lambda x: str(x), {str, uuid_module.UUID}), ValueType.TIME_UUID: ("time_uuid_val", lambda x: str(x), {str, uuid_module.UUID}), + ValueType.DECIMAL: ("decimal_val", lambda x: str(x), {decimal.Decimal, str}), } @@ -777,6 +801,19 @@ def convert_set_to_list(value: Any) -> Any: for value in converted_values ] + if feast_value_type == ValueType.DECIMAL_SET: + # decimal.Decimal objects must be converted to str for StringSet proto. + return [ + ( + ProtoValue( + **{set_field_name: set_proto_type(val=[str(e) for e in value])} # type: ignore[arg-type, misc] + ) + if value is not None + else ProtoValue() + ) + for value in converted_values + ] + # Generic set conversion return [ ProtoValue(**{set_field_name: set_proto_type(val=value)}) # type: ignore[arg-type] @@ -850,6 +887,19 @@ def _convert_list_values_to_proto( for value in values ] + if feast_value_type == ValueType.DECIMAL_LIST: + # decimal.Decimal objects must be converted to str for StringList proto. + return [ + ( + ProtoValue( + **{field_name: proto_type(val=[str(e) for e in value])} # type: ignore[arg-type, misc] + ) + if value is not None + else ProtoValue() + ) + for value in values + ] + # Generic list conversion return [ ProtoValue(**{field_name: proto_type(val=value)}) # type: ignore[arg-type] @@ -1217,6 +1267,9 @@ def python_values_to_proto_values( "time_uuid_val": ValueType.TIME_UUID, "uuid_list_val": ValueType.UUID_LIST, "time_uuid_list_val": ValueType.TIME_UUID_LIST, + "decimal_val": ValueType.DECIMAL, + "decimal_list_val": ValueType.DECIMAL_LIST, + "decimal_set_val": ValueType.DECIMAL_SET, } VALUE_TYPE_TO_PROTO_VALUE_MAP: Dict[ValueType, str] = { diff --git a/sdk/python/feast/types.py b/sdk/python/feast/types.py index 7c89e74905e..0a97037811b 100644 --- a/sdk/python/feast/types.py +++ b/sdk/python/feast/types.py @@ -27,6 +27,7 @@ "IMAGE_BYTES": "IMAGE_BYTES", "UUID": "UUID", "TIME_UUID": "TIME_UUID", + "DECIMAL": "DECIMAL", "STRING": "STRING", "INT32": "INT32", "INT64": "INT64", @@ -91,6 +92,7 @@ class PrimitiveFeastType(Enum): JSON = 12 UUID = 13 TIME_UUID = 14 + DECIMAL = 15 def to_value_type(self) -> ValueType: """ @@ -127,6 +129,7 @@ def __hash__(self): Json = PrimitiveFeastType.JSON Uuid = PrimitiveFeastType.UUID TimeUuid = PrimitiveFeastType.TIME_UUID +Decimal = PrimitiveFeastType.DECIMAL SUPPORTED_BASE_TYPES = [ Invalid, @@ -144,6 +147,7 @@ def __hash__(self): Json, Uuid, TimeUuid, + Decimal, ] PRIMITIVE_FEAST_TYPES_TO_STRING = { @@ -162,6 +166,7 @@ def __hash__(self): "JSON": "Json", "UUID": "Uuid", "TIME_UUID": "TimeUuid", + "DECIMAL": "Decimal", } @@ -338,6 +343,9 @@ def __hash__(self): ValueType.TIME_UUID_LIST: Array(TimeUuid), ValueType.UUID_SET: Set(Uuid), ValueType.TIME_UUID_SET: Set(TimeUuid), + ValueType.DECIMAL: Decimal, + ValueType.DECIMAL_LIST: Array(Decimal), + ValueType.DECIMAL_SET: Set(Decimal), } FEAST_TYPES_TO_PYARROW_TYPES = { @@ -353,6 +361,7 @@ def __hash__(self): Json: pyarrow.large_string(), Uuid: pyarrow.string(), TimeUuid: pyarrow.string(), + Decimal: pyarrow.string(), } FEAST_VECTOR_TYPES: List[Union[ValueType, PrimitiveFeastType, ComplexFeastType]] = [ diff --git a/sdk/python/feast/value_type.py b/sdk/python/feast/value_type.py index 508493de6d8..f09ae948d9b 100644 --- a/sdk/python/feast/value_type.py +++ b/sdk/python/feast/value_type.py @@ -79,6 +79,9 @@ class ValueType(enum.Enum): TIME_UUID_SET = 41 VALUE_LIST = 42 VALUE_SET = 43 + DECIMAL = 44 + DECIMAL_LIST = 45 + DECIMAL_SET = 46 ListType = Union[ diff --git a/sdk/python/tests/unit/test_type_map.py b/sdk/python/tests/unit/test_type_map.py index e135f44ac6e..863b45dbda2 100644 --- a/sdk/python/tests/unit/test_type_map.py +++ b/sdk/python/tests/unit/test_type_map.py @@ -1555,6 +1555,137 @@ def test_pg_uuid_type_mapping(self): assert pg_type_to_feast_value_type("uuid[]") == ValueType.UUID_LIST +class TestDecimalTypes: + """Test cases for DECIMAL, DECIMAL_LIST, and DECIMAL_SET value types.""" + + def test_decimal_string_roundtrip(self): + """Decimal string -> proto -> decimal.Decimal object roundtrip.""" + import decimal + + val = decimal.Decimal("3.14159265358979323846") + protos = python_values_to_proto_values([str(val)], ValueType.DECIMAL) + assert protos[0].decimal_val == str(val) + + result = feast_value_type_to_python_type(protos[0]) + assert isinstance(result, decimal.Decimal) + assert result == val + + def test_decimal_object_serialization(self): + """decimal.Decimal object -> proto serialization (str conversion automatic).""" + import decimal + + val = decimal.Decimal("99.99") + protos = python_values_to_proto_values([val], ValueType.DECIMAL) + assert protos[0].decimal_val == "99.99" + + def test_decimal_preserves_precision(self): + """High-precision decimal values survive the proto round-trip without loss.""" + import decimal + + high_prec = decimal.Decimal("1.23456789012345678901234567890") + protos = python_values_to_proto_values([high_prec], ValueType.DECIMAL) + result = feast_value_type_to_python_type(protos[0]) + assert result == high_prec + + def test_decimal_negative_value(self): + """Negative decimal values round-trip correctly.""" + import decimal + + val = decimal.Decimal("-9876.543210") + protos = python_values_to_proto_values([val], ValueType.DECIMAL) + result = feast_value_type_to_python_type(protos[0]) + assert result == val + + def test_decimal_zero(self): + """Zero decimal value round-trips correctly.""" + import decimal + + val = decimal.Decimal("0") + protos = python_values_to_proto_values([val], ValueType.DECIMAL) + result = feast_value_type_to_python_type(protos[0]) + assert result == val + + def test_decimal_list_roundtrip(self): + """DECIMAL_LIST string list -> proto -> list of decimal.Decimal roundtrip.""" + import decimal + + vals = [decimal.Decimal("1.1"), decimal.Decimal("2.2"), decimal.Decimal("3.3")] + val_strs = [str(v) for v in vals] + protos = python_values_to_proto_values([val_strs], ValueType.DECIMAL_LIST) + result = feast_value_type_to_python_type(protos[0]) + assert all(isinstance(r, decimal.Decimal) for r in result) + assert result == vals + + def test_decimal_object_list_roundtrip(self): + """List of decimal.Decimal objects -> proto -> list of decimal.Decimal roundtrip.""" + import decimal + + vals = [decimal.Decimal("10.5"), decimal.Decimal("20.75"), decimal.Decimal("30.125")] + protos = python_values_to_proto_values([vals], ValueType.DECIMAL_LIST) + result = feast_value_type_to_python_type(protos[0]) + assert all(isinstance(r, decimal.Decimal) for r in result) + assert result == vals + + def test_decimal_set_roundtrip(self): + """DECIMAL_SET -> proto -> set of decimal.Decimal roundtrip.""" + import decimal + + vals = {decimal.Decimal("1.1"), decimal.Decimal("2.2"), decimal.Decimal("3.3")} + protos = python_values_to_proto_values([vals], ValueType.DECIMAL_SET) + result = feast_value_type_to_python_type(protos[0]) + assert isinstance(result, set) + assert all(isinstance(r, decimal.Decimal) for r in result) + assert result == vals + + def test_decimal_set_deduplication(self): + """Duplicate decimal values in a set are deduplicated.""" + import decimal + + vals = {decimal.Decimal("5.0"), decimal.Decimal("5.0"), decimal.Decimal("6.0")} + protos = python_values_to_proto_values([vals], ValueType.DECIMAL_SET) + result = feast_value_type_to_python_type(protos[0]) + assert isinstance(result, set) + assert len(result) == 2 + + def test_decimal_type_inference(self): + """python_type_to_feast_value_type infers DECIMAL from decimal.Decimal values.""" + import decimal + + from feast.type_map import python_type_to_feast_value_type + + assert ( + python_type_to_feast_value_type("price", decimal.Decimal("1.5")) + == ValueType.DECIMAL + ) + + def test_decimal_value_type_string_conversion(self): + """_convert_value_type_str_to_value_type handles DECIMAL strings.""" + from feast.type_map import _convert_value_type_str_to_value_type + + assert _convert_value_type_str_to_value_type("DECIMAL") == ValueType.DECIMAL + assert _convert_value_type_str_to_value_type("DECIMAL_LIST") == ValueType.DECIMAL_LIST + assert _convert_value_type_str_to_value_type("DECIMAL_SET") == ValueType.DECIMAL_SET + + def test_decimal_proto_field_name_mapping(self): + """PROTO_VALUE_TO_VALUE_TYPE_MAP and VALUE_TYPE_TO_PROTO_VALUE_MAP include DECIMAL.""" + from feast.type_map import ( + PROTO_VALUE_TO_VALUE_TYPE_MAP, + VALUE_TYPE_TO_PROTO_VALUE_MAP, + ) + + assert PROTO_VALUE_TO_VALUE_TYPE_MAP["decimal_val"] == ValueType.DECIMAL + assert PROTO_VALUE_TO_VALUE_TYPE_MAP["decimal_list_val"] == ValueType.DECIMAL_LIST + assert PROTO_VALUE_TO_VALUE_TYPE_MAP["decimal_set_val"] == ValueType.DECIMAL_SET + assert VALUE_TYPE_TO_PROTO_VALUE_MAP[ValueType.DECIMAL] == "decimal_val" + assert VALUE_TYPE_TO_PROTO_VALUE_MAP[ValueType.DECIMAL_LIST] == "decimal_list_val" + assert VALUE_TYPE_TO_PROTO_VALUE_MAP[ValueType.DECIMAL_SET] == "decimal_set_val" + + def test_decimal_pandas_type(self): + """feast_value_type_to_pandas_type returns 'object' for DECIMAL.""" + from feast.type_map import feast_value_type_to_pandas_type + + assert feast_value_type_to_pandas_type(ValueType.DECIMAL) == "object" + class TestNestedCollectionTypes: """Tests for nested collection type proto conversion (VALUE_LIST, VALUE_SET).""" diff --git a/sdk/python/tests/unit/test_types.py b/sdk/python/tests/unit/test_types.py index 638a9bc7297..aa89a1b4c6c 100644 --- a/sdk/python/tests/unit/test_types.py +++ b/sdk/python/tests/unit/test_types.py @@ -5,6 +5,7 @@ from feast.types import ( Array, Bool, + Decimal, Float32, Float64, Int32, @@ -194,6 +195,23 @@ def test_uuid_set_feast_type(): assert from_value_type(set_time_uuid.to_value_type()) == set_time_uuid +def test_decimal_feast_type(): + assert Decimal.to_value_type() == ValueType.DECIMAL + assert from_value_type(ValueType.DECIMAL) == Decimal + + +def test_decimal_array_feast_type(): + array_decimal = Array(Decimal) + assert array_decimal.to_value_type() == ValueType.DECIMAL_LIST + assert from_value_type(array_decimal.to_value_type()) == array_decimal + + +def test_decimal_set_feast_type(): + set_decimal = Set(Decimal) + assert set_decimal.to_value_type() == ValueType.DECIMAL_SET + assert from_value_type(set_decimal.to_value_type()) == set_decimal + + def test_feast_type_str_roundtrip(): """_feast_type_to_str and _str_to_feast_type should roundtrip for nested types.""" from feast.field import _feast_type_to_str, _str_to_feast_type From 27489c14371b0ea5382ef41a748656aaa0406f25 Mon Sep 17 00:00:00 2001 From: Nick Quinn Date: Sat, 4 Apr 2026 17:37:45 -0700 Subject: [PATCH 2/3] Fixed linter issue Signed-off-by: Nick Quinn --- .../protos/feast/core/Aggregation_pb2.pyi | 65 +- .../protos/feast/core/DataFormat_pb2.pyi | 354 +-- .../protos/feast/core/DataSource_pb2.pyi | 711 ++--- .../protos/feast/core/DatastoreTable_pb2.pyi | 70 +- .../feast/protos/feast/core/Entity_pb2.pyi | 181 +- .../protos/feast/core/FeatureService_pb2.pyi | 444 ++- .../protos/feast/core/FeatureTable_pb2.pyi | 213 +- .../feast/core/FeatureViewProjection_pb2.pyi | 135 +- .../feast/core/FeatureViewVersion_pb2.pyi | 103 +- .../protos/feast/core/FeatureView_pb2.pyi | 351 +- .../feast/protos/feast/core/Feature_pb2.pyi | 99 +- .../protos/feast/core/InfraObject_pb2.pyi | 104 +- .../feast/core/OnDemandFeatureView_pb2.pyi | 396 ++- .../protos/feast/core/Permission_pb2.pyi | 225 +- .../feast/protos/feast/core/Policy_pb2.pyi | 172 +- .../feast/protos/feast/core/Project_pb2.pyi | 143 +- .../feast/protos/feast/core/Registry_pb2.pyi | 224 +- .../protos/feast/core/SavedDataset_pb2.pyi | 299 +- .../protos/feast/core/SqliteTable_pb2.pyi | 38 +- .../feast/protos/feast/core/Store_pb2.pyi | 223 +- .../feast/core/StreamFeatureView_pb2.pyi | 280 +- .../protos/feast/core/Transformation_pb2.pyi | 105 +- .../feast/core/ValidationProfile_pb2.pyi | 170 +- .../feast/registry/RegistryServer_pb2.pyi | 2812 ++++++++--------- .../protos/feast/serving/Connector_pb2.pyi | 133 +- .../protos/feast/serving/GrpcServer_pb2.pyi | 238 +- .../feast/serving/ServingService_pb2.pyi | 448 ++- .../serving/TransformationService_pb2.pyi | 145 +- .../feast/protos/feast/storage/Redis_pb2.pyi | 60 +- .../protos/feast/types/EntityKey_pb2.pyi | 48 +- .../feast/protos/feast/types/Field_pb2.pyi | 81 +- sdk/python/tests/unit/test_type_map.py | 25 +- 32 files changed, 4158 insertions(+), 4937 deletions(-) diff --git a/sdk/python/feast/protos/feast/core/Aggregation_pb2.pyi b/sdk/python/feast/protos/feast/core/Aggregation_pb2.pyi index 4b5c1cac9a9..4c6bd7c089c 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 + @property + def time_window(self) -> google.protobuf.duration_pb2.Duration: ... + @property + def slide_interval(self) -> google.protobuf.duration_pb2.Duration: ... + name: builtins.str 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/DataFormat_pb2.pyi b/sdk/python/feast/protos/feast/core/DataFormat_pb2.pyi index fa5291fac26..193fb82a776 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/DataSource_pb2.pyi b/sdk/python/feast/protos/feast/core/DataSource_pb2.pyi index 7244ad5cfec..7876e1adc98 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/DatastoreTable_pb2.pyi b/sdk/python/feast/protos/feast/core/DatastoreTable_pb2.pyi index f9a451e8560..6339a97536e 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/Entity_pb2.pyi b/sdk/python/feast/protos/feast/core/Entity_pb2.pyi index c68f34c6af1..025817edfee 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/FeatureService_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi index 125c198db48..6d5879e52cb 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/FeatureTable_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureTable_pb2.pyi index c6ff726e507..dd41c2d214a 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/FeatureViewProjection_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi index b5b8c976400..6fd1010f2e4 100644 --- a/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureViewProjection_pb2.pyi @@ -2,104 +2,91 @@ @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 - VERSION_TAG_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 + VERSION_TAG_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 - version_tag: _builtins.int - """Optional version tag for version-qualified feature references (e.g., @v2).""" - @_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.""" - + version_tag: builtins.int + """Optional version tag for version-qualified feature references (e.g., @v2).""" 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 = ..., - version_tag: _builtins.int | 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 = ..., + version_tag: builtins.int | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["_version_tag", b"_version_tag", "batch_source", b"batch_source", "stream_source", b"stream_source", "version_tag", b"version_tag"] # noqa: Y015 - def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["_version_tag", b"_version_tag", "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", "version_tag", b"version_tag"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - _WhichOneofReturnType__version_tag: _TypeAlias = _typing.Literal["version_tag"] # noqa: Y015 - _WhichOneofArgType__version_tag: _TypeAlias = _typing.Literal["_version_tag", b"_version_tag"] # noqa: Y015 - def WhichOneof(self, oneof_group: _WhichOneofArgType__version_tag) -> _WhichOneofReturnType__version_tag | None: ... + def HasField(self, field_name: typing_extensions.Literal["_version_tag", b"_version_tag", "batch_source", b"batch_source", "stream_source", b"stream_source", "version_tag", b"version_tag"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["_version_tag", b"_version_tag", "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", "version_tag", b"version_tag"]) -> None: ... + def WhichOneof(self, oneof_group: typing_extensions.Literal["_version_tag", b"_version_tag"]) -> typing_extensions.Literal["version_tag"] | None: ... -Global___FeatureViewProjection: _TypeAlias = FeatureViewProjection # noqa: Y015 +global___FeatureViewProjection = FeatureViewProjection diff --git a/sdk/python/feast/protos/feast/core/FeatureViewVersion_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureViewVersion_pb2.pyi index fae1911f435..a6dba9d53d4 100644 --- a/sdk/python/feast/protos/feast/core/FeatureViewVersion_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureViewVersion_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 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 FeatureViewVersionRecord(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureViewVersionRecord(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - FEATURE_VIEW_NAME_FIELD_NUMBER: _builtins.int - PROJECT_ID_FIELD_NUMBER: _builtins.int - VERSION_NUMBER_FIELD_NUMBER: _builtins.int - FEATURE_VIEW_TYPE_FIELD_NUMBER: _builtins.int - FEATURE_VIEW_PROTO_FIELD_NUMBER: _builtins.int - CREATED_TIMESTAMP_FIELD_NUMBER: _builtins.int - DESCRIPTION_FIELD_NUMBER: _builtins.int - VERSION_ID_FIELD_NUMBER: _builtins.int - feature_view_name: _builtins.str - project_id: _builtins.str - version_number: _builtins.int - feature_view_type: _builtins.str + FEATURE_VIEW_NAME_FIELD_NUMBER: builtins.int + PROJECT_ID_FIELD_NUMBER: builtins.int + VERSION_NUMBER_FIELD_NUMBER: builtins.int + FEATURE_VIEW_TYPE_FIELD_NUMBER: builtins.int + FEATURE_VIEW_PROTO_FIELD_NUMBER: builtins.int + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + VERSION_ID_FIELD_NUMBER: builtins.int + feature_view_name: builtins.str + project_id: builtins.str + version_number: builtins.int + feature_view_type: builtins.str """"feature_view" | "stream_feature_view" | "on_demand_feature_view" """ - feature_view_proto: _builtins.bytes + feature_view_proto: builtins.bytes """serialized FV proto snapshot""" - description: _builtins.str - version_id: _builtins.str + @property + def created_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + description: builtins.str + version_id: builtins.str """auto-generated UUID for unique identification""" - @_builtins.property - def created_timestamp(self) -> _timestamp_pb2.Timestamp: ... def __init__( self, *, - feature_view_name: _builtins.str = ..., - project_id: _builtins.str = ..., - version_number: _builtins.int = ..., - feature_view_type: _builtins.str = ..., - feature_view_proto: _builtins.bytes = ..., - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - description: _builtins.str = ..., - version_id: _builtins.str = ..., + feature_view_name: builtins.str = ..., + project_id: builtins.str = ..., + version_number: builtins.int = ..., + feature_view_type: builtins.str = ..., + feature_view_proto: builtins.bytes = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + description: builtins.str = ..., + version_id: builtins.str = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["created_timestamp", b"created_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_name", b"feature_view_name", "feature_view_proto", b"feature_view_proto", "feature_view_type", b"feature_view_type", "project_id", b"project_id", "version_id", b"version_id", "version_number", b"version_number"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["created_timestamp", b"created_timestamp", "description", b"description", "feature_view_name", b"feature_view_name", "feature_view_proto", b"feature_view_proto", "feature_view_type", b"feature_view_type", "project_id", b"project_id", "version_id", b"version_id", "version_number", b"version_number"]) -> None: ... -Global___FeatureViewVersionRecord: _TypeAlias = FeatureViewVersionRecord # noqa: Y015 +global___FeatureViewVersionRecord = FeatureViewVersionRecord -@_typing.final -class FeatureViewVersionHistory(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureViewVersionHistory(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - RECORDS_FIELD_NUMBER: _builtins.int - @_builtins.property - def records(self) -> _containers.RepeatedCompositeFieldContainer[Global___FeatureViewVersionRecord]: ... + RECORDS_FIELD_NUMBER: builtins.int + @property + def records(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FeatureViewVersionRecord]: ... def __init__( self, *, - records: _abc.Iterable[Global___FeatureViewVersionRecord] | None = ..., + records: collections.abc.Iterable[global___FeatureViewVersionRecord] | None = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["records", b"records"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["records", b"records"]) -> None: ... -Global___FeatureViewVersionHistory: _TypeAlias = FeatureViewVersionHistory # noqa: Y015 +global___FeatureViewVersionHistory = FeatureViewVersionHistory diff --git a/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi index 59addf1b598..a62e275260f 100644 --- a/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi @@ -16,265 +16,234 @@ 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: 19 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 - VERSION_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 + VERSION_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""" - version: _builtins.str - """User-specified version pin (e.g. "latest", "v2", "version2")""" - @_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: + @property + def batch_source(self) -> feast.core.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: + 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. Optional: only required for streaming feature views. """ - - @_builtins.property - def entity_columns(self) -> _containers.RepeatedCompositeFieldContainer[_Feature_pb2.FeatureSpecV2]: + 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""" + version: builtins.str + """User-specified version pin (e.g. "latest", "v2", "version2")""" 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 = ..., - version: _builtins.str = ..., + 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 = ..., + version: builtins.str = ..., ) -> 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", "version", b"version"] # 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", "version", b"version"]) -> 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 - CURRENT_VERSION_NUMBER_FIELD_NUMBER: _builtins.int - VERSION_ID_FIELD_NUMBER: _builtins.int - current_version_number: _builtins.int - """The current version number of this feature view in the version history.""" - version_id: _builtins.str - """Auto-generated UUID identifying this specific version.""" - @_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 + CURRENT_VERSION_NUMBER_FIELD_NUMBER: builtins.int + VERSION_ID_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.""" - + current_version_number: builtins.int + """The current version number of this feature view in the version history.""" + version_id: builtins.str + """Auto-generated UUID identifying this specific version.""" def __init__( self, *, - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., - materialization_intervals: _abc.Iterable[Global___MaterializationInterval] | None = ..., - current_version_number: _builtins.int = ..., - version_id: _builtins.str = ..., + 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 = ..., + current_version_number: builtins.int = ..., + version_id: 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", "current_version_number", b"current_version_number", "last_updated_timestamp", b"last_updated_timestamp", "materialization_intervals", b"materialization_intervals", "version_id", b"version_id"] # 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", "current_version_number", b"current_version_number", "last_updated_timestamp", b"last_updated_timestamp", "materialization_intervals", b"materialization_intervals", "version_id", b"version_id"]) -> 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/Feature_pb2.pyi b/sdk/python/feast/protos/feast/core/Feature_pb2.pyi index 4ee9f23ea4f..aa56630424f 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/InfraObject_pb2.pyi b/sdk/python/feast/protos/feast/core/InfraObject_pb2.pyi index cc9a4193181..f0a704c604a 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/OnDemandFeatureView_pb2.pyi b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.pyi index 9db18736874..42fd91f7725 100644 --- a/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/OnDemandFeatureView_pb2.pyi @@ -16,295 +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. """ - -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: 18""" - 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 - VERSION_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 + VERSION_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 - version: _builtins.str - """User-specified version pin (e.g. "latest", "v2", "version2")""" - @_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""" - + version: builtins.str + """User-specified version pin (e.g. "latest", "v2", "version2")""" 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 = ..., - version: _builtins.str = ..., + 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 = ..., + version: builtins.str = ..., ) -> 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", "version", b"version", "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", "version", b"version", "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 - CURRENT_VERSION_NUMBER_FIELD_NUMBER: _builtins.int - VERSION_ID_FIELD_NUMBER: _builtins.int - current_version_number: _builtins.int - """The current version number of this feature view in the version history.""" - version_id: _builtins.str - """Auto-generated UUID identifying this specific version.""" - @_builtins.property - def created_timestamp(self) -> _timestamp_pb2.Timestamp: + CREATED_TIMESTAMP_FIELD_NUMBER: builtins.int + LAST_UPDATED_TIMESTAMP_FIELD_NUMBER: builtins.int + CURRENT_VERSION_NUMBER_FIELD_NUMBER: builtins.int + VERSION_ID_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""" - + current_version_number: builtins.int + """The current version number of this feature view in the version history.""" + version_id: builtins.str + """Auto-generated UUID identifying this specific version.""" def __init__( self, *, - created_timestamp: _timestamp_pb2.Timestamp | None = ..., - last_updated_timestamp: _timestamp_pb2.Timestamp | None = ..., - current_version_number: _builtins.int = ..., - version_id: _builtins.str = ..., + created_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + last_updated_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., + current_version_number: builtins.int = ..., + version_id: 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", "current_version_number", b"current_version_number", "last_updated_timestamp", b"last_updated_timestamp", "version_id", b"version_id"] # 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", "current_version_number", b"current_version_number", "last_updated_timestamp", b"last_updated_timestamp", "version_id", b"version_id"]) -> 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/Permission_pb2.pyi b/sdk/python/feast/protos/feast/core/Permission_pb2.pyi index 4acc8ac3e1e..b2387d29465 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/Policy_pb2.pyi b/sdk/python/feast/protos/feast/core/Policy_pb2.pyi index 6c8b6e49206..8410e396586 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/Project_pb2.pyi b/sdk/python/feast/protos/feast/core/Project_pb2.pyi index d3844463544..e3cce2ec425 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/Registry_pb2.pyi b/sdk/python/feast/protos/feast/core/Registry_pb2.pyi index 5aafdaf21fd..29bd76323e3 100644 --- a/sdk/python/feast/protos/feast/core/Registry_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/Registry_pb2.pyi @@ -16,144 +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.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 FeatureViewVersion_pb2 as _FeatureViewVersion_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.FeatureViewVersion_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: 19""" - 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 - FEATURE_VIEW_VERSION_HISTORY_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 + FEATURE_VIEW_VERSION_HISTORY_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]: ... - @_builtins.property - def feature_view_version_history(self) -> _FeatureViewVersion_pb2.FeatureViewVersionHistory: ... + @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]: ... + @property + def feature_view_version_history(self) -> feast.core.FeatureViewVersion_pb2.FeatureViewVersionHistory: ... 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 = ..., - feature_view_version_history: _FeatureViewVersion_pb2.FeatureViewVersionHistory | 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 = ..., + feature_view_version_history: feast.core.FeatureViewVersion_pb2.FeatureViewVersionHistory | None = ..., ) -> None: ... - _HasFieldArgType: _TypeAlias = _typing.Literal["feature_view_version_history", b"feature_view_version_history", "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_view_version_history", b"feature_view_version_history", "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["feature_view_version_history", b"feature_view_version_history", "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_view_version_history", b"feature_view_version_history", "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/SavedDataset_pb2.pyi b/sdk/python/feast/protos/feast/core/SavedDataset_pb2.pyi index e2c1fb27c4f..47525b64ede 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/SqliteTable_pb2.pyi b/sdk/python/feast/protos/feast/core/SqliteTable_pb2.pyi index 43d97f7d188..10ecebf362b 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/Store_pb2.pyi b/sdk/python/feast/protos/feast/core/Store_pb2.pyi index 718654b267c..5ee957d184f 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/StreamFeatureView_pb2.pyi b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.pyi index e794d2615dc..b4ab6a9a016 100644 --- a/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/StreamFeatureView_pb2.pyi @@ -16,202 +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. """ - -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: 22""" - 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 - VERSION_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 + VERSION_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""" - version: _builtins.str - """User-specified version pin (e.g. "latest", "v2", "version2")""" - @_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""" + version: builtins.str + """User-specified version pin (e.g. "latest", "v2", "version2")""" 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 = ..., - version: _builtins.str = ..., + 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 = ..., + version: builtins.str = ..., ) -> 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", "version", b"version"] # 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", "version", b"version"]) -> None: ... -Global___StreamFeatureViewSpec: _TypeAlias = StreamFeatureViewSpec # noqa: Y015 +global___StreamFeatureViewSpec = StreamFeatureViewSpec diff --git a/sdk/python/feast/protos/feast/core/Transformation_pb2.pyi b/sdk/python/feast/protos/feast/core/Transformation_pb2.pyi index d8aacf9f812..fb56ab5bc73 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/ValidationProfile_pb2.pyi b/sdk/python/feast/protos/feast/core/ValidationProfile_pb2.pyi index 16cc081f054..93da1e0f5e8 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/registry/RegistryServer_pb2.pyi b/sdk/python/feast/protos/feast/registry/RegistryServer_pb2.pyi index 7dd137bc89e..a1f1b99365d 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/serving/Connector_pb2.pyi b/sdk/python/feast/protos/feast/serving/Connector_pb2.pyi index 2c5e8c34eb0..f87109e0fa5 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/GrpcServer_pb2.pyi b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi index ccb171c91a6..a83cd87a16e 100644 --- a/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi +++ b/sdk/python/feast/protos/feast/serving/GrpcServer_pb2.pyi @@ -2,182 +2,162 @@ @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 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 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 + 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 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 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.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: ... - - 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 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.types.Value_pb2.Value]: ... 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 = ..., + typed_features: collections.abc.Mapping[builtins.str, feast.types.Value_pb2.Value] | None = ..., ) -> 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", "typed_features", b"typed_features"]) -> 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 + 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 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 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.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: ... - - 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 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.types.Value_pb2.Value]: ... 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 = ..., + typed_features: collections.abc.Mapping[builtins.str, feast.types.Value_pb2.Value] | None = ..., ) -> 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", "typed_features", b"typed_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/ServingService_pb2.pyi b/sdk/python/feast/protos/feast/serving/ServingService_pb2.pyi index 4bc0922f628..1804ce0428e 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,345 +77,300 @@ 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 - INCLUDE_FEATURE_VIEW_VERSION_METADATA_FIELD_NUMBER: _builtins.int - feature_service: _builtins.str - full_feature_names: _builtins.bool - include_feature_view_version_metadata: _builtins.bool - """Whether to include feature view version metadata in the response""" - @_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 + INCLUDE_FEATURE_VIEW_VERSION_METADATA_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 """ - + include_feature_view_version_metadata: builtins.bool + """Whether to include feature view version metadata in the response""" 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 = ..., - include_feature_view_version_metadata: _builtins.bool = ..., + 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 = ..., + include_feature_view_version_metadata: builtins.bool = ..., ) -> 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", "include_feature_view_version_metadata", b"include_feature_view_version_metadata", "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", "include_feature_view_version_metadata", b"include_feature_view_version_metadata", "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 FeatureViewMetadata(_message.Message): - DESCRIPTOR: _descriptor.Descriptor +class FeatureViewMetadata(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: _builtins.int - VERSION_FIELD_NUMBER: _builtins.int - name: _builtins.str + NAME_FIELD_NUMBER: builtins.int + VERSION_FIELD_NUMBER: builtins.int + name: builtins.str """Feature view name (e.g., "driver_stats")""" - version: _builtins.int + version: builtins.int """Version number (e.g., 2)""" def __init__( self, *, - name: _builtins.str = ..., - version: _builtins.int = ..., + name: builtins.str = ..., + version: builtins.int = ..., ) -> None: ... - _ClearFieldArgType: _TypeAlias = _typing.Literal["name", b"name", "version", b"version"] # noqa: Y015 - def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "version", b"version"]) -> None: ... -Global___FeatureViewMetadata: _TypeAlias = FeatureViewMetadata # noqa: Y015 +global___FeatureViewMetadata = FeatureViewMetadata -@_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 - FEATURE_VIEW_METADATA_FIELD_NUMBER: _builtins.int - @_builtins.property - def feature_names(self) -> Global___FeatureList: + FEATURE_NAMES_FIELD_NUMBER: builtins.int + FEATURE_VIEW_METADATA_FIELD_NUMBER: builtins.int + @property + def feature_names(self) -> global___FeatureList: """Clean feature names without @v2 syntax""" - - @_builtins.property - def feature_view_metadata(self) -> _containers.RepeatedCompositeFieldContainer[Global___FeatureViewMetadata]: + @property + def feature_view_metadata(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FeatureViewMetadata]: """Only populated when requested""" - def __init__( self, *, - feature_names: Global___FeatureList | None = ..., - feature_view_metadata: _abc.Iterable[Global___FeatureViewMetadata] | None = ..., + feature_names: global___FeatureList | None = ..., + feature_view_metadata: collections.abc.Iterable[global___FeatureViewMetadata] | 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", "feature_view_metadata", b"feature_view_metadata"] # 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", "feature_view_metadata", b"feature_view_metadata"]) -> None: ... -Global___GetOnlineFeaturesResponseMetadata: _TypeAlias = GetOnlineFeaturesResponseMetadata # noqa: Y015 +global___GetOnlineFeaturesResponseMetadata = GetOnlineFeaturesResponseMetadata diff --git a/sdk/python/feast/protos/feast/serving/TransformationService_pb2.pyi b/sdk/python/feast/protos/feast/serving/TransformationService_pb2.pyi index f21ebfd05f8..3e0752b7bdd 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/storage/Redis_pb2.pyi b/sdk/python/feast/protos/feast/storage/Redis_pb2.pyi index 906e4d7076e..74cc2b07f0a 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/types/EntityKey_pb2.pyi b/sdk/python/feast/protos/feast/types/EntityKey_pb2.pyi index 1570e2853a6..fe65e0c1b32 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/Field_pb2.pyi b/sdk/python/feast/protos/feast/types/Field_pb2.pyi index 76b7c33250d..28a21942378 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/tests/unit/test_type_map.py b/sdk/python/tests/unit/test_type_map.py index 863b45dbda2..69b7cf40c12 100644 --- a/sdk/python/tests/unit/test_type_map.py +++ b/sdk/python/tests/unit/test_type_map.py @@ -1620,7 +1620,11 @@ def test_decimal_object_list_roundtrip(self): """List of decimal.Decimal objects -> proto -> list of decimal.Decimal roundtrip.""" import decimal - vals = [decimal.Decimal("10.5"), decimal.Decimal("20.75"), decimal.Decimal("30.125")] + vals = [ + decimal.Decimal("10.5"), + decimal.Decimal("20.75"), + decimal.Decimal("30.125"), + ] protos = python_values_to_proto_values([vals], ValueType.DECIMAL_LIST) result = feast_value_type_to_python_type(protos[0]) assert all(isinstance(r, decimal.Decimal) for r in result) @@ -1663,8 +1667,14 @@ def test_decimal_value_type_string_conversion(self): from feast.type_map import _convert_value_type_str_to_value_type assert _convert_value_type_str_to_value_type("DECIMAL") == ValueType.DECIMAL - assert _convert_value_type_str_to_value_type("DECIMAL_LIST") == ValueType.DECIMAL_LIST - assert _convert_value_type_str_to_value_type("DECIMAL_SET") == ValueType.DECIMAL_SET + assert ( + _convert_value_type_str_to_value_type("DECIMAL_LIST") + == ValueType.DECIMAL_LIST + ) + assert ( + _convert_value_type_str_to_value_type("DECIMAL_SET") + == ValueType.DECIMAL_SET + ) def test_decimal_proto_field_name_mapping(self): """PROTO_VALUE_TO_VALUE_TYPE_MAP and VALUE_TYPE_TO_PROTO_VALUE_MAP include DECIMAL.""" @@ -1674,10 +1684,14 @@ def test_decimal_proto_field_name_mapping(self): ) assert PROTO_VALUE_TO_VALUE_TYPE_MAP["decimal_val"] == ValueType.DECIMAL - assert PROTO_VALUE_TO_VALUE_TYPE_MAP["decimal_list_val"] == ValueType.DECIMAL_LIST + assert ( + PROTO_VALUE_TO_VALUE_TYPE_MAP["decimal_list_val"] == ValueType.DECIMAL_LIST + ) assert PROTO_VALUE_TO_VALUE_TYPE_MAP["decimal_set_val"] == ValueType.DECIMAL_SET assert VALUE_TYPE_TO_PROTO_VALUE_MAP[ValueType.DECIMAL] == "decimal_val" - assert VALUE_TYPE_TO_PROTO_VALUE_MAP[ValueType.DECIMAL_LIST] == "decimal_list_val" + assert ( + VALUE_TYPE_TO_PROTO_VALUE_MAP[ValueType.DECIMAL_LIST] == "decimal_list_val" + ) assert VALUE_TYPE_TO_PROTO_VALUE_MAP[ValueType.DECIMAL_SET] == "decimal_set_val" def test_decimal_pandas_type(self): @@ -1686,6 +1700,7 @@ def test_decimal_pandas_type(self): assert feast_value_type_to_pandas_type(ValueType.DECIMAL) == "object" + class TestNestedCollectionTypes: """Tests for nested collection type proto conversion (VALUE_LIST, VALUE_SET).""" From 1c19b7f9cd472ce0b29a21273dd3f77be82223a0 Mon Sep 17 00:00:00 2001 From: Nick Quinn Date: Sat, 4 Apr 2026 18:07:45 -0700 Subject: [PATCH 3/3] Devin feedback Signed-off-by: Nick Quinn --- sdk/python/feast/type_map.py | 6 ++++++ sdk/python/tests/unit/test_type_map.py | 29 ++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/sdk/python/feast/type_map.py b/sdk/python/feast/type_map.py index 24816112902..691a398c8ef 100644 --- a/sdk/python/feast/type_map.py +++ b/sdk/python/feast/type_map.py @@ -1569,6 +1569,9 @@ def _convert_value_name_to_snowflake_udf(value_name: str, project_name: str) -> "TIME_UUID_LIST": f"feast_{project_name}_snowflake_array_varchar_to_list_string_proto", "UUID_SET": f"feast_{project_name}_snowflake_array_varchar_to_list_string_proto", "TIME_UUID_SET": f"feast_{project_name}_snowflake_array_varchar_to_list_string_proto", + "DECIMAL": f"feast_{project_name}_snowflake_varchar_to_string_proto", + "DECIMAL_LIST": f"feast_{project_name}_snowflake_array_varchar_to_list_string_proto", + "DECIMAL_SET": f"feast_{project_name}_snowflake_array_varchar_to_list_string_proto", } return name_map[value_name].upper() @@ -1830,6 +1833,9 @@ def feast_value_type_to_pa( ValueType.TIME_UUID_LIST: pyarrow.list_(pyarrow.string()), ValueType.UUID_SET: pyarrow.list_(pyarrow.string()), ValueType.TIME_UUID_SET: pyarrow.list_(pyarrow.string()), + ValueType.DECIMAL: pyarrow.string(), + ValueType.DECIMAL_LIST: pyarrow.list_(pyarrow.string()), + ValueType.DECIMAL_SET: pyarrow.list_(pyarrow.string()), } return type_map[feast_type] diff --git a/sdk/python/tests/unit/test_type_map.py b/sdk/python/tests/unit/test_type_map.py index 69b7cf40c12..8ec854d64a0 100644 --- a/sdk/python/tests/unit/test_type_map.py +++ b/sdk/python/tests/unit/test_type_map.py @@ -1700,6 +1700,35 @@ def test_decimal_pandas_type(self): assert feast_value_type_to_pandas_type(ValueType.DECIMAL) == "object" + def test_decimal_pyarrow_type(self): + """feast_value_type_to_pa returns pyarrow.string() for DECIMAL scalar/list/set.""" + import pyarrow + + from feast.type_map import feast_value_type_to_pa + + assert feast_value_type_to_pa(ValueType.DECIMAL) == pyarrow.string() + assert feast_value_type_to_pa(ValueType.DECIMAL_LIST) == pyarrow.list_( + pyarrow.string() + ) + assert feast_value_type_to_pa(ValueType.DECIMAL_SET) == pyarrow.list_( + pyarrow.string() + ) + + def test_decimal_snowflake_udf(self): + """_convert_value_name_to_snowflake_udf maps DECIMAL types to varchar UDFs.""" + from feast.type_map import _convert_value_name_to_snowflake_udf + + project = "myproject" + assert _convert_value_name_to_snowflake_udf("DECIMAL", project) == ( + f"FEAST_{project.upper()}_SNOWFLAKE_VARCHAR_TO_STRING_PROTO" + ) + assert _convert_value_name_to_snowflake_udf("DECIMAL_LIST", project) == ( + f"FEAST_{project.upper()}_SNOWFLAKE_ARRAY_VARCHAR_TO_LIST_STRING_PROTO" + ) + assert _convert_value_name_to_snowflake_udf("DECIMAL_SET", project) == ( + f"FEAST_{project.upper()}_SNOWFLAKE_ARRAY_VARCHAR_TO_LIST_STRING_PROTO" + ) + class TestNestedCollectionTypes: """Tests for nested collection type proto conversion (VALUE_LIST, VALUE_SET)."""