Skip to content

Commit ef6e469

Browse files
authored
Merge branch 'zwei' into serde-compatability
2 parents 68843c1 + 4746868 commit ef6e469

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+163
-1356
lines changed

doc/v2.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,28 @@ Please instantiate the objects instead.
9494
The ``update_endpoint`` argument in ``deploy()`` methods for estimators and models has been deprecated.
9595
Please use :func:`sagemaker.predictor.Predictor.update_endpoint` instead.
9696

97+
``sagemaker.content_types``
98+
---------------------------
99+
100+
The ``sagemaker.content_types`` module is removed in v2.0 and later of the
101+
SageMaker Python SDK.
102+
103+
Instead of importing constants from ``sagemaker.content_types``, explicitly
104+
write MIME types as a string,
105+
106+
+-------------------------------+--------------------------------+
107+
| v1.x | v2.0 and later |
108+
+===============================+================================+
109+
| ``CONTENT_TYPE_JSON`` | ``"application/json"`` |
110+
+-------------------------------+--------------------------------+
111+
| ``CONTENT_TYPE_CSV`` | ``"text/csv"`` |
112+
+-------------------------------+--------------------------------+
113+
| ``CONTENT_TYPE_OCTET_STREAM`` | ``"application/octet-stream"`` |
114+
+-------------------------------+--------------------------------+
115+
| ``CONTENT_TYPE_NPY`` | ``"application/x-npy"`` |
116+
+-------------------------------+--------------------------------+
117+
118+
97119
Require ``framework_version`` and ``py_version`` for Frameworks
98120
===============================================================
99121

examples/cli/host/data/model.json

Lines changed: 0 additions & 126 deletions
This file was deleted.

examples/cli/host/data/model.params

-428 KB
Binary file not shown.

examples/cli/host/run_hosting_example.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/cli/host/script.py

Lines changed: 0 additions & 45 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

examples/cli/train/download_training_data.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

examples/cli/train/hyperparameters.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

examples/cli/train/run_training_example.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/cli/train/script.py

Lines changed: 0 additions & 158 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ def read_version():
103103
extras_require=extras,
104104
entry_points={
105105
"console_scripts": [
106-
"sagemaker=sagemaker.cli.main:main",
107106
"sagemaker-upgrade-v2=sagemaker.cli.compatibility.v2.sagemaker_upgrade_v2:main",
108107
]
109108
},

0 commit comments

Comments
 (0)