mirror of
https://github.com/clearml/clearml
synced 2025-02-01 01:26:49 +00:00
Store the version that matching the Session API so we do not reload every time
This commit is contained in:
parent
a425a70fc6
commit
070fd8149a
@ -31,7 +31,7 @@ class ApiServiceProxy(object):
|
|||||||
]])
|
]])
|
||||||
|
|
||||||
version = str(min(Version(Session.api_version), ApiServiceProxy._max_available_version))
|
version = str(min(Version(Session.api_version), ApiServiceProxy._max_available_version))
|
||||||
self.__dict__["__wrapped_version__"] = version
|
self.__dict__["__wrapped_version__"] = Session.api_version
|
||||||
name = ".v{}.{}".format(
|
name = ".v{}.{}".format(
|
||||||
version.replace(".", "_"), self.__dict__.get("__wrapped_name__")
|
version.replace(".", "_"), self.__dict__.get("__wrapped_name__")
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user