skbio.workflow.method#

class skbio.workflow.method(priority=0)[source]#

Decorate a function to indicate it is a workflow method.

Parameters:
priorityint

Specify a priority for the method, the higher the value the higher the priority. Priorities are relative to a given workflow

Attributes

Special methods

__call__

Decorate function with specified priority.

Special methods (inherited)

__eq__

Return self==value.

__ge__

Return self>=value.

__getstate__

Helper for pickle.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__str__

Return str(self).

Details

highest_priority = 9223372036854775807#
__call__(func)[source]#

Decorate function with specified priority.