class_docstr: A FiftyOne operator.
  
  Operators represent an operation and the details of how to execute it.
  
  FiftyOne operators contain enough information for a user interface to
  render a form or button allowing a user to execute the operation.
class_docstr_tok: ["A","FiftyOne","operator",".","Operators","represent","an","operation","and","the","details","of","how","to","execute","it",".","FiftyOne","operators","contain","enough","information","for","a","user","interface","to","render","a","form","or","button","allowing","a","user","to","execute","the","operation","."]
docstr: Returns the resolved input or output property.
  
  Args:
      ctx: the :class:`fiftyone.operators.executor.ExecutionContext`
      type: the type of property to resolve, either ``"inputs"`` or
          ``"outputs"``
  
  Returns:
      a :class:`fiftyone.operators.types.Property`, or None
docstr_tok: ["Returns","the","resolved","input","or","output","property",".","Args",":","ctx",":","the",":","class",":","`","fiftyone.operators.executor.ExecutionContext","`","type",":","the","type","of","property","to","resolve",",","either","``","``","inputs","''","``","or","``","``","outputs","''","``","Returns",":","a",":","class",":","`","fiftyone.operators.types.Property","`",",","or","None"]
code: def resolve_type(self, ctx, type):
      """Returns the resolved input or output property.
  
      Args:
          ctx: the :class:`fiftyone.operators.executor.ExecutionContext`
          type: the type of property to resolve, either ``"inputs"`` or
              ``"outputs"``
  
      Returns:
          a :class:`fiftyone.operators.types.Property`, or None
      """
      if type == "inputs":
          # pylint: disable=assignment-from-none
          input_property = self.resolve_input(ctx)
          if input_property and input_property.view is None:
              should_delegate = self.resolve_delegation(ctx)
              if should_delegate:
                  input_property.view = PromptView(
                      submit_button_label="Schedule"
                  )
          return input_property
  
      if type == "outputs":
          return self.resolve_output(ctx)
  
      raise ValueError("Invalid type '%s'" % type)
  
imports: from .types import Object, PromptView
label_desc: Use image node_id 10 for calling the Operator obj's underlying member method code with example usage: obj.resolve_type(ctx, type) and returns: input_property, self