Skip to content

Commit d2f018e

Browse files
authored
Change module names to string type in __all__ (#173)
1 parent 4cd443e commit d2f018e

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

CHANGELOG.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@
22
CHANGELOG
33
=========
44

5+
1.2.dev5
6+
========
7+
8+
* bug-fix: Change module names to string type in __all__
9+
510
1.2.4
611
=====
712

813
* feature: Estimators: add support for Amazon Random Cut Forest algorithm
914

1015
1.2.3
11-
=========
16+
=====
17+
1218
* bug-fix: Fix local mode not using the right s3 bucket
1319

1420
1.2.2

src/sagemaker/__init__.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
from sagemaker.session import get_execution_role
3434

3535

36-
__all__ = [estimator, KMeans, KMeansModel, KMeansPredictor, PCA, PCAModel, PCAPredictor, LinearLearner,
37-
LinearLearnerModel, LinearLearnerPredictor,
38-
LDA, LDAModel, LDAPredictor,
39-
FactorizationMachines, FactorizationMachinesModel, FactorizationMachinesPredictor,
40-
RandomCutForest, RandomCutForestModel, RandomCutForestPredictor,
41-
Model, NTM, NTMModel, NTMPredictor, RealTimePredictor, Session, LocalSession,
42-
container_def, s3_input, production_variant, get_execution_role]
36+
__all__ = ['estimator', 'KMeans', 'KMeansModel', 'KMeansPredictor', 'PCA', 'PCAModel', 'PCAPredictor', 'LinearLearner',
37+
'LinearLearnerModel', 'LinearLearnerPredictor',
38+
'LDA', 'LDAModel', 'LDAPredictor',
39+
'FactorizationMachines', 'FactorizationMachinesModel', 'FactorizationMachinesPredictor',
40+
'RandomCutForest', 'RandomCutForestModel', 'RandomCutForestPredictor',
41+
'Model', 'NTM', 'NTMModel', 'NTMPredictor', 'RealTimePredictor', 'Session', 'LocalSession',
42+
'container_def', 's3_input', 'production_variant', 'get_execution_role']

src/sagemaker/mxnet/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
from sagemaker.mxnet.estimator import MXNet
1414
from sagemaker.mxnet.model import MXNetModel, MXNetPredictor
1515

16-
__all__ = [MXNet, MXNetModel, MXNetPredictor]
16+
__all__ = ['MXNet', 'MXNetModel', 'MXNetPredictor']

src/sagemaker/tensorflow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
from sagemaker.tensorflow.estimator import TensorFlow # noqa: E402
2929
from sagemaker.tensorflow.model import TensorFlowModel, TensorFlowPredictor # noqa: E402
3030

31-
__all__ = [TensorFlow, TensorFlowModel, TensorFlowPredictor]
31+
__all__ = ['TensorFlow', 'TensorFlowModel', 'TensorFlowPredictor']

0 commit comments

Comments
 (0)