Function IO Decorators (utilipy.decorators.func_io)

Reference/API

utilipy.decorators.func_io Module

DataType Decorators.

TODO

support argument ‘all’ in [(index, dtype),] as the IndexError supoort single argumens so that (index, dtype) works w/out [(), ] full support of numpy.dtype add in_dtype and out_dtype kwargs to wrapped functions which override defaults

Functions

store_function_input([function, ...])

Store Function Inputs.

add_folder_backslash([function, arguments, ...])

Add backslashes to str arguments.

dtypeDecoratorMaker(dtype)

Function to make a dtype decorator.

Classes

dtypeDecorator([func, in_dtype, out_dtype])

Ensure arguments are type dtype.

boolDecorator

alias of utilipy.decorators.func_io.dtypeDecoratorMaker.<locals>.dtypeDecorator

intDecorator

alias of utilipy.decorators.func_io.dtypeDecoratorMaker.<locals>.dtypeDecorator

floatDecorator

alias of utilipy.decorators.func_io.dtypeDecoratorMaker.<locals>.dtypeDecorator

strDecorator

alias of utilipy.decorators.func_io.dtypeDecoratorMaker.<locals>.dtypeDecorator

ndarrayDecorator

alias of utilipy.decorators.func_io.dtypeDecoratorMaker.<locals>.dtypeDecorator

ndfloat64Decorator

alias of utilipy.decorators.func_io.dtypeDecoratorMaker.<locals>.dtypeDecorator

Class Inheritance Diagram

Inheritance diagram of utilipy.decorators.func_io.dtypeDecorator, utilipy.decorators.func_io.dtypeDecorator, utilipy.decorators.func_io.dtypeDecorator, utilipy.decorators.func_io.dtypeDecorator, utilipy.decorators.func_io.dtypeDecorator, utilipy.decorators.func_io.dtypeDecorator, utilipy.decorators.func_io.dtypeDecorator