Get the latest exported path based on timestamp.
(glob_pattern, regex_pattern)
| 51 | |
| 52 | |
| 53 | def latest_export_path(glob_pattern, regex_pattern): |
| 54 | """Get the latest exported path based on timestamp.""" |
| 55 | sorted_paths = export_paths(glob_pattern, regex_pattern) |
| 56 | return sorted_paths[-1] if sorted_paths else None |
| 57 | |
| 58 | |
| 59 | def best_export_path(model_dir, best_prefix="best"): |
no test coverage detected
searching dependent graphs…