Bases: BaseModel
A class to represent a license.
ATTRIBUTE | DESCRIPTION |
name | |
url | URL of the license (optional) |
Config
extra : allow additional attributes in the model (PYDANTIC_V2)
url class-attribute
instance-attribute
model_config class-attribute
instance-attribute
model_config = {'extra': 'allow'}