def register_saclass(registry, saclass, typename=None):
    if typename is None:
        typename = saclass.__name__

    SQLAlchemyRegistry.get(registry).types[saclass] = typename
Associate a webservice type name to a SQLAlchemy mapped class.
dataset/ETHPy150Open openstack/wsme/wsmeext/sqlalchemy/types.py/register_saclass