otupy.core.transfer.transfer

transfer(name)

The @transfer decorator.

Use this decorator to declare the implementation of a Transfer. The implementation is identified by its name, which should be something meaningful to identify the protocol (e.g., http, mqtt). :param name: The name for this Transfer implementation. :result: The following class definition is registered as available Transfer implementation in otupy.