-
Notifications
You must be signed in to change notification settings - Fork 3.5k
fix: Cache same pipeline class with different options #1152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Cache same pipeline class with different options #1152
Conversation
Fixing caching same class with different options by using composite key (class, options) # TODO this will ignore if different options have been defined for the same pipeline class. at row 292 Signed-off-by: mislavmartinic <mislav.martinic@pontistechnology.com>
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
|
cau-git
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mislavmartinic Many thanks for taking care of this flaw! Only one question below.
|
LGTM! |
|
@mislavmartinic Many thanks. To pass the CI checks, can you please run the pre-commit toolchain and make another commit? |
What has been requested is done. |
cau-git
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ling-project#1152) * Update document_converter.py Fixing caching same class with different options by using composite key (class, options) # TODO this will ignore if different options have been defined for the same pipeline class. at row 292 Signed-off-by: mislavmartinic <mislav.martinic@pontistechnology.com> * formatted script * removed unnecessary hasattr check * pre-commit chain run --------- Signed-off-by: mislavmartinic <mislav.martinic@pontistechnology.com>
Fixing caching same class with different options by using composite key (class, options)
TODO this will ignore if different options have been defined for the same pipeline class.
at row 292
Checklist: