Skip to content

Commit 1332fec

Browse files
committed
Add online store to feature view protos
1 parent 9efa138 commit 1332fec

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

sdk/python/feast/protos/feast/core/FeatureView_pb2.py

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/python/feast/protos/feast/core/FeatureView_pb2.pyi

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ class FeatureViewSpec(google.protobuf.message.Message):
6565
TTL_FIELD_NUMBER: builtins.int
6666
BATCH_SOURCE_FIELD_NUMBER: builtins.int
6767
STREAM_SOURCE_FIELD_NUMBER: builtins.int
68+
ONLINE_SOURCE_FIELD_NUMBER: builtins.int
6869
ONLINE_FIELD_NUMBER: builtins.int
6970
name: typing.Text = ...
7071
"""Name of the feature view. Must be unique. Not updated."""
@@ -110,6 +111,10 @@ class FeatureViewSpec(google.protobuf.message.Message):
110111
def stream_source(self) -> feast.core.DataSource_pb2.DataSource:
111112
"""Streaming DataSource from where this view can consume "online" feature data."""
112113
pass
114+
@property
115+
def online_source(self) -> feast.core.DataSource_pb2.DataSource:
116+
"""Online DataSource which can find and rehydrate online features [DISCORD]"""
117+
pass
113118
online: builtins.bool = ...
114119
"""Whether these features should be served online or not"""
115120

@@ -126,10 +131,11 @@ class FeatureViewSpec(google.protobuf.message.Message):
126131
ttl : typing.Optional[google.protobuf.duration_pb2.Duration] = ...,
127132
batch_source : typing.Optional[feast.core.DataSource_pb2.DataSource] = ...,
128133
stream_source : typing.Optional[feast.core.DataSource_pb2.DataSource] = ...,
134+
online_source : typing.Optional[feast.core.DataSource_pb2.DataSource] = ...,
129135
online : builtins.bool = ...,
130136
) -> None: ...
131-
def HasField(self, field_name: typing_extensions.Literal["batch_source",b"batch_source","stream_source",b"stream_source","ttl",b"ttl"]) -> builtins.bool: ...
132-
def ClearField(self, field_name: typing_extensions.Literal["batch_source",b"batch_source","description",b"description","entities",b"entities","entity_columns",b"entity_columns","features",b"features","name",b"name","online",b"online","owner",b"owner","project",b"project","stream_source",b"stream_source","tags",b"tags","ttl",b"ttl"]) -> None: ...
137+
def HasField(self, field_name: typing_extensions.Literal["batch_source",b"batch_source","online_source",b"online_source","stream_source",b"stream_source","ttl",b"ttl"]) -> builtins.bool: ...
138+
def ClearField(self, field_name: typing_extensions.Literal["batch_source",b"batch_source","description",b"description","entities",b"entities","entity_columns",b"entity_columns","features",b"features","name",b"name","online",b"online","online_source",b"online_source","owner",b"owner","project",b"project","stream_source",b"stream_source","tags",b"tags","ttl",b"ttl"]) -> None: ...
133139
global___FeatureViewSpec = FeatureViewSpec
134140

135141
class FeatureViewMeta(google.protobuf.message.Message):

0 commit comments

Comments
 (0)