Created
April 18, 2023 18:48
-
-
Save julie-mills/38e52f50ebd263dd9105e48f4ac077ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from feast import FeatureStore | |
from datetime import datetime | |
def run_server(): | |
store = FeatureStore(repo_path=".") | |
# Materialize all data within our ttl (50 hours) from the offline(parquet file) | |
# store to online store(Rockset). | |
store.materialize_incremental(end_date=datetime.utcnow()) | |
store.serve(host="127.0.0.1", port=6566, type_="http", no_access_log=True, no_feature_log=True) | |
if __name__ == "__main__": | |
run_server() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment