pyprobound.base.Call
- class Call(cmpt: Component, fun: str, kwargs: dict[str, Any])
Bases:
NamedTupleA function to be called during optimization.
Run as getattr(cmpt, fun)(**kwargs).
- cmpt
The component to be called.
- fun
The name of the function to be called.
- kwargs
Any keyword arguments that will be passed to the function.
- __init__()
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Non-Inherited Members
-
fun:
str
-
kwargs:
dict[str,Any]