evalai-cli icon indicating copy to clipboard operation
evalai-cli copied to clipboard

Remove replication of code to get current host

Open nikochiko opened this issue 6 years ago • 2 comments

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.

nikochiko avatar Jan 19 '20 08:01 nikochiko

I would like to work on this issue

ayu023ban avatar Feb 07 '21 05:02 ayu023ban

Sure!

RishabhJain2018 avatar Feb 07 '21 05:02 RishabhJain2018