aws-samples / aws-samples/sagemaker-ssh-helper

Connection wait time value not behaving as expected.

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
261
Forks
34
PR merge metrics
No merged PRs in 30d

Description

```
ssh_wrapper = SSHEstimatorWrapper.create(estimator, connection_wait_time_seconds=0)
```
Seems passing this does not take effect, I need to manually stop sm-wait even though the wait time is 0. I was able to resolve it by doing:
```
ssh_wrapper = SSHEstimatorWrapper.create(estimator, connection_wait_time_seconds=0, connection_wait_time=timedelta(seconds=0))
```

Seems like either there is a bug or the docs need to be updated

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.