-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cache task.to_str_params() to speedup Task initialization (#421)
* cache task.to_str_params() to speedup Task initialization * Add tests for task.to_str_params() * Update gokart/task.py Co-authored-by: hirosassa <[email protected]> * define _called_with_default_args for readability * refactor: early return for readability * 👕 ruff * 🐛 (not only_public) and only_significant * use functools.lru_cache * 📝 add comments of caching to_str_params() * 👕 ignore mypy --------- Co-authored-by: hirosassa <[email protected]>
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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