Created
June 27, 2019 16:06
-
-
Save matthewoestreich/57bddbb6f5f864e80e6805c354982aa3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# instantiate it | |
getVeeamLinks = lambda z: {dic["Type"] : dic["Href"] for dic in z for key in dic.keys() if key == 'Type'} | |
# invoke it | |
allLinks = getVeeamLinks(lod) # where 'lod' is your list of dicts | |
print(allLinks) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment