python/ray/workflow/common.py
def from_output(cls, step_id: str, output: Any):
        """Create static ref from given output."""
        if not isinstance(output, cls):
            if not isinstance(output, ray.ObjectRef):
                output = ray.put(output)
            output = cls(step_id=step_id, ref=output)
        return output
Create static ref from given output.
Create static ref from given output.
Create static ref from given output .
def from_output(cls, step_id: str, output: Any):
        if not isinstance(output, cls):
            if not isinstance(output, ray.ObjectRef):
                output = ray.put(output)
            output = cls(step_id=step_id, ref=output)
        return output
def from_output ( cls , step_id : str , output : Any ) : if not isinstance ( output , cls ) : if not isinstance ( output , ray . ObjectRef ) : output = ray . put ( output ) output = cls ( step_id = step_id , ref = output ) return output
Create static ref from given output.
Create static ref from given output .
"""Create static ref from given output."""
cls
step_id
str
output
Any