What a string holds: its media type and, when the string's value is decoded unchanged, the representation of what it encodes.
Attributes#
| Attribute | Type | Description |
|---|---|---|
media_type | str | |
schema | Representation | None = None |
Functions#
__init__#
__init__(media_type, schema=None) -> None| Parameter | Type | Description |
|---|---|---|
media_type | str | |
schema | Representation | None = None |