dbbase.DB.load_model_class

static DB.load_model_class(model_class=None)[source]

This function creates a fresh copy of the declarative base. This causes a reset of the metaclass.

Default:

load_model_class(model_class=None)

Parameters

model_class – (obj) : An alternate Model class can be inserted. Otherwise it defaults to Model in this package.

Returns

model_class (obj)