実現したいこと
cookieの日数設定のエラーを直したい
発生している問題・分からないこと
cookieの日数設定でエラーがでた
エラーメッセージ
error
1TypeError: Authenticate.__init__() got multiple values for argument 'cookie_expiry_days' 2Traceback: 3File "C:\Users\ryush\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 535, in _run_script 4 exec(code, module.__dict__) 5File "C:\Users\ryush\Desktop\okamon\ryushin\main.py", line 21, in <module> 6 authenticator = stauth.Authenticate( 7 ^^^^^^^^^^^^^^^^^^^^
該当のソースコード
python
1authenticator = stauth.Authenticate(2 names, usernames, hashed_passwords,3 "sales_dashboard", "abcdef", cookie_expiry_days = 30)
試したこと・調べたこと
上記の詳細・結果
日数設定が複数になっていると書いてあったので修正しても直りませんでした
補足
特になし
0 コメント