mypydantic.models.base_model
class
BaseModel(pydantic.main.BaseModel):
5class BaseModel(MyPydanticBaseModel): 6 class Config: 7 allow_population_by_field_name = True 8 arbitrary_types_allowed = True 9 10 def __init__(self, **kwargs): 11 self.update_forward_refs() 12 super().__init__(**kwargs)
BaseModel(**kwargs)
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
Inherited Members
- pydantic.main.BaseModel
- dict
- json
- parse_obj
- parse_raw
- parse_file
- from_orm
- construct
- copy
- schema
- schema_json
- validate
- update_forward_refs
class
BaseModel.Config: