Open jettdc opened 3 hours ago
string_type = StringType()
is invalid, you need to do
string_type = StringType(type="string")
which is redundant
Proposed solution: Add a default val for literals
something like
class StringType(pydantic.BaseModel): type: Literal["string"] = Field(default="string") ...
This also applies to things like
FullRowChangeDataCaptureConfiguration(type="fullRow", ...)
which should not be necessary, as there is only one valid value there and the class itself should be enough context
is invalid, you need to do
which is redundant
Proposed solution: Add a default val for literals
something like