Skip to content

Instantly share code, notes, and snippets.

@thunderInfy
Created May 27, 2021 21:14
Show Gist options
  • Save thunderInfy/ea1c62546d13b0f06b728716214010c5 to your computer and use it in GitHub Desktop.
Save thunderInfy/ea1c62546d13b0f06b728716214010c5 to your computer and use it in GitHub Desktop.
data = None
if 'centers' in R.keys():
data = R['centers']
if sum([j['available_capacity_dose1'] for i in data for j in i['sessions'] if j['min_age_limit'] <= 18]) > 0:
dial()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment