Ask a question to get started
Enter to sendā¢Shift+Enter new line
Utility to truncate a list of runs dictionaries to only keep the specified keys in each run. :param runs: The list of runs to truncate. :param keep_keys: The keys to keep in each run. :return: The truncated list of runs.
truncate_run_iterative( runs: List[Dict[str, Any]], keep_keys: Tuple[str, ...] = () ) -> List[Dict[str, Any]]