> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# add_known_type

&#x20;add\_known\_type(type\_id, type\_descriptor)[\[source\]](https://github.com/kineticadb/kinetica-api-python/blob/master/gpudb/gpudb.py#L9926)

Sets what records of a type decode with, where no record type is given: a `RecordType` or [`GPUdbRecordType`](https://docs.kinetica.com/content/api/python/source/gpudbrecordtype#gpudb.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()`](https://docs.kinetica.com/content/api/python/source/gpudb/add-known-type-object-map#gpudb.GPUdb.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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.