[go: nahoru, domu]

Skip to content
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

fix/streamlit-auth-issue #114

Merged
merged 1 commit into from
Feb 2, 2024
Merged

fix/streamlit-auth-issue #114

merged 1 commit into from
Feb 2, 2024

Conversation

david-hummingbot
Copy link
Contributor
  • fixes error below because of update to streamlit-authenticator library

"DeprecationError: Likely deprecation error, the 'form_name' parameter has been replaced with the 'fields' parameter. For further information please refer to https://github.com/mkhorasani/Streamlit-Authenticator?tab=readme-ov-file#2-creating-a-login-widget

Traceback:
File "/home/vago/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
exec(code, module.dict)
File "/home/vago/hummingBot/dashboard/main.py", line 119, in
name, authentication_status, username = st.session_state.authenticator.login('Login', 'main')
File "/home/vago/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit_authenticator/authenticate.py", line 241, in login
raise DeprecationError("""Likely deprecation error, the 'form_name' parameter has been replaced"

Copy link
Contributor
@cardosofede cardosofede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@cardosofede cardosofede merged commit 73722c2 into main Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants