Skip to content

followthemoney.types.Registry

Bases: object

This registry keeps the processing helpers for all property types in the system. The registry can be used to get a type, which can itself then clean, validate or format values of that type.

get(name)

For a given property type name, get its type object. This can also be used via getattr, e.g. registry.phone.

get_types(names)

Get a list of all property type objects linked to a set of names.