yera.opaque.base
Base class for opaque callables.
Symbols
class OpaqueCallable — Base class for callables that should appear as single opaque nodes in the graph.
OpaqueCallable
Inherits:
ABC, Generic[P, R]Subclasses:
OpaqueFunctionBase class for callables that should appear as single opaque nodes in the graph.
Methods
OpaqueCallable.__call__
__call__(
*args,
**kwargs,
) → RExecute the opaque callable with the given arguments.
OpaqueCallable.__repr__
__repr__() → strReturn a string representation of the opaque callable.