Contact
faststream.specification.asyncapi.v2_6_0.schema.contact.Contact #
Bases: BaseModel
A class to represent a contact.
from_spec classmethod #
from_spec(contact: None) -> None
from_spec(contact: Contact) -> Self
from_spec(contact: ContactDict) -> Self
from_spec(contact: dict[str, Any]) -> dict[str, Any]
from_spec(
contact: Contact | ContactDict | dict[str, Any] | None,
) -> Self | dict[str, Any] | None
Source code in faststream/specification/asyncapi/v2_6_0/schema/contact.py
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | |