class documentation

A panel.

Method execute Executes the operator.
Method on_load Undocumented
Method on_startup Undocumented
Method render Defines the panel's layout and events.
Method resolve_input Returns the resolved input property.

Inherited from Operator:

Method __init__ Undocumented
Method add_secrets Adds secrets to the operator.
Method method_to_uri Converts a method name to a URI.
Method resolve_delegation Returns the resolved forced delegation flag.
Method resolve_execution_options Returns the resolved execution options.
Method resolve_output Returns the resolved output property.
Method resolve_placement Returns the resolved placement of the operator.
Method resolve_type Returns the resolved input or output property.
Method to_json Returns a JSON representation of the operator.
Instance Variable plugin_name Undocumented
Property builtin Whether the operator is builtin.
Property config The OperatorConfig for the operator.
Property name Undocumented
Property uri The unique identifier of the operator: plugin_name/operator_name.
Instance Variable _builtin Undocumented
Instance Variable _plugin_secrets Undocumented
def execute(self, ctx): (source)

Executes the operator.

Subclasses must implement this method.

Parameters
ctxthe fiftyone.operators.executor.ExecutionContext
Returns
JSON serializable data, or None
def on_load(self, ctx): (source)

Undocumented

def on_startup(self, ctx): (source)

Undocumented

def render(self, ctx): (source)

Defines the panel's layout and events.

This method is called after every panel event is called (on load, button callback, context change event, etc).

Parameters
ctxthe fiftyone.operators.executor.ExecutionContext
Returns
a fiftyone.operators.types.Property
def resolve_input(self, ctx): (source)

Returns the resolved input property.

Subclasses can implement this method to define the inputs to the operator. This method should never be called directly. Instead use resolve_type.

By default, this method is called once when the operator is created. If the operator is dynamic, this method is called each time the input changes.

Parameters
ctxthe fiftyone.operators.executor.ExecutionContext
Returns
a fiftyone.operators.types.Property, or None