-
-
Save jdyke/5d797b5afc643ee27ea6378dc922c1cb to your computer and use it in GitHub Desktop.
unique_headers
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 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