Skip to content

Commit

Permalink
✨ Add DynamicDateHandler class (#1093)
Browse files Browse the repository at this point in the history
* ✨ Add DynamicDateHandler class

* 📝 Change docstring format

* 🎨 Follow the pre-commit formatting suggestions

* 🎨 Pre-commit formatting

* 📝 Fix documentation and change this_ to current_

* ⚡️ Add type check for cases of list input

* ✏️ Fix main function name

* ✏️ Fix key phrase typo

* 💥 Fix the key phrase mishandle

* 🐛 Change type date to datetime

* 📝 Update documentation

* ⚡️ Fix the order of dates

* ✏️ Fix years ago typo

* ✅ Add tests for the DynamicDateHandler

* 🎨 Updated docstrings and return statements

* Update tests/unit/orchestration/prefect/test_utils.py

Co-authored-by: Michał Zawadzki <[email protected]>

* Update tests/unit/orchestration/prefect/test_utils.py

Co-authored-by: Michał Zawadzki <[email protected]>

* Update tests/unit/orchestration/prefect/test_utils.py

Co-authored-by: Michał Zawadzki <[email protected]>

* 🎨 Modified imports

* ✅ Added test for dynamic_date

* 🐛 Added regex validation for eval()

* 🎨 Fixed CI

---------

Co-authored-by: Małgorzata Gwinner <[email protected]>
Co-authored-by: rziemianek <[email protected]>
Co-authored-by: Rafał Ziemianek <[email protected]>
Co-authored-by: Michał Zawadzki <[email protected]>
  • Loading branch information
5 people authored Nov 6, 2024
1 parent 7fe5e53 commit f0dc9ef
Show file tree
Hide file tree
Showing 2 changed files with 584 additions and 1 deletion.
Loading

0 comments on commit f0dc9ef

Please sign in to comment.