class_docstr: Describe the environment inside which the job is running.
  This includes job id, number of GPUs available, ...
  
  This class can only be instantiated from a running submitit job.
  
  @plugin-dev: default implementation look for information into environment variables.
  Override _env to map environment variable to each property.
docstr: Provides the paths used by submitit, including
  stdout, stderr, submitted_pickle and folder.
code: def paths(self) -> JobPaths:
      """Provides the paths used by submitit, including
      stdout, stderr, submitted_pickle and folder.
      """
      folder = os.environ["SUBMITIT_FOLDER"]
      return JobPaths(
          folder, job_id=self.job_id, task_id=self.global_rank
      )
  
imports: import os
  import signal
  import socket
  import sys
  import time
  import types
  import typing
  from pathlib import Path
  from .None import logger, utils
  from .utils import DelayedSubmission, JobPaths
label_desc: Use image node_id 4 for calling the JobEnvironment obj's underlying member method code with example usage: obj.paths() and returns: JobPaths