Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OPIK-111] - opik configure fixes (api key checking, interactive envi…
…ronment handling etc) (#313) * add unit test * add unit test part II * add unit test part III * add unit test part IV * add unit test part V * add unit test part VII * add unit test chapter VIII * add unit test chapter IX * add unit test chapter XI * add unit test chapter XII * add mock for env vars and config file * add is_interactive() * move configure() to separated module * move configure() unit tests to separated module * simplified update config * add non-interactive mode handling * add on-premise url handling * save new config file if force=True or user was prompted for input * remove outdated unit tests * fix import * fix import * handle cloud/on-premise urls properly * fix saving/updating session credentials * make most all methods private * fix cloud/on-prem url handling * fix non-interactive mode while using local instance --------- Co-authored-by: Aliaksandr Kuzmik <[email protected]> Co-authored-by: Andres Cruz <[email protected]>
- Loading branch information