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
Added url validation for starting with http, https #20
Added url validation for starting with http, https #20
Conversation
Added server url validation, ClientConfigurationError Exception
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.
You will also need to add a unit test case to cover this new exception. Let me know if you need any help.
@WingCode Thanks for your pull request. I have reviewed it and requested some changes above. |
Refactor changelog for cleaner statement from review Co-authored-by: Hayk Sargsyan <52532457+hay-k@users.noreply.github.com>
Improved url schema check with "http:", "https:" and better exception message from review Co-authored-by: Hayk Sargsyan <52532457+hay-k@users.noreply.github.com>
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.
Addressed review comments. Fix changelog, IQM client, added tests.
Added empty line at end of file to comply with PEP 8 standard Co-authored-by: Hayk Sargsyan <52532457+hay-k@users.noreply.github.com>
The validation (starting with http, https) is expected by the docstring but not enforced.
It might be helpful to fail early and fast since there might be some prior resource intensive steps before utilising the IQM client.