License
faststream.specification.asyncapi.v2_6_0.schema.License #
Bases: BaseModel
A class to represent a license.
Config
extra : allow additional attributes in the model (PYDANTIC_V2)
from_spec classmethod #
from_spec(license: License) -> Self
from_spec(license: LicenseDict) -> Self
from_spec(
license: License | LicenseDict | dict[str, Any] | None,
) -> Self | dict[str, Any] | None