With the new Pydantic version v2 (released on 30/06/23, see Pydantic V2 Release Note), __root__ models are no longer supported. To define root models, use pydantic.RootModel
Occurrences: osw.model.entity.CommonDefinitions and osw.model.entity.Statement
With the new Pydantic version v2 (released on 30/06/23, see Pydantic V2 Release Note), __root__ models are no longer supported. To define root models, use pydantic.RootModel
Occurrences: osw.model.entity.CommonDefinitions and osw.model.entity.Statement
See Pydantic Migration Guide and Pydantic RootModel
Suggestion: