-
Notifications
You must be signed in to change notification settings - Fork 314
Implementation of post adapter write hook #730
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
Implementation of post adapter write hook #730
Conversation
* Renamed variable in test example file
…ok will need to be handled by user.
Codecov Report
@@ Coverage Diff @@
## master #730 +/- ##
=======================================
Coverage 81.88% 81.88%
=======================================
Files 72 72
Lines 2755 2755
=======================================
Hits 2256 2256
Misses 499 499
Continue to review full report at Codecov.
|
ssteinbach
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.
Suggested change from @ssteinbach Co-authored-by: Stephan Steinbach <61017+ssteinbach@users.noreply.github.com>
|
I was a bit quick on the draw, so the first test didn't finish before I pushed the next one. |
…adapter_arguments']` to avoid modifying the original arguments implicitly.
|
@ssteinbach |
ssteinbach
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.
Awesome, thanks @apetrynet
Added support for "post_adapter_write" hooks.
Post hooks are run after the file is written to disk by an adapter and passes the file path to the hooks through
_filepathkey in theargument_map.Updated unit tests and added example in the hooks docs.