Currently we do not support monthly datasets (both in the UI and on the backend)
Either create a second endpoint for monthly data or include monthly | yearly options in the query parameters but it would be better if we waited for discriminated union support in pydantic:
pydantic/pydantic#2336
https://pydantic-docs.helpmanual.io/usage/schema/#field-customisation with const=True may also work
Currently we do not support monthly datasets (both in the UI and on the backend)
Either create a second endpoint for monthly data or include
monthly | yearlyoptions in the query parameters but it would be better if we waited for discriminated union support in pydantic:pydantic/pydantic#2336
https://pydantic-docs.helpmanual.io/usage/schema/#field-customisation with
const=Truemay also work