mirror of
https://github.com/clearml/clearml
synced 2025-01-31 17:17:00 +00:00
Fix deprecation warning
This commit is contained in:
parent
b26bc09ade
commit
8142796e15
@ -125,7 +125,7 @@ def get_http_session_with_retry(
|
||||
session.trust_env = False
|
||||
|
||||
if backoff_max is not None:
|
||||
Retry.BACKOFF_MAX = backoff_max
|
||||
Retry.DEFAULT_BACKOFF_MAX = backoff_max
|
||||
|
||||
retry = Retry(
|
||||
total=total, connect=connect, read=read, redirect=redirect, status=status,
|
||||
|
@ -35,7 +35,7 @@ class ModelsList(UserList):
|
||||
|
||||
|
||||
class TaskModels(UserDict):
|
||||
_input_models_re = re.compile(pattern=r"((?i)(Using model id: )(\w+)?)", flags=0)
|
||||
_input_models_re = re.compile(pattern=r"((Using model id: )(\w+)?)", flags=re.IGNORECASE)
|
||||
|
||||
@property
|
||||
def input(self):
|
||||
|
Loading…
Reference in New Issue
Block a user