Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Fix a few things here & there #740

Merged
merged 8 commits into from
Oct 18, 2023
Merged

Fix a few things here & there #740

merged 8 commits into from
Oct 18, 2023

Conversation

nolar
Copy link
Collaborator

@nolar nolar commented Oct 12, 2023

See individual commits with descriptions of what and why.

@nolar nolar requested a review from dlawin October 12, 2023 21:26
data_diff/__main__.py Outdated Show resolved Hide resolved
data_diff/abcs/database_types.py Outdated Show resolved Hide resolved
data_diff/abcs/database_types.py Outdated Show resolved Hide resolved
With the first line of the SQL on the first line, the file name (e.g. `base.py:123`) is copy-pasted into SQL and requirees manual editing. With this fix, the whole statement will be ready for copy-pasting without any fixes and cleanups. The statements are often multi-line anyway, so it does not damage the logging.
Similar to pytest's marks or Python's Exception's notes, we can add arbitrary data classes and retrieve the latest note (marker). This makes the customization of column types easier without overriding the whole hierarchy of column types.
And ensure that both columns have the same set of attributes and follow the same protocol before actually using it — i.e. do not simply imply it as given.
@nolar nolar merged commit bc28997 into master Oct 18, 2023
6 checks passed
@nolar nolar deleted the negotiate branch October 18, 2023 16:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants