I would like to encode a dict[str, SomeBaseModel], but currently it fails with:
class MyCollection(BaseCollectionModel[MyModel]):
pass
pydantic_core._pydantic_core.ValidationError: 1 validation error for MyCollection
Input should be a valid list [type=list_type, input_value={...}, input_type=dict]
I would like to encode a
dict[str, SomeBaseModel]
, but currently it fails with: