Skip to content

Instantly share code, notes, and snippets.

@kuharan
Created July 11, 2021 18:23
Show Gist options
  • Save kuharan/268a5b545cfc91a6129cc8488aeca26d to your computer and use it in GitHub Desktop.
Save kuharan/268a5b545cfc91a6129cc8488aeca26d to your computer and use it in GitHub Desktop.
def filter_specification(all_specifications):
filtered = [item for item in all_specifications if item['jobType'].lower()=='backup']
return filtered
all_backup_specification = filter_specification(all_specifications)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment