class_docstr: An object for managing experiments in a project.
class_docstr_tok: ["An","object","for","managing","experiments","in","a","project","."]
docstr: Return all experiments for a project, sorted by creation date.
docstr_tok: ["Return","all","experiments","for","a","project",",","sorted","by","creation","date","."]
code: def list(
      self, filter: Optional[Callable[[Any], bool]] = None
  ) -> "ExperimentList":
      """
      Return all experiments for a project, sorted by creation date.
      """
      experiments = self.project._daemon().list_experiments()
      result: ExperimentList = ExperimentList()
      for exp in experiments:
          if filter is not None:
              include = False
              try:
                  include = filter(exp)
              except Exception as e:  # pylint: disable=broad-except
                  console.warn(
                      "Failed to apply filter to experiment {}: {}".format(
                          exp.short_id(), e
                      )
                  )
              if include:
                  result.append(exp)
          else:
              result.append(exp)
      result.sort(key=lambda e: e.created)
      return result
  
imports: import datetime
  import getpass
  import html
  import json
  import math
  import os
  import shlex
  import sys
  from typing import TYPE_CHECKING, Any, Callable, Dict, List, MutableSequence, Optional, Tuple
  from .None import console
  from .checkpoint import Checkpoint, CheckpointList, PrimaryMetric
  from .metadata import parse_rfc3339, rfc3339_datetime
  from .packages import get_imported_packages
  from .system import get_python_version
  from .validate import check_path
  from .version import version
label_desc: Use image node_id 3 for calling the ExperimentCollection obj's underlying member method code with example usage: obj.list(filter) and returns: result