Skip to content

Fix table validation bugs#1

Open
0x00-sys wants to merge 1 commit into
Jiri-Fiser:masterfrom
0x00-sys:fix-table-validation-bugs
Open

Fix table validation bugs#1
0x00-sys wants to merge 1 commit into
Jiri-Fiser:masterfrom
0x00-sys:fix-table-validation-bugs

Conversation

@0x00-sys

@0x00-sys 0x00-sys commented Jun 6, 2026

Copy link
Copy Markdown
  • select_to() was documented but only contained ..., so it returned None and inserted nothing. It now inserts projected rows through target.insert() so normal validation still applies.
  • Table schemas could be changed after construction by mutating the original column list or returned column objects. Tables now copy column definitions on input and output.
  • INT accepted True and DATE accepted datetime because of Python subclassing. Validation now requires exact types for those fields.
  • test_05_29.py failed pytest collection because NanoDB symbols were not imported. Added the imports and regression tests.

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