mirror of
https://github.com/clearml/clearml
synced 2025-01-31 17:17:00 +00:00
Fix error message
This commit is contained in:
parent
381b856b57
commit
5b38590756
@ -243,7 +243,7 @@ class Session(TokenManager):
|
|||||||
def_method = str(self.config.get("api.http.default_method", None)).strip()
|
def_method = str(self.config.get("api.http.default_method", None)).strip()
|
||||||
if def_method.upper() not in ("GET", "POST", "PUT"):
|
if def_method.upper() not in ("GET", "POST", "PUT"):
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"api.http.default_method variable must be 'get' or 'post' (any case is allowed)."
|
"api.http.default_method variable must be 'get', 'post' or 'put' (any case is allowed)."
|
||||||
)
|
)
|
||||||
Request.def_method = def_method
|
Request.def_method = def_method
|
||||||
Request._method = Request.def_method
|
Request._method = Request.def_method
|
||||||
|
Loading…
Reference in New Issue
Block a user