Skip to content

Commit 0095ecd

Browse files
committed
Updating docs
1 parent 71daa92 commit 0095ecd

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
* Get EMR step state
6262
* Athena query to receive the result as python primitives (*Iterable[Dict[str, Any]*)
6363
* Load and Unzip SageMaker jobs outputs
64+
* Load and Unzip SageMaker models
6465
* Redshift -> Parquet (S3)
6566
* Aurora -> CSV (S3) (MySQL) (NEW :star:)
6667

@@ -417,6 +418,14 @@ for row in wr.athena.query(query="...", database="..."):
417418
```py3
418419
import awswrangler as wr
419420

421+
outputs = wr.sagemaker.get_model("JOB_NAME")
422+
```
423+
424+
#### Load and unzip SageMaker job output
425+
426+
```py3
427+
import awswrangler as wr
428+
420429
outputs = wr.sagemaker.get_job_outputs("JOB_NAME")
421430
```
422431

docs/source/examples.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,15 @@ Athena query to receive the result as python primitives (Iterable[Dict[str, Any]
370370
for row in wr.athena.query(query="...", database="..."):
371371
print(row)
372372
373+
Load and unzip SageMaker model
374+
``````````````````````````````
375+
376+
.. code-block:: python
377+
378+
import awswrangler as wr
379+
380+
outputs = wr.sagemaker.get_model("JOB_NAME")
381+
373382
Load and unzip SageMaker job output
374383
```````````````````````````````````
375384

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ General
5454
* Get EMR step state
5555
* Athena query to receive the result as python primitives (*Iterable[Dict[str, Any]*)
5656
* Load and Unzip SageMaker jobs outputs
57+
* Load and Unzip SageMaker models
5758
* Redshift -> Parquet (S3)
5859
* Aurora -> CSV (S3) (MySQL) (NEW :star:)
5960

0 commit comments

Comments
 (0)