Commit Graph

  • 48a62eba55 Fix failing test on mysql master Charles Leifer 2026-05-05 21:43:21 -05:00
  • d7b42efdb3 Factor out the column resolution into helper func. Charles Leifer 2026-05-05 18:50:09 -05:00
  • 4fedb8f4d0 Use faster and more robust fromisoformat when possible. Charles Leifer 2026-05-05 17:15:04 -05:00
  • cefdec2116 Quote path elements in sqlite json paths Charles Leifer 2026-04-24 14:58:01 -05:00
  • 93da1ac2e4 4.0.5 4.0.5 Charles Leifer 2026-04-23 16:15:53 -05:00
  • b0b5f1a1a2 Tests for #3044 - custom db_value in json field subclass Charles Leifer 2026-04-23 16:12:19 -05:00
  • 4f2bbfb84d Pass through to db_value(), don't just naively wrap. fixes #3044 Charles Leifer 2026-04-23 16:02:38 -05:00
  • 19a1ca7e15 Ensure we don't introspect pg indexes defined on diff schema. Charles Leifer 2026-04-23 07:53:46 -05:00
  • 2fc7057792 Merge pull request #3042 from JacksonKontny/add-scalars-documentation Charles Leifer 2026-04-20 17:28:45 -05:00
  • eb909b1618 Add documentation for scalars method Jackson Kontny 2026-04-20 16:00:27 -05:00
  • e0318033d7 Rename some duplicate-named tests. Charles Leifer 2026-04-17 10:04:44 -05:00
  • 6575593647 Few more clarifications for gaps in docs. Charles Leifer 2026-04-17 09:36:23 -05:00
  • be153463a7 Clarify some inconsistencies in doc Charles Leifer 2026-04-17 08:37:14 -05:00
  • f3d8645c76 Always fallback to base if exc not in known db-api for wrapper. Charles Leifer 2026-04-16 23:03:27 -05:00
  • 4675a44cd8 Fix missing params in method sigs Charles Leifer 2026-04-16 21:48:11 -05:00
  • e64064f6e2 Doesn't work w/psycopg3 for some reason, will debug later. Charles Leifer 2026-04-02 15:56:41 -05:00
  • 3c42cd4b7e Improve result types for cte.select_from() by using ModelSelect Charles Leifer 2026-04-02 15:37:01 -05:00
  • 1c5e37934b 4.0.4 4.0.4 Charles Leifer 2026-04-02 08:50:42 -05:00
  • c511fb137f Fix syntax when using nulls_distinct on partial index. Charles Leifer 2026-04-02 08:09:09 -05:00
  • f8ff6af96c Raise an ImproperlyConfigured instead of AttributeError if pg missing. Charles Leifer 2026-03-26 17:46:25 -05:00
  • bd0e434e83 4.0.3 4.0.3 Charles Leifer 2026-03-26 17:39:18 -05:00
  • 89f3031dac Use psycopg3 if psycopg2 is not installed. Charles Leifer 2026-03-26 17:33:26 -05:00
  • 007fd50bc7 Just some housekeeping Charles Leifer 2026-03-25 08:20:06 -05:00
  • eda231b047 Update changelog, fix failing crdb sql test. Charles Leifer 2026-03-24 21:32:12 -05:00
  • 071d0a0362 Cleanup cruft in sql and merge it into appropriate cases. Charles Leifer 2026-03-24 21:13:44 -05:00
  • ab9a94311d Test cleanup in prefetch Charles Leifer 2026-03-24 20:21:16 -05:00
  • 2d20c8acb4 Updates to tests, gone through model_sql and cleaned-up. Charles Leifer 2026-03-24 09:55:48 -05:00
  • c8c09caad7 First pass cleaning up models.py Charles Leifer 2026-03-23 14:29:14 -05:00
  • 5f222d661e Fixup some tests that were being flaky, reorg Charles Leifer 2026-03-23 14:09:54 -05:00
  • c604a4513f Manual cleanup in manytomany tests. Charles Leifer 2026-03-23 08:31:54 -05:00
  • 3caa2f8089 Go through fields tests, cleaning up and consolidating. Charles Leifer 2026-03-23 08:26:08 -05:00
  • bb529fa0bb Manual cleanup and organization of db_tests w/new gap coverage. Charles Leifer 2026-03-23 08:04:50 -05:00
  • b323fc5903 Gap coverage - needs review. Charles Leifer 2026-03-22 22:02:18 -05:00
  • 7de1497f18 Add a couple new tests for pure SQL generation identified as gaps. Charles Leifer 2026-03-22 16:51:20 -05:00
  • d8c15c3c57 Some more high-level cleanup after AI reorg. Charles Leifer 2026-03-22 16:06:45 -05:00
  • 2165fbbdce Start working through the reorganized code, cleaning it up. Charles Leifer 2026-03-22 14:53:30 -05:00
  • 5451f8f2a8 New tests for schema and result verification. Charles Leifer 2026-03-22 11:04:00 -05:00
  • 44bf2d9129 Add comments to base models explaining usages. Charles Leifer 2026-03-22 10:53:23 -05:00
  • 4073c2d490 New tests covering some existing gaps. Charles Leifer 2026-03-22 10:44:23 -05:00
  • c17dc048fb New tests for model_sql to cover some gaps. Charles Leifer 2026-03-22 10:25:00 -05:00
  • 6418faf6ce Reorganization within larger modules. Charles Leifer 2026-03-22 10:12:54 -05:00
  • 17cc2f54a6 Reorganize classes within modules (fields and models). Charles Leifer 2026-03-22 09:59:52 -05:00
  • 4a3e6e82a8 Start reordering. Charles Leifer 2026-03-22 09:42:31 -05:00
  • b1196c8ac9 Comments for sections to serve as anchors for reorganization. Charles Leifer 2026-03-22 09:40:24 -05:00
  • 95e95fae8c Test reorg. Charles Leifer 2026-03-17 21:42:11 -05:00
  • 4e08dd7b69 Avoid specifying both base and config to pydantic. Charles Leifer 2026-03-20 16:48:02 -05:00
  • 8e7a37f300 Allow specifying a custom base class when using to_pydantic Charles Leifer 2026-03-20 16:36:20 -05:00
  • 3abb8c8aaa Support generator as a multi-type. Charles Leifer 2026-03-19 08:26:56 -05:00
  • a5d96e57c2 Slightly faster row construction Charles Leifer 2026-03-17 20:49:51 -05:00
  • 21ea54a2cc Add a few more SQL generation and field-type tests. Charles Leifer 2026-03-17 19:32:09 -05:00
  • 8ed29c0e47 Clean up window aliasing, add some test coverage that was missing. Charles Leifer 2026-03-17 18:37:46 -05:00
  • 6f8fd5a67a Deduplication and ensuring valid identifiers in cursor wrappers. Charles Leifer 2026-03-17 10:14:51 -05:00
  • f58c096d52 Avoid .get() for instance value lookup and fall-thru to keyerror Charles Leifer 2026-03-17 07:29:31 -05:00
  • 6dc705288d Couple very small perf improvements in model construction / querying Charles Leifer 2026-03-17 07:01:15 -05:00
  • cff004942a Test to ensure dict first result wins Charles Leifer 2026-03-17 06:34:18 -05:00
  • 3728d7da3e Pre-compute expensive graph reachability in process-row. Charles Leifer 2026-03-16 22:51:11 -05:00
  • a7c6cb7c5d Better-behaved FOR UPDATE, correctly handle skip locked + of. Charles Leifer 2026-03-16 22:33:12 -05:00
  • b5353a33c8 Fix join graph resolution when intermediary models are empty/null. Charles Leifer 2026-03-16 18:33:10 -05:00
  • e031a55b42 Only do pk lookup when we have an auto-field in get(). Charles Leifer 2026-03-16 08:09:40 -05:00
  • fa3b3b8e89 Add some missing examples to api doc. Charles Leifer 2026-03-16 08:02:45 -05:00
  • aa59f6e036 Ensure avoid SQLi in timezone, add'l tests. Charles Leifer 2026-03-15 21:49:34 -05:00
  • 668baa9eab Allow table constraint test to run on mysql again. Charles Leifer 2026-03-15 21:07:19 -05:00
  • 0407f59b80 Fix alias-manager not clearing context - harmless but fixed. Charles Leifer 2026-03-15 20:48:05 -05:00
  • 7c43127ba1 Only specify no default values flag for models, not joining dicts. Charles Leifer 2026-03-15 19:59:12 -05:00
  • 40091beade Ensure bitwise negation is supported on bitfield. Charles Leifer 2026-03-15 16:00:49 -05:00
  • 3b86345dbb Ensure fk to bigauto uses bigint. Charles Leifer 2026-03-15 15:51:03 -05:00
  • a285042db7 4.0.2 4.0.2 Charles Leifer 2026-03-15 10:45:07 -05:00
  • e7b3091681 More idiomatic usage in doc examples. Charles Leifer 2026-03-15 10:35:43 -05:00
  • 7f85343a7b Fix misnamed method in examples. Charles Leifer 2026-03-15 10:34:11 -05:00
  • c505a13523 Update flaky tests that were relying on async callback ordering. Charles Leifer 2026-03-14 22:07:47 -05:00
  • 90d469127c Small cleanups to pydantic doc. Charles Leifer 2026-03-14 21:55:53 -05:00
  • 2ee08ef930 Attempt fix for hung cursors w/postgres in tests. Charles Leifer 2026-03-14 21:47:21 -05:00
  • e87d2ad960 Doc cleanups Charles Leifer 2026-03-14 21:37:43 -05:00
  • afb6d8bbce Add additional server-side cursor concurrency test. Charles Leifer 2026-03-14 17:11:40 -05:00
  • 2f0b39106d Update changelog as well. Charles Leifer 2026-03-14 16:40:15 -05:00
  • 3cf0b6556f Update readme/doc index to mention pydantic integration. Charles Leifer 2026-03-14 16:37:28 -05:00
  • e84099273e Rewrite tasklocal Charles Leifer 2026-03-14 13:04:38 -05:00
  • f500e93045 Support relationships / nesting with pydantic. Charles Leifer 2026-03-14 14:09:41 -05:00
  • d24afbcc03 Slight cleanup to fastapi doc. Charles Leifer 2026-03-13 20:09:35 -05:00
  • 3a061d331e Fixup docs, expand flask section as well. Charles Leifer 2026-03-13 16:03:57 -05:00
  • 92f335c7a7 Clean up fastapi framework integration doc. Charles Leifer 2026-03-13 15:48:10 -05:00
  • ea6cb2e0c9 Update framework integration doc. Charles Leifer 2026-03-13 14:41:25 -05:00
  • 58d43876a0 Test task id behavior across coroutines and tasks. Charles Leifer 2026-03-13 10:47:30 -05:00
  • 288c83c672 Add additional doc on fastapi usage. Charles Leifer 2026-03-12 21:54:42 -05:00
  • f4151daf98 Add test for abandoned connections Charles Leifer 2026-03-12 21:08:10 -05:00
  • 38c55cb293 Better cleanup of orphaned connections. Charles Leifer 2026-03-12 20:59:42 -05:00
  • 6b808f056c Does this resolve the test issue? Charles Leifer 2026-03-12 17:38:00 -05:00
  • 5f27531a61 Validation works on dict Charles Leifer 2026-03-12 14:08:25 -05:00
  • c6c3d6daac Ensure conversion from peewee <-> pydantic Charles Leifer 2026-03-12 13:56:17 -05:00
  • f41b31349d Run tests against pydantic stuff. Charles Leifer 2026-03-12 13:03:30 -05:00
  • baa8cb27b9 Add first-cut for generating Pydantic model from Peewee model. Charles Leifer 2026-03-12 13:02:51 -05:00
  • d2868194d3 New and improved art Charles Leifer 2026-03-12 12:34:15 -05:00
  • 9c26642948 Reord doc on json support Charles Leifer 2026-03-11 22:31:58 -05:00
  • 5ad08999ad Improvements to BinaryJSONField - remove() subelements, length, extract. Charles Leifer 2026-03-11 22:30:10 -05:00
  • 58ba089af4 Add support for jsonb remove on a sub-path. Charles Leifer 2026-03-11 21:55:40 -05:00
  • a099f10718 Add mapping of field type -> py type. Charles Leifer 2026-03-11 18:34:27 -05:00
  • 52bb6c92f4 Add connection pool for aiosqlite and document usage/behavior. Charles Leifer 2026-03-11 12:51:01 -05:00
  • 66990b5779 Remove unnecessary row hook. Charles Leifer 2026-03-11 09:53:09 -05:00
  • 6e0f58415d Better freeze/thaw for binary & datetimes in DataSet. Charles Leifer 2026-03-11 09:38:13 -05:00
  • 1130dca335 Docs for some of the new async methods & helpers Charles Leifer 2026-03-10 22:16:07 -05:00