-
Notifications
You must be signed in to change notification settings - Fork 999
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add __all__ exports to Python SDK (#587)
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
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
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", | ||
] |