(self, run_id: str)
Remove a run by its unique identifier.

        Arguments:
            run_id: The run's unique identifier.

        Returns:
            The run entry that was deleted.

        Raises:
            RunNotFoundError: The specified run ID was not found.
Remove a run by its unique identifier.
Remove a run by its unique identifier .
def remove(self, run_id: str) -> RunResource:
        """Remove a run by its unique identifier.

        Arguments:
            run_id: The run's unique identifier.

        Returns:
            The run entry that was deleted.

        Raises:
            RunNotFoundError: The specified run ID was not found.
        """
        try:
            return self._runs_by_id.pop(run_id)
        except KeyError as e:
            raise RunNotFoundError(run_id) from e
def remove ( self , run_id : str ) -> RunResource : try : return self . _runs_by_id . pop ( run_id ) except KeyError as e : raise RunNotFoundError ( run_id ) from e