Python pydantic validation of subclasses
I’m trying to use pydantic
together with ABC
. I created a base class Datasource
and four subclasses:
I’m trying to use pydantic
together with ABC
. I created a base class Datasource
and four subclasses: