docstr: Pathspec of the current task, i.e. a unique
  identifier of the current task. The returned
  string follows this format:
  ```
  {flow_name}/{run_id}/{step_name}/{task_id}
  ```
  
  This is a shorthand to `current.task.pathspec`.
  
  Returns
  -------
  str, optional
      Pathspec.
docstr_tok: ["Pathspec","of","the","current","task",",","i.e",".","a","unique","identifier","of","the","current","task",".","The","returned","string","follows","this","format",":","``","`","{","flow_name","}","\/","{","run_id","}","\/","{","step_name","}","\/","{","task_id","}","``","`","This","is","a","shorthand","to","`","current.task.pathspec","`",".","Returns","--","--","--","-","str",",","optional","Pathspec","."]
code: def pathspec(self) -> Optional[str]:
      """
      Pathspec of the current task, i.e. a unique
      identifier of the current task. The returned
      string follows this format:
      ```
      {flow_name}/{run_id}/{step_name}/{task_id}
      ```
  
      This is a shorthand to `current.task.pathspec`.
  
      Returns
      -------
      str, optional
          Pathspec.
      """
  
      pathspec_components = (
          self._flow_name,
          self._run_id,
          self._step_name,
          self._task_id,
      )
      if any(v is None for v in pathspec_components):
          return None
      return "/".join(pathspec_components)
  
imports: from collections import namedtuple
  import os
  from typing import Any, Optional
  from metaflow.metaflow_config import TEMPDIR
label_desc: Use image node_id 13 for calling the Current obj's underlying member method code with example usage: obj.pathspec() and returns: str, None