nat236919 / covid19-api

API for exploring COVID-19 cases around the globe
https://nuttaphat.com/covid19-api/
MIT License
119 stars 63 forks source link

added observers in covid_api_v2_integrator.py #282

Closed PresidentKevvol closed 1 year ago

PresidentKevvol commented 3 years ago

Related Issue:

None for now

Proposed Changes

added 'abstract' observer class that future contributors can implement added an 'observers' field in CovidAPIv2Integrator (a list that can contain observers) added code in each public getter method in CovidAPIv2Integrator to fire/trigger observers

Addtional Info

none

Checklist