-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[python] support rest token refresh #7007
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
[python] support rest token refresh #7007
Conversation
| from cachetools import TTLCache | ||
|
|
||
|
|
||
| class RESTTokenFileIO(FileIO): |
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.
Maybe we should do a refactor? FileIO should be an interface.
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.
Maybe we should do a refactor? FileIO should be an interface.
refactored in #7040, and rebased master. This PR is now ready again.
f1a0306 to
8a40c6f
Compare
54456d0 to
5b8c6e7
Compare
5b8c6e7 to
e8bc801
Compare
JingsongLi
left a comment
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.
+1
Purpose
Linked issue: close #xxx
Tests
rest_token_file_io_test.pyAPI and Format
Documentation