-
Notifications
You must be signed in to change notification settings - Fork 36
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
Login widget #28
Login widget #28
Conversation
except Exception as error: | ||
message = str(error) | ||
# Print result (success message or error) | ||
login_token_widget.children = [widgets.Label(line) for line in message.split("\n") if line.strip()] |
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.
Those this allow you to try again with a new set of 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.
no, you would have to run kagglehub.login() again in your notebook. if we make it automatically allow the user to login again, we would need to put a maximum number of retries i think? because else, if our server is down or the user forgot his credentials, it will keep popping up
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 job adding this widget :)
https://screenshot.googleplex.com/7AKptttU88EFCj6