def register(database):
    def decorator(function):

        database.register_model(function)
        function.columns = function.generate_columns()
        return function
    return decorator
Registers a model for storage in the database
dataset/ETHPy150Open Widdershin/butterdb/butterdb/butterdb.py/register