Skip to content

Commit e5445a2

Browse files
committed
update doc
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
1 parent 95f757d commit e5445a2

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

sdk/python/feast/batch_feature_view.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ class BatchFeatureView(FeatureView):
4141
schema: The schema of the feature view, including feature, timestamp, and entity
4242
columns. If not specified, can be inferred from the underlying data source.
4343
source: The batch source of data where this group of features is stored.
44-
online: A boolean indicating whether online retrieval is enabled for this feature view.
44+
online: A boolean indicating whether online retrieval and write to online store is enabled for this feature view.
45+
offline: A boolean indicating whether offline retrieval and write to offline store is enabled for this feature view.
4546
description: A human-readable description.
4647
tags: A dictionary of key-value pairs to store arbitrary metadata.
4748
owner: The owner of the batch feature view, typically the email of the primary maintainer.
@@ -77,7 +78,7 @@ def __init__(
7778
entities: Optional[List[Entity]] = None,
7879
ttl: Optional[timedelta] = None,
7980
tags: Optional[Dict[str, str]] = None,
80-
online: bool = True,
81+
online: bool = False,
8182
offline: bool = True,
8283
description: str = "",
8384
owner: str = "",

sdk/python/feast/stream_feature_view.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ class StreamFeatureView(FeatureView):
5757
aggregations: List of aggregations registered with the stream feature view.
5858
mode: The mode of execution.
5959
timestamp_field: Must be specified if aggregations are specified. Defines the timestamp column on which to aggregate windows.
60-
online: A boolean indicating whether online retrieval is enabled for this feature view.
60+
online: A boolean indicating whether online retrieval, and write to online store is enabled for this feature view.
61+
offline: A boolean indicating whether offline retrieval, and write to offline store is enabled for this feature view.
6162
description: A human-readable description.
6263
tags: A dictionary of key-value pairs to store arbitrary metadata.
6364
owner: The owner of the stream feature view, typically the email of the primary maintainer.

0 commit comments

Comments
 (0)