-
Notifications
You must be signed in to change notification settings - Fork 2
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
✨ Call access_aws
for all paths and cache
#762
Conversation
389af04
to
7148bff
Compare
access_aws
for all paths and cache
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.
Looks great! 😄
@@ -235,6 +236,12 @@ def root(self) -> UPath: | |||
if self._root is None: | |||
# below makes network requests to get credentials | |||
self._root = create_path(self._root_init, access_token=self.access_token) | |||
elif getattr(self._root, "protocol", "") == "s3": | |||
# this is needed to be sure that the root always have nonexpired credentials |
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.
to fix: has
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.
So, this cannot yet be merged? 🤔
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.
Not it can be.
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.
Great, in that case I'll merge and start playing with it!
No description provided.