module documentation

FiftyOne operator registry.

Copyright 2017-2025, Voxel51, Inc.

Class OperatorRegistry Operator registry.
Function get_operator Gets the operator with the given URI.
Function list_operators Returns all available operators.
Function operator_exists Checks if the given operator exists.
def get_operator(operator_uri, enabled=True): (source)

Gets the operator with the given URI.

Parameters
operator_urithe operator URI
enabled:Truewhether to include only enabled operators (True) or only disabled operators (False) or all operators ("all")
Returns
an fiftyone.operators.Operator
Raises
ValueErrorif the operator is not found
def list_operators(enabled=True, builtin='all', type=None): (source)

Returns all available operators.

Parameters
enabled:Truewhether to include only enabled operators (True) or only disabled operators (False) or all operators ("all")
builtin:"all"whether to include only builtin operators (True) or only non-builtin operators (False) or all operators ("all")
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(operator_uri, enabled=True): (source)

Checks if the given operator exists.

Parameters
operator_urithe operator URI
enabled:Truewhether to include only enabled operators (True) or only disabled operators (False) or all operators ("all")
Returns
True/False