code: def _parse_path(self, path):
          
          run = self.settings['run']
          project = self.settings['project']
          username = self.settings['username']
          parts = path.replace("/runs/", "/").split("/")
          if ":" in parts[-1]:
              run = parts[-1].split(":")[-1]
              parts[-1] = parts[-1].split(":")[0]
          elif parts[-1]:
              run = parts[-1]
          if len(parts) > 1:
              project = parts[1]
              if username and run == project:
                  project = parts[0]
              else:
                  username = parts[0]
          else:
              project = parts[0]
          return (username, project, run)
docs: Parses paths in the following formats:
  
          url: username/project/runs/run_id
          path: username/project/run_id
          docker: username/project:run_id
  
          username is optional and will fallback to the current logged in user.