{"type": "thirdparty","key": "postgres","host": "test","id": "88c8fo90"}
or
{"type": "weburl","url": "https://www.google.com"}
Here the keys are changing based on type, how do I add a pydantic model for this?
{"type": "thirdparty","key": "postgres","host": "test","id": "88c8fo90"}
or
{"type": "weburl","url": "https://www.google.com"}
Here the keys are changing based on type, how do I add a pydantic model for this?