Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor configurable options and add sphinx docs #1174

Merged
merged 12 commits into from
Nov 19, 2020
9 changes: 8 additions & 1 deletion sdk/python/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,11 @@ Feature

.. automodule:: feast.feature
:inherited-members:
:members:
:members:

Constants
==================

.. automodule:: feast.constants
:members:
:exclude-members: AuthProvider, ConfigMeta
6 changes: 3 additions & 3 deletions sdk/python/feast/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

from feast.client import Client
from feast.config import Config
from feast.constants import CONFIG_SPARK_LAUNCHER
from feast.constants import ConfigOptions as opt
from feast.entity import Entity
from feast.feature_table import FeatureTable
from feast.job_service import start_job_service
Expand Down Expand Up @@ -422,7 +422,7 @@ def stop_stream_to_online(feature_table: str):
Stop stream to online sync job
"""

spark_launcher = Config().get(CONFIG_SPARK_LAUNCHER)
spark_launcher = Config().get(opt.SPARK_LAUNCHER)

if spark_launcher == "emr":
import feast.pyspark.aws.jobs
Expand All @@ -441,7 +441,7 @@ def list_jobs():
"""
from tabulate import tabulate

spark_launcher = Config().get(CONFIG_SPARK_LAUNCHER)
spark_launcher = Config().get(opt.SPARK_LAUNCHER)

if spark_launcher == "emr":
import feast.pyspark.aws.jobs
Expand Down
Loading