Skip to content

Commit fe69025

Browse files
authored
doc: include FrameworkModel and ModelPackage in API docs (#833)
1 parent 9eb95c9 commit fe69025

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

doc/model.rst

+10
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,13 @@ Model
55
:members:
66
:undoc-members:
77
:show-inheritance:
8+
9+
.. autoclass:: sagemaker.model.FrameworkModel
10+
:members:
11+
:undoc-members:
12+
:show-inheritance:
13+
14+
.. autoclass:: sagemaker.model.ModelPackage
15+
:members:
16+
:undoc-members:
17+
:show-inheritance:

src/sagemaker/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def __init__(self, model_data, image, role, entry_point, source_dir=None, predic
375375
entry_point (str): Path (absolute or relative) to the Python source file which should be executed
376376
as the entry point to model hosting. This should be compatible with either Python 2.7 or Python 3.5.
377377
source_dir (str): Path (absolute or relative) to a directory with any other training
378-
source code dependencies aside from tne entry point file (default: None). Structure within this
378+
source code dependencies aside from the entry point file (default: None). Structure within this
379379
directory will be preserved when training on SageMaker.
380380
If the directory points to S3, no code will be uploaded and the S3 location will be used instead.
381381
dependencies (list[str]): A list of paths to directories (absolute or relative) with

0 commit comments

Comments
 (0)