Skip to content

Instantly share code, notes, and snippets.

@CJ-Wright
Created November 30, 2017 20:58
Show Gist options
  • Save CJ-Wright/470d3950008f5fb4cc451477383fb512 to your computer and use it in GitHub Desktop.
Save CJ-Wright/470d3950008f5fb4cc451477383fb512 to your computer and use it in GitHub Desktop.
def filter_positions():
filters = ['flt1', 'flt2', 'flt3', 'flt4']
return {k: getattr(fb, k).value, for k in filters}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment