original_docstring: 
              Lists files and directories under artifacts directory for the current run_id.
              (self.path contains the base path - hdfs:/some/path/run_id/artifacts)
  
              :param path: Relative source path. Possible subdirectory existing under
                           hdfs:/some/path/run_id/artifacts
              :return: List of files and directories under given path -
                  example:
                      ['conda.yaml', 'MLmodel', 'model.pkl']
          
docstring: Lists files and directories under artifacts directory for the current run_id.
  (self.path contains the base path - hdfs:/some/path/run_id/artifacts)
docstring_tokens: Lists files and directories under artifacts directory for the current run_id . ( self . path contains the base path - hdfs : / some / path / run_id / artifacts )
code: def list_artifacts(self, path=None):
          """
              Lists files and directories under artifacts directory for the current run_id.
              (self.path contains the base path - hdfs:/some/path/run_id/artifacts)
  
              :param path: Relative source path. Possible subdirectory existing under
                           hdfs:/some/path/run_id/artifacts
              :return: List of files and directories under given path -
                  example:
                      ['conda.yaml', 'MLmodel', 'model.pkl']
          """
          hdfs_base_path = _resolve_base_path(self.path, path)
          base_path_len = len(hdfs_base_path) + 1
  
          with hdfs_system(host=self.host, port=self.port) as hdfs:
              paths = []
              for path, is_dir, size in self._walk_path(hdfs, hdfs_base_path):
                  paths.append(FileInfo(path[base_path_len:], is_dir, size))
              return sorted(paths, key=lambda f: paths)
code_tokens: def list_artifacts ( self , path = None ) : hdfs_base_path = _resolve_base_path ( self . path , path ) base_path_len = len ( hdfs_base_path ) + 1 with hdfs_system ( host = self . host , port = self . port ) as hdfs : paths = [ ] for path , is_dir , size in self . _walk_path ( hdfs , hdfs_base_path ) : paths . append ( FileInfo ( path [ base_path_len : ] , is_dir , size ) ) return sorted ( paths , key = lambda f : paths )
short_docstring: Lists files and directories under artifacts directory for the current run_id.
short_docstring_tokens: Lists files and directories under artifacts directory for the current run_id .
comment: """
              Lists files and directories under artifacts directory for the current run_id.
              (self.path contains the base path - hdfs:/some/path/run_id/artifacts)
  
              :param path: Relative source path. Possible subdirectory existing under
                           hdfs:/some/path/run_id/artifacts
              :return: List of files and directories under given path -
                  example:
                      ['conda.yaml', 'MLmodel', 'model.pkl']
          """