@@ -18,6 +18,7 @@ limitations under the License.
1818"""
1919import builtins
2020import collections .abc
21+ import feast .core .Aggregation_pb2
2122import feast .core .DataSource_pb2
2223import feast .core .FeatureViewProjection_pb2
2324import feast .core .FeatureView_pb2
@@ -108,6 +109,7 @@ class OnDemandFeatureViewSpec(google.protobuf.message.Message):
108109 ENTITIES_FIELD_NUMBER : builtins .int
109110 ENTITY_COLUMNS_FIELD_NUMBER : builtins .int
110111 SINGLETON_FIELD_NUMBER : builtins .int
112+ AGGREGATIONS_FIELD_NUMBER : builtins .int
111113 name : builtins .str
112114 """Name of the feature view. Must be unique. Not updated."""
113115 project : builtins .str
@@ -139,6 +141,9 @@ class OnDemandFeatureViewSpec(google.protobuf.message.Message):
139141 def entity_columns (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [feast .core .Feature_pb2 .FeatureSpecV2 ]:
140142 """List of specifications for each entity defined as part of this feature view."""
141143 singleton : builtins .bool
144+ @property
145+ def aggregations (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [feast .core .Aggregation_pb2 .Aggregation ]:
146+ """Aggregation definitions"""
142147 def __init__ (
143148 self ,
144149 * ,
@@ -156,9 +161,10 @@ class OnDemandFeatureViewSpec(google.protobuf.message.Message):
156161 entities : collections .abc .Iterable [builtins .str ] | None = ...,
157162 entity_columns : collections .abc .Iterable [feast .core .Feature_pb2 .FeatureSpecV2 ] | None = ...,
158163 singleton : builtins .bool = ...,
164+ aggregations : collections .abc .Iterable [feast .core .Aggregation_pb2 .Aggregation ] | None = ...,
159165 ) -> None : ...
160166 def HasField (self , field_name : typing_extensions .Literal ["feature_transformation" , b"feature_transformation" , "user_defined_function" , b"user_defined_function" ]) -> builtins .bool : ...
161- def ClearField (self , field_name : typing_extensions .Literal ["description" , b"description" , "entities" , b"entities" , "entity_columns" , b"entity_columns" , "feature_transformation" , b"feature_transformation" , "features" , b"features" , "mode" , b"mode" , "name" , b"name" , "owner" , b"owner" , "project" , b"project" , "singleton" , b"singleton" , "sources" , b"sources" , "tags" , b"tags" , "user_defined_function" , b"user_defined_function" , "write_to_online_store" , b"write_to_online_store" ]) -> None : ...
167+ def ClearField (self , field_name : typing_extensions .Literal ["aggregations" , b"aggregations" , " description" , b"description" , "entities" , b"entities" , "entity_columns" , b"entity_columns" , "feature_transformation" , b"feature_transformation" , "features" , b"features" , "mode" , b"mode" , "name" , b"name" , "owner" , b"owner" , "project" , b"project" , "singleton" , b"singleton" , "sources" , b"sources" , "tags" , b"tags" , "user_defined_function" , b"user_defined_function" , "write_to_online_store" , b"write_to_online_store" ]) -> None : ...
162168
163169global___OnDemandFeatureViewSpec = OnDemandFeatureViewSpec
164170
0 commit comments