treeschema.catalog.base_serializer

class TreeSchemaSerializer(inputs)

Bases: object

Base class for serializing objects from the Tree Schema API.

property obj

Checks to see if the object already exists locally or if it can be built and validated using each class’ required fields.

Returns

an existing object of the specified class if it exists, otherwise None