Skip to main content
add_known_type_object_map(object_class, type_object_map)[source]

Sets the TypeObjectMap that objects of a class encode with, when given to insert to a table (GPUdbTable) or an ingestor (GPUdbIngestor). A dataclass needs none if its fields are named as the columns.

Parameters

object_class (type) –

The class.

type_object_map (TypeObjectMap) –

Its map, or None to forget it.