-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor login command #268
base: master
Are you sure you want to change the base?
Conversation
@takitsuse Also can you move the refactored code to and use login.py just as a wrapper. This would enable us to keep all the functionality in one place and click wrappers in one place. |
@pushkalkatara I got it. I'll make changes after school classes end. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved by mistake
Can you please fix the tests
@vkartik97 I'm struggling to do so. The added test passes but it somehow affects other tests. |
@vkartik97 By the way, could you take a look at #263? I think the PR very important to know the actual code coverage. |
@vkartik97 After a bitter fight, I successfully fixed the build. Please take another look 👍 |
Changes:
I removed the code duplication between:
https://github.com/Cloud-CV/evalai-cli/blob/master/evalai/login.py#L21-L25
https://github.com/Cloud-CV/evalai-cli/blob/master/evalai/login.py#L29-L33
@vkartik97 @yashdusing @RishabhJain2018 @pushkalkatara @Ram81
Could you take a look? Thanks in advance!