(prefix="id")
| 120 | return time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) |
| 121 | |
| 122 | def generate_id(prefix="id"): |
| 123 | return f"{prefix}_{uuid.uuid4().hex[:8]}" |
| 124 | |
| 125 | def ensure_directory_exists(path): |
| 126 | os.makedirs(os.path.dirname(path), exist_ok=True) |
no outgoing calls
no test coverage detected