Serialize Schema
You can serialize each schema table into dict
using following functions.
serialize_schemas
serialize_schemas(data: list[SchemaTable]) -> list[dict]
Serialize a list of schema dataclasses into list of dict.
Parameters:
-
data
(list[SchemaTable]
)
–
List of schema dataclasses.
Returns:
-
list[dict]
–
Serialized list of dict data.
serialize_schema
serialize_schema(data: SchemaTable) -> dict
Serialize a schema dataclass into dict.
Parameters:
Returns: