-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
ux: Provide helpful link to documentation when error due to missing API token #1364
ux: Provide helpful link to documentation when error due to missing API token #1364
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1364 +/- ##
===========================================
+ Coverage 84.19% 84.34% +0.14%
===========================================
Files 38 38
Lines 5303 5315 +12
===========================================
+ Hits 4465 4483 +18
+ Misses 838 832 -6 ☔ View full report in Codecov by Sentry. |
1a1049d
to
2a66b51
Compare
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.
minor change to text 📖
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.
If test pass, LGTM!
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.
🐍
502ce27
to
0bbd67d
Compare
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.
Print statements, huh?
Was debugging with it xx, it's not ready yet, still some errors it seems |
bfd485d
to
a845535
Compare
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.
LGTM
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.
LGTM
Simply provides a direct link to the following whenever there is an error with a specific code (search "provide API key") when requesting to an endpoint.
Link given: https://openml.github.io/openml-python/main/examples/20_basic/introduction_tutorial.html#authentication
EDIT: Also found out that some
autouse
fixtures were not being triggered ifpytest
was only being called on a particular file. I moved theseautouse
fixtures intotests/conftest.py
which means they will now be triggered.Also I required temporarily disabling the
"apikey"
in the config, hence there was a small context manager added to enable this behaviour.