class_docstr: Get JSON properties from PropertyFiles or S3 location.
  
  Attributes:
      step_name (str): The step name from which to get the property file.
      property_file (Optional[Union[PropertyFile, str]]): Either a PropertyFile instance
          or the name of a property file.
      json_path (str): The JSON path expression to the requested value.
      s3_uri (Optional[sagemaker.workflow.functions.Join]): The S3 location from which to fetch
          a Json file. The Json file is the output of a step defined with ``@step`` decorator.
      step (Step): The upstream step object which the s3_uri is associated to.
class_docstr_tok: ["Get","JSON","properties","from","PropertyFiles","or","S3","location",".","Attributes",":","step_name","(","str",")",":","The","step","name","from","which","to","get","the","property","file",".","property_file","(","Optional","[","Union","[","PropertyFile",",","str","]","]",")",":","Either","a","PropertyFile","instance","or","the","name","of","a","property","file",".","json_path","(","str",")",":","The","JSON","path","expression","to","the","requested","value",".","s3_uri","(","Optional","[","sagemaker.workflow.functions.Join","]",")",":","The","S3","location","from","which","to","fetch","a","Json","file",".","The","Json","file","is","the","output","of","a","step","defined","with","``","@","step","``","decorator",".","step","(","Step",")",":","The","upstream","step","object","which","the","s3_uri","is","associated","to","."]
docstr: List of step that this function depends on.
docstr_tok: ["List","of","step","that","this","function","depends","on","."]
code: def _referenced_steps(self) -> List[Union["Step", str]]:
      """List of step that this function depends on."""
      if self.step:
          return [self.step]
      if self.step_name:
          return [self.step_name]
  
      return []
  
file_path: sagemaker-python-sdk/src/sagemaker/workflow/functions.py
imports: from __future__ import absolute_import
  from typing import List, Union, Optional, TYPE_CHECKING
  import attr
  from sagemaker.workflow import is_pipeline_variable
  from sagemaker.workflow.entities import PipelineVariable
  from sagemaker.workflow.execution_variables import ExecutionVariable
  from sagemaker.workflow.parameters import Parameter
  from sagemaker.workflow.properties import PropertyFile
label_desc: Use image node_id 3 for calling the JsonGet obj's underlying member method code with example usage: obj._referenced_steps() and returns: list, list, list