25
25
CreateModelInput ,
26
26
TrainingInput ,
27
27
TransformInput ,
28
+ FileSystemInput
28
29
)
29
30
from sagemaker .model import Model
30
31
from sagemaker .processing import (
44
45
Properties ,
45
46
)
46
47
47
-
48
48
class StepTypeEnum (Enum , metaclass = DefaultEnumMeta ):
49
49
"""Enum of step types."""
50
50
@@ -145,7 +145,7 @@ def __init__(
145
145
self ,
146
146
name : str ,
147
147
estimator : EstimatorBase ,
148
- inputs : Union [TrainingInput , dict , str ] = None ,
148
+ inputs : Union [TrainingInput , dict , str , FileSystemInput ] = None ,
149
149
cache_config : CacheConfig = None ,
150
150
depends_on : List [str ] = None ,
151
151
):
@@ -157,7 +157,8 @@ def __init__(
157
157
Args:
158
158
name (str): The name of the training step.
159
159
estimator (EstimatorBase): A `sagemaker.estimator.EstimatorBase` instance.
160
- inputs (str or dict or sagemaker.inputs.TrainingInput): Information
160
+ inputs (str or dict or sagemaker.inputs.TrainingInput
161
+ or sagemaker.inputs.FileSystemInput): Information
161
162
about the training data. This can be one of three types:
162
163
163
164
* (str) the S3 location where training data is saved, or a file:// path in
@@ -169,7 +170,7 @@ def __init__(
169
170
that can provide additional information as well as the path to the training
170
171
dataset.
171
172
See :func:`sagemaker.inputs.TrainingInput` for full details.
172
- * (sagemaker.session .FileSystemInput) - channel configuration for
173
+ * (sagemaker.inputs .FileSystemInput) - channel configuration for
173
174
a file system data source that can provide additional information as well as
174
175
the path to the training dataset.
175
176
0 commit comments