Skip to content

[pull] main from apache:main#133

Merged
pull[bot] merged 4 commits intosudoevans:mainfrom
apache:main
Jan 1, 2026
Merged

[pull] main from apache:main#133
pull[bot] merged 4 commits intosudoevans:mainfrom
apache:main

Conversation

@pull
Copy link

@pull pull bot commented Jan 1, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

preethamk88 and others added 4 commits January 1, 2026 07:32
When a pydantic_action function has a 'state' parameter without type
annotation, raise a clear ValueError explaining that the parameter must
be annotated with a pydantic.BaseModel subclass, instead of a cryptic
KeyError.

Closes #385

Signed-off-by: majiayu000 <1835304752@qq.com>
…ster (#613)

* fix(persistence): improve error message for uninitialized SQLitePersister

When load(), save(), or list_app_ids() are called before initialize(),
raise a clear RuntimeError with actionable guidance instead of cryptic
sqlite3.OperationalError about missing table.

Closes #417

Signed-off-by: majiayu000 <1835304752@qq.com>

* refactor: extract error message to constant

Address review feedback: extract the uninitialized persister
error message to a module-level constant _UNINITIALIZED_PERSISTER_ERROR
and use it in all three places (list_app_ids, load, save).

---------

Signed-off-by: majiayu000 <1835304752@qq.com>
* Update serde.rst

As agreed here
#554

it would be helpful to mention some limitations/caveats.

* Update serde.rst

adds limitation note

---------

Co-authored-by: Stefan Krawczyk <stefan@dagworks.io>
@pull pull bot locked and limited conversation to collaborators Jan 1, 2026
@pull pull bot added the ⤵️ pull label Jan 1, 2026
@pull pull bot merged commit b9ee129 into sudoevans:main Jan 1, 2026
10 of 12 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants