Skip to content

Commit

Permalink
Add __all__ exports to Python SDK (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
woop authored Mar 29, 2020
1 parent 880269b commit 314369d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions sdk/python/feast/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
from pkg_resources import DistributionNotFound, get_distribution

from .client import Client
from .entity import Entity
from .feature import Feature
from .feature_set import FeatureSet
from .source import KafkaSource, Source
from .value_type import ValueType

try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
# package is not installed
pass

__all__ = [
"Client",
"Entity",
"Feature",
"FeatureSet",
"Source",
"KafkaSource",
"ValueType",
]

0 comments on commit 314369d

Please sign in to comment.