7.2.4.2.3. register¶
- Blueprint.register(obj=None, memo=None)[source]
Creates a
Blueprint.cls
and calls each deferred operation.- Parameters:
- Returns:
The initialized object.
- Return type:
Blueprint.cls | Blueprint
——————————————————————–
Example:
>>> import schedula as sh >>> blue = sh.BlueDispatcher().add_func(len, ['length']) >>> blue.register() <schedula.dispatcher.Dispatcher object at ...>