This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pickle | |
| import shutil | |
| from datetime import datetime, timedelta | |
| from functools import wraps | |
| from pathlib import Path | |
| from typing import Callable, Hashable | |
| from helpers import create_logger | |
| logger = create_logger("CacheDecorator") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are generating a git commit message. | |
| Rules: | |
| 1. Start the commit message with 1–2 relevant emojis that reflect the change. Do NOT always reuse the same emoji — vary them as much as possible. | |
| 2. The rest of the message should be a short, clear, conventional commit-style sentence in imperative voice. | |
| 3. Emojis should be chosen based on the type of change: | |
| 🐛 / 🚫 / 🔧 — Bug fixes or error handling | |
| ✨ / ➕ / 🆕 — New features or new files | |
| ♻️ / 🔄 / 🧹 — Refactoring or cleanup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import threading | |
| import time | |
| from datetime import datetime | |
| from queue import Queue | |
| from threading import Thread | |
| from cron_converter import Cron | |
| from helpers import create_logger |