-
Notifications
You must be signed in to change notification settings - Fork 11
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
Gracefully Close Database Connector #364
Conversation
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.
Thanks for the PR @sophiadt!
I think this approach will work for us. A couple requests:
- Can we add
finish
to the ABCs for the executor and the ingest strategies? In the case of the executor I think a reasonable default is to simplypass
? - Is it possible to add a test case or two to cover the added lines?
I've also approved the CI run. I suspect we may see a linter error or two crop up. |
f23110f
to
bd9bbd4
Compare
Hi @zprobst! |
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.
This looks good now! Thanks for the contribution and collaboration!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #364 +/- ##
=======================================
Coverage 97.94% 97.95%
=======================================
Files 147 147
Lines 5307 5319 +12
=======================================
+ Hits 5198 5210 +12
Misses 109 109
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Wanted a mechanism to properly close the database connector and this PR is chaining the pipeline finish event from the Graph Database Writer all the way down to the database connector.