class documentation
class OperatorRegistry(object): (source)
Known subclasses: fiftyone.operators.permissions.PermissionedOperatorRegistry
Constructor: OperatorRegistry(enabled)
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 |
Whether the operator can be executed. |
Method | get |
Retrieves an operator by its URI. |
Method | list |
Lists the errors that occurred during operator loading. |
Method | list |
Lists the available FiftyOne operators. |
Method | operator |
Checks if the operator exists. |
Instance Variable | plugin |
Undocumented |
Retrieves an operator by its URI.
Parameters | |
operator | the URI of an operator |
Returns | |
an fiftyone.operators.Operator , or None |
Lists the available FiftyOne operators.
Parameters | |
builtin:None | whether to include only builtin operators (True) or only non-builtin operators (False) |
type:None | whether 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 |