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: OpaqueFunction

Base class for callables that should appear as single opaque nodes in the graph.

Methods

__call__ — Execute the opaque callable with the given arguments.
__repr__ — Return a string representation of the opaque callable.

OpaqueCallable.__call__

__call__(
    *args,
    **kwargs,
) → R

Execute the opaque callable with the given arguments.

OpaqueCallable.__repr__

__repr__() → str

Return a string representation of the opaque callable.