class documentation

Operator registry.

enabled (True): whether to include only enabled operators (True) or
only disabled operators (False) or all operators ("all")
Method __init__ Undocumented
Method can_execute Whether the operator can be executed.
Method get_operator Retrieves an operator by its URI.
Method list_errors Lists the errors that occurred during operator loading.
Method list_operators Lists the available FiftyOne operators.
Method operator_exists Checks if the operator exists.
Instance Variable plugin_contexts Undocumented
def __init__(self, enabled=True): (source)
def can_execute(self, operator_uri): (source)

Whether the operator can be executed.

Parameters
operator_urithe URI of the operator
Returns
True/False
def get_operator(self, operator_uri): (source)

Retrieves an operator by its URI.

Parameters
operator_urithe URI of an operator
Returns
an fiftyone.operators.Operator, or None
def list_errors(self): (source)

Lists the errors that occurred during operator loading.

Returns
a list of errors
def list_operators(self, builtin=None, type=None): (source)

Lists the available FiftyOne operators.

Parameters
builtin:Nonewhether to include only builtin operators (True) or only non-builtin operators (False)
type:Nonewhether to include only "panel" or "operator" type operators, or a specific fiftyone.operators.Operator subclass to restrict to
Returns
a list of fiftyone.operators.Operator instances
def operator_exists(self, operator_uri): (source)

Checks if the operator exists.

Parameters
operator_urithe URI of the operator
Returns
True/False
plugin_contexts = (source)

Undocumented