Skip to content

Instantly share code, notes, and snippets.

@tianhaoz95
Created November 20, 2021 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tianhaoz95/61622b511ef04c0caf446835f214584d to your computer and use it in GitHub Desktop.
Save tianhaoz95/61622b511ef04c0caf446835f214584d to your computer and use it in GitHub Desktop.
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