toil.lib.compatibility

Module Contents

Functions

deprecated(new_function_name)

compat_bytes(s)

compat_bytes_recursive(data)

Convert a tree of objects over bytes to objects over strings.

toil.lib.compatibility.deprecated(new_function_name)[source]
Parameters

new_function_name (str) –

Return type

Callable[Ellipsis, Any]

toil.lib.compatibility.compat_bytes(s)[source]
Parameters

s (Union[bytes, str]) –

Return type

str

toil.lib.compatibility.compat_bytes_recursive(data)[source]

Convert a tree of objects over bytes to objects over strings.

Parameters

data (Any) –

Return type

Any