mirror of
https://github.com/clearml/clearml
synced 2025-03-03 18:52:12 +00:00
Change Auto Scaler defaults from None to empty-string
This commit is contained in:
parent
747ec6df26
commit
9b1a18bf4d
@ -15,10 +15,10 @@ from ..backend_api.session.client import APIClient
|
|||||||
class AutoScaler(object):
|
class AutoScaler(object):
|
||||||
@attr.s
|
@attr.s
|
||||||
class Settings(object):
|
class Settings(object):
|
||||||
git_user = attr.ib(default=None)
|
git_user = attr.ib(default="")
|
||||||
git_pass = attr.ib(default=None)
|
git_pass = attr.ib(default="")
|
||||||
cloud_credentials_key = attr.ib(default=None)
|
cloud_credentials_key = attr.ib(default="")
|
||||||
cloud_credentials_secret = attr.ib(default=None)
|
cloud_credentials_secret = attr.ib(default="")
|
||||||
cloud_credentials_region = attr.ib(default=None)
|
cloud_credentials_region = attr.ib(default=None)
|
||||||
default_docker_image = attr.ib(default="nvidia/cuda")
|
default_docker_image = attr.ib(default="nvidia/cuda")
|
||||||
max_idle_time_min = attr.ib(validator=instance_of(int), default=15)
|
max_idle_time_min = attr.ib(validator=instance_of(int), default=15)
|
||||||
|
Loading…
Reference in New Issue
Block a user