We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As mentioned in this PR #15, in each page we initialize the session state variables relevant to the page, e.g. on module Anomalies Plot.py we do
Anomalies Plot.py
if "eac4_anomalies_start_date" not in st.session_state: st.session_state["eac4_anomalies_start_date"] = datetime(2022, 1, 1) if "eac4_anomalies_end_date" not in st.session_state: st.session_state["eac4_anomalies_end_date"] = datetime(2022, 12, 31) if "eac4_anomalies_times" not in st.session_state: st.session_state["eac4_anomalies_times"] = ["00:00"]
Is there a better way? Maybe initialize all used vars in session state at the beginning of the program? Or using a config file?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As mentioned in this PR #15, in each page we initialize the session state variables relevant to the page, e.g. on module
Anomalies Plot.py
we doIs there a better way? Maybe initialize all used vars in session state at the beginning of the program? Or using a config file?
The text was updated successfully, but these errors were encountered: