Skip to content

Commit 839e51e

Browse files
VenishPaneliyantkathole
authored andcommitted
docs: Document DataSource's timestamps as attributes, not arguments
DataSource lists created_timestamp and last_updated_timestamp in its Args block, but __init__ is keyword-only and accepts neither, so passing them raises TypeError. They are registry-populated attributes. Entity documents the same two fields, with the same wording, under an Attributes section; move DataSource's to match. Signed-off-by: VenishPaneliya <141703684+VenishPaneliya@users.noreply.github.com>
1 parent c3c1f4d commit 839e51e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎sdk/python/feast/data_source.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ class DataSource(ABC):
197197
When set, OfflineStores resolve connection type and credentials at runtime
198198
via the registered CredentialProvider instead of using ambient env vars or
199199
the global offline_store config. All fields except provider and name are optional.
200+
201+
Attributes:
200202
created_timestamp: The time when the data source was created.
201203
last_updated_timestamp: The time when the data source was last updated.
202204
"""

0 commit comments

Comments
 (0)