Skip to content

Commit 495a030

Browse files
author
pintaoz
committed
Fix codestyle
1 parent 212fba1 commit 495a030

File tree

3 files changed

+6
-65
lines changed

3 files changed

+6
-65
lines changed

src/sagemaker/djl_inference/model.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ def __init__(
9797
None. If not provided, the default is 240 seconds.
9898
prediction_timeout (int): The worker predict call (handler) timeout in seconds.
9999
Defaults to None. If not provided, the default is 120 seconds.
100-
predictor_cls (Callable[[string, sagemaker.session.Session], Any]): A function to call to create a
101-
predictor with an endpoint name and SageMaker ``Session``. If specified,
102-
``deploy()`` returns
103-
the result of invoking this function on the created endpoint name.
100+
predictor_cls (Callable[[string, sagemaker.session.Session], Any]): A function to call
101+
to create a predictor with an endpoint name and SageMaker ``Session``. If
102+
specified, ``deploy()`` returns the result of invoking this function on the created
103+
endpoint name.
104104
huggingface_hub_token (str): The HuggingFace Hub token to use for downloading the model
105105
artifacts for a model stored on the huggingface hub.
106106
Defaults to None. If not provided, the token must be specified in the

src/sagemaker/xgboost/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ def __init__(
113113
(default: 'py3').
114114
framework_version (str): XGBoost version you want to use for executing your model
115115
training code.
116-
predictor_cls (Callable[[string, sagemaker.session.Session], Any]): A function to call to create
117-
a predictor with an endpoint name and SageMaker ``Session``.
116+
predictor_cls (Callable[[string, sagemaker.session.Session], Any]): A function to call
117+
to create a predictor with an endpoint name and SageMaker ``Session``.
118118
If specified, ``deploy()`` returns the result of invoking this function on the
119119
created endpoint name.
120120
model_server_workers (int or PipelineVariable): Optional. The number of worker processes

tests/integ/sagemaker/modules/train/test.py

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

0 commit comments

Comments
 (0)