create_method

create_method(name, **arguments)

Construct a registered method by name.

Parameters

Name Type Description Default
name str A registered method name. required
**arguments object Passed to the method’s factory. {}

Returns

Name Type Description
Method The constructed method.

Raises

Name Type Description
KeyError No method is registered under that name.