Commit Graph

61 Commits

Author SHA1 Message Date
allegroai
8049b89de1 Do not disable loggers by default 2020-10-30 09:51:02 +02:00
allegroai
a3e53a727f Refactor APIClient 2020-10-30 09:49:55 +02:00
allegroai
aeb1a8e64b Automatically increase write (connection) timeouts when session header is large (default 15kb threshold 300 sec timeout) 2020-10-12 11:07:52 +03:00
allegroai
ce09a78578 Use specific default_demo_host (default_host may be overridden by Task.set_credentials) 2020-10-04 16:52:28 +03:00
Shaked Klein Orbach
7590d601f7 add support for TRAINS_NO_DEFAULT_SERVER issue #209 2020-10-01 19:54:05 +03:00
Shaked Klein Orbach
e1c5aeed06 add support for TRAINS_NO_DEFAULT_SERVER issue #209 2020-10-01 19:54:05 +03:00
allegroai
8e859503f6 Don't raise error for batch requests with no items 2020-09-29 19:10:00 +03:00
allegroai
ab9487c4e0 Update Session API version according to max server reported version 2020-09-29 19:09:07 +03:00
allegroai
6bc9d705a0 Fix available versions loading 2020-09-15 18:14:05 +03:00
allegroai
7eedd30097 pep8 2020-09-09 22:06:04 +03:00
allegroai
b710c2f19d Fix OS env var TRAINS_OFFLINE_MODE set to API version (e.g. 2.9) 2020-08-08 12:49:33 +03:00
allegroai
e378de1e41 Add multi configuration section support (hyperparams and configurations)
Support setting offline mode API version using TRAINS_OFFLINE_MODE env var
2020-08-08 12:35:03 +03:00
allegroai
6d4e85de0a Add Trains Server API v2.9 support 2020-08-08 12:31:20 +03:00
allegroai
23394a265d flake8 + change ModuleNotFoundError to ImportError (support py 2.7/3.5) 2020-07-30 15:07:25 +03:00
allegroai
a8d6380696 Add offline support using Task.set_offline() and Task.import_offline_session() 2020-07-30 15:03:22 +03:00
allegroai
d1744785b1 flake8 2020-07-04 22:52:09 +03:00
allegroai
01d497451e Fix models and projects api client access 2020-06-19 00:44:38 +03:00
allegroai
2784a48c47 Embed jsonmodels v2.4 package 2020-06-13 22:08:57 +03:00
allegroai
7173a16a16 Update docstrings 2020-06-11 21:15:40 +03:00
allegroai
ac986d05f1 Add APIClient support 2020-06-11 15:08:45 +03:00
allegroai
5475d00d52 Add missing Task types in scheme 2020-06-11 14:47:14 +03:00
allegroai
dcd16abd3b Add new task types and support for Server API version 2.8 2020-05-31 12:11:48 +03:00
allegroai
77d71819e8 Add Session.get_clients() 2020-05-31 12:00:00 +03:00
allegroai
96f899d028 Fix documentation and layout (PEP8) 2020-05-24 08:16:12 +03:00
allegroai
95105cbe6a Add automation support including hyper-parameters optimization 2020-05-22 12:00:07 +03:00
allegroai
63ca84a84f Allow worker_id override using environment variable 2020-05-22 10:20:43 +03:00
allegroai
13ce783fa3 Check for updates based on session version 2020-04-26 22:53:18 +03:00
allegroai
070fd8149a Store the version that matching the Session API so we do not reload every time 2020-04-09 11:35:51 +03:00
allegroai
a425a70fc6 Add api.ssl_error_count_verbosity and make sure SSL retries are taken care by the session 2020-04-09 11:33:55 +03:00
allegroai
abc9b512f7 Fix logging typos 2020-03-22 18:03:25 +02:00
allegroai
667ddcab88 Fix import for services that do not exist in old versions 2020-03-20 10:16:48 +02:00
allegroai
9fd3b98b24 Fix session error to print the instance host and not the class host 2020-02-18 11:23:06 +02:00
allegroai
8585d7e134 Avoid retries when verifying invalid credentials 2020-01-06 17:05:37 +02:00
allegroai
62d5535351 Fix requests issue in python 2.7 that can cause a deadlock when importing netrc 2020-01-02 11:58:02 +02:00
allegroai
ddeece1f57 Add support for API v2.5 2019-12-30 18:34:28 +02:00
allegroai
0be981fbc1 Fix check_min_api_version to use a default session if none was created 2019-12-21 18:28:10 +02:00
allegroai
09257b7247 Fix files http/s host ending with / 2019-11-28 00:48:48 +02:00
allegroai
7af2d0c9d7 Improve trains-init configuration wizard 2019-11-23 01:25:17 +02:00
allegroai
603d42792d Fix jsonschema deprecation warning 2019-11-15 22:00:21 +02:00
allegroai
3527f743a6 Improved check trains package updates 2019-10-28 22:01:01 +02:00
allegroai
81cf2d2261 Embed pyhocon into package, and extend parsing capabilities. 2019-10-25 15:16:18 +03:00
allegroai
ac2ea09403 Add trains-server api version 2.4 support 2019-10-25 15:13:41 +03:00
allegroai
99a702d149 Add artifacts upload retries (default 3) 2019-10-05 15:25:48 +03:00
allegroai
9e930a6894 Fix urllib retry warning suppression 2019-10-04 01:33:37 +03:00
allegroai
0cbc99b16d Removed deprecated call 2019-09-25 00:30:46 +03:00
allegroai
0b4f00af4d Restructured Logger with nice clean interface.
Breaking changes: Logger no longer supports info/error/warning console() replaced with report_text()
2019-09-23 18:40:13 +03:00
allegroai
b98c821cf9 Fix task cloning 2019-09-15 00:02:23 +03:00
allegroai
27ca36687a Add support for upcoming trains-server 2019-09-13 17:08:27 +03:00
allegroai
5b48322b55 Add support for upcoming trains-server 2019-09-13 17:07:48 +03:00
allegroai
64ba30df13 Stability and cleanups 2019-09-03 12:58:01 +03:00