GitHub

API reference for Content.

What a string holds: its media type and, when the string's value is decoded unchanged, the representation of what it encodes.

Attributes

AttributeTypeDescription
media_typestr
schemaRepresentation | None = None

Functions

__init__

__init__(media_type, schema=None) -> None
ParameterTypeDescription
media_typestr
schemaRepresentation | None = None