-
Notifications
You must be signed in to change notification settings - Fork 77
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
Sqlalchemy compositional #248
Conversation
I really like this structure. The concept of lifting out functionality to the However, I have encountered two problems, which I need help to fix. |
Thanks for the implementation. I'll take care of the CI failures. |
Codecov Report
@@ Coverage Diff @@
## sqlalchemy #248 +/- ##
==============================================
+ Coverage 97.98% 98.54% +0.56%
==============================================
Files 46 48 +2
Lines 2080 2135 +55
Branches 294 299 +5
==============================================
+ Hits 2038 2104 +66
+ Misses 24 19 -5
+ Partials 18 12 -6
Continue to review full report at Codecov.
|
Is this ready for review @nickeopti ? |
Yes, I believe so! Documentation is probably lacking a bit, but I think the code is ready 😄 I'm debating whether the Thanks a lot for the fixes! |
I'll review this soon, then. In the meantime, could you please bump the test coverage a bit? In general we don't accept PRs that lower global coverage (without a good reason). |
…S/terracotta into sqlalchemy-compositional
I've bumped test coverage a bit. There are now two uncovered branches left in this PR's diff -- neither of which I know how to hit. |
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, this looks very nice!
Some minor issues but overall this looks like a huge improvement of the code structure.
Yep, the |
👌 |
The pytest-flake8 issue is fixed in #252 and will land in |
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.
Some last nitpicks.
More issues:
|
Co-authored-by: Dion Häfner <[email protected]>
Co-authored-by: Dion Häfner <[email protected]>
I guess as long as they get updated before the next release, it should be fine. Maybe we can build them as part of the CI chain?
This must be a very subjective thing, because in my mind it's less complex in the current structure 😄 This way, I can look at |
Apparently pytest creates some LocalPath objects, which are not caught in isinstance(..., Path)
Great job everyone - a real team effort. |
Implement the compositional
TerracottaDriver
structure proposed in #240 (comment).In a separate PR (going into #240) for better diffs.