Created
November 20, 2021 20:38
-
-
Save tianhaoz95/61622b511ef04c0caf446835f214584d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def fetch_feature_flags() -> set[str]: | |
default_features = ['summary', 'monthly_spending', 'spending_by_category'] | |
optional_features = ['raw_table'] | |
return set( | |
st.sidebar.multiselect('Features', | |
default_features + optional_features, | |
default_features)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment