mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-13 11:52:45 +02:00
Replace the deprecated Pydantic v1 @validator('amount', pre=True,
always=True) with a v2 @model_validator(mode='after'). The model
validator always runs and can see both amount and send_all, preserving
the cross-field rule (and the always=True semantics that reject the
empty/default case). Removes the last Pydantic v1 deprecation warning.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| models | ||
| routers | ||
| __init__.py | ||
| test_app_manage_lock.py | ||
| test_apps_uninstall_keep_data.py | ||
| test_change_password.py | ||
| test_cln_list_all_tx.py | ||
| test_cln_shell_safety.py | ||
| test_exec_bash_timeout.py | ||
| test_jwt.py | ||
| test_native_python_errors.py | ||
| test_send_coins_input.py | ||
| test_warmup_events.py | ||
| utils.py | ||