Skip to content

Instantly share code, notes, and snippets.

@jdyke
Last active June 11, 2020 12:43
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 jdyke/5d797b5afc643ee27ea6378dc922c1cb to your computer and use it in GitHub Desktop.
Save jdyke/5d797b5afc643ee27ea6378dc922c1cb to your computer and use it in GitHub Desktop.
unique_headers
def unique_headers(keys):
headers = {}
for key_data in keys:
for field in key_data:
headers[field] = True
return headers.keys()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment