Skip to content

Commit ce11a6b

Browse files
committed
Remove __all__ from __init__.py files
1 parent 4ffdeda commit ce11a6b

File tree

7 files changed

+16
-22
lines changed

7 files changed

+16
-22
lines changed

CHANGELOG.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
CHANGELOG
33
=========
44

5+
1.16.4.dev
6+
==========
7+
8+
* bug-fix: Remove ``__all__`` from ``__init__.py`` files
9+
510
1.16.3
611
======
712

8-
* bug-fix: Local Mode: Allow support for SSH in local mode
13+
* bug-fix: Local Mode: Allow support for SSH in local mode
914
* bug-fix: Append retry id to default Airflow job name to avoid name collisions in retry
1015
* bug-fix: Local Mode: No longer requires s3 permissions to run local entry point file
1116
* feature: Estimators: add support for PyTorch 1.0.0

src/sagemaker/chainer/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@
1212
# language governing permissions and limitations under the License.
1313
from __future__ import absolute_import
1414

15-
from sagemaker.chainer.estimator import Chainer
16-
from sagemaker.chainer.model import ChainerModel, ChainerPredictor
17-
18-
__all__ = [Chainer, ChainerModel, ChainerPredictor]
15+
from sagemaker.chainer.estimator import Chainer # noqa: F401
16+
from sagemaker.chainer.model import ChainerModel, ChainerPredictor # noqa: F401

src/sagemaker/local/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@
1212
# language governing permissions and limitations under the License.
1313
from __future__ import absolute_import
1414

15-
from .local_session import (file_input, LocalSession, LocalSagemakerRuntimeClient,
16-
LocalSagemakerClient)
17-
18-
__all__ = [file_input, LocalSession, LocalSagemakerClient, LocalSagemakerRuntimeClient]
15+
from .local_session import (file_input, LocalSagemakerClient, # noqa: F401
16+
LocalSagemakerRuntimeClient, LocalSession)

src/sagemaker/pytorch/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# ANY KIND, either express or implied. See the License for the specific
1212
# language governing permissions and limitations under the License.
1313
from __future__ import absolute_import
14-
from sagemaker.pytorch.estimator import PyTorch
15-
from sagemaker.pytorch.model import PyTorchModel, PyTorchPredictor
1614

17-
__all__ = [PyTorch, PyTorchModel, PyTorchPredictor]
15+
from sagemaker.pytorch.estimator import PyTorch # noqa: F401
16+
from sagemaker.pytorch.model import PyTorchModel, PyTorchPredictor # noqa: F401

src/sagemaker/rl/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@
1212
# language governing permissions and limitations under the License.
1313
from __future__ import absolute_import
1414

15-
from sagemaker.rl.estimator import (RLEstimator, RLToolkit, RLFramework,
15+
from sagemaker.rl.estimator import (RLEstimator, RLFramework, RLToolkit, # noqa: F401
1616
TOOLKIT_FRAMEWORK_VERSION_MAP)
17-
18-
__all__ = [RLEstimator, RLToolkit, RLFramework, TOOLKIT_FRAMEWORK_VERSION_MAP]

src/sagemaker/sklearn/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@
1212
# language governing permissions and limitations under the License.
1313
from __future__ import absolute_import
1414

15-
from sagemaker.sklearn.estimator import SKLearn
16-
from sagemaker.sklearn.model import SKLearnModel, SKLearnPredictor
17-
18-
__all__ = [SKLearn, SKLearnModel, SKLearnPredictor]
15+
from sagemaker.sklearn.estimator import SKLearn # noqa: F401
16+
from sagemaker.sklearn.model import SKLearnModel, SKLearnPredictor # noqa: F401

src/sagemaker/sparkml/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@
1212
# language governing permissions and limitations under the License.
1313
from __future__ import absolute_import
1414

15-
from sagemaker.sparkml.model import SparkMLModel, SparkMLPredictor
16-
17-
__all__ = [SparkMLModel, SparkMLPredictor]
15+
from sagemaker.sparkml.model import SparkMLModel, SparkMLPredictor # noqa: F401

0 commit comments

Comments
 (0)