Skip to content
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

Version 0.2.1 #27

Merged
merged 3 commits into from
Jul 7, 2024
Merged

Version 0.2.1 #27

merged 3 commits into from
Jul 7, 2024

Conversation

GrammAcc
Copy link
Owner

@GrammAcc GrammAcc commented Jul 7, 2024

Fixed bug in sqlalchemy integrations on nullable columns. See individual commit messages for details.

There was a bug in the sqlalchemy integrations that caused the custom
column types to raise when used on nullable columns.

This was caused by the custom column types not checking for `None` in
the `process_bind_param` and `process_result_value` functions, which is
a silly noob mistake, but it's something that I completely overlooked
when I first added the column types.

This is fixed now, and I have added a couple of simple regression test
cases for it as well.
The `run_doctests.py` script was manually collecting the
`linearmoney.ext` module, but the extensions module is collected as part
of the root `linearmoney` module by pdoc, so this was redundant and was
causing a warning to be printed when running the `docs:test-in-source`
environment script.

This is fixed now.
@GrammAcc GrammAcc merged commit 73742ad into main Jul 7, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant