-
Notifications
You must be signed in to change notification settings - Fork 104
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
Removing SQLAlchemy
from DataChain.compare()
#881
Conversation
Deploying datachain-documentation with
|
Latest commit: |
edc6696
|
Status: | ✅ Deploy successful! |
Preview URL: | https://bdee409a.datachain-documentation.pages.dev |
Branch Preview URL: | https://ilongin-721-compare-remove-s.datachain-documentation.pages.dev |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #881 +/- ##
==========================================
- Coverage 87.73% 87.70% -0.04%
==========================================
Files 129 129
Lines 11483 11464 -19
Branches 1547 1546 -1
==========================================
- Hits 10075 10054 -21
- Misses 1020 1021 +1
- Partials 388 389 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Quite a big change. Code looks good to me 👍 didn’t check if it works though 👀
src/datachain/diff/__init__.py
Outdated
@@ -44,66 +44,49 @@ def _compare( # noqa: PLR0912, PLR0915, C901 | |||
modified: bool = True, | |||
same: bool = True, | |||
status_col: Optional[str] = None, | |||
) -> "DataChain": | |||
): |
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.
😥
Removing SQLAlchemy constructs from
compare()
function.TODO:
or_
when Adding explicitor_
function #894 is done