Sets what records of a type decode with, where no record type is given: a RecordType or GPUdbRecordType decodes them as records; a TypeObjectMap, or a class (mapped to the type by TypeObjectMap.from_type(), which looks the type up), into objects. A map, given or made, is also the class’s object map (add_known_type_object_map()).
Parameters
type_id (str) –
The type’s ID.
type_descriptor –
As above, or None to forget the type, which is then looked up when next met.