Cloud-CV / Cloud-CV/evalai-cli

Remove replication of code to get current host

Open
#264 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
57
Forks
70
PR merge metrics
No merged PRs in 30d

Description

The code to fetch the current host URL is repeated in these two places:
* https://github.com/Cloud-CV/evalai-cli/blob/master/evalai/set_host.py#L14
* https://github.com/Cloud-CV/evalai-cli/blob/master/evalai/utils/auth.py#L88-L100

The util method get_host_url can be used in the host command instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.