Skip to content

Commit d8bed89

Browse files
committed
fix: format feature_store and update materialize docstrings
Signed-off-by: Shizoqua <hr.lanreshittu@yahoo.com>
1 parent c309c53 commit d8bed89

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

sdk/python/feast/feature_store.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,9 +1477,6 @@ def materialize_incremental(
14771477
>>> from datetime import datetime, timedelta
14781478
>>> fs = FeatureStore(repo_path="project/feature_repo")
14791479
>>> fs.materialize_incremental(end_date=_utc_now() - timedelta(minutes=5))
1480-
Materializing...
1481-
<BLANKLINE>
1482-
...
14831480
"""
14841481
_print_materializing_banner()
14851482
feature_views_to_materialize = self._get_feature_views_to_materialize(
@@ -1600,9 +1597,6 @@ def materialize(
16001597
>>> fs.materialize(
16011598
... start_date=_utc_now() - timedelta(hours=3), end_date=_utc_now() - timedelta(minutes=10)
16021599
... )
1603-
Materializing...
1604-
<BLANKLINE>
1605-
...
16061600
"""
16071601
_print_materializing_banner()
16081602
if utils.make_tzaware(start_date) > utils.make_tzaware(end_date):
@@ -1634,7 +1628,9 @@ def materialize(
16341628
)
16351629
continue
16361630
provider = self._get_provider()
1637-
logger.info(f"{Style.BRIGHT + Fore.GREEN}{feature_view.name}{Style.RESET_ALL}:")
1631+
logger.info(
1632+
f"{Style.BRIGHT + Fore.GREEN}{feature_view.name}{Style.RESET_ALL}:"
1633+
)
16381634

16391635
def tqdm_builder(length):
16401636
return tqdm(total=length, ncols=100)

0 commit comments

Comments
 (0)