dify/api/events
-LAN- 9704319e10
fix: use automatic transaction commit in provider update handler
The provider update handler was missing proper transaction handling,
causing quota deductions to be lost. This fix uses session.begin()
context manager for automatic commit/rollback, ensuring provider
quota updates are properly persisted.

Fixes #24356
2025-08-22 21:24:55 +08:00
..
event_handlers fix: use automatic transaction commit in provider update handler 2025-08-22 21:24:55 +08:00
__init__.py feat: support opensearch approximate k-NN (#5322) 2024-06-19 12:44:33 +08:00
app_event.py chore(api): Introduce Ruff Formatter. (#7291) 2024-08-15 12:54:05 +08:00
dataset_event.py chore(api): Introduce Ruff Formatter. (#7291) 2024-08-15 12:54:05 +08:00
document_event.py chore(api): Introduce Ruff Formatter. (#7291) 2024-08-15 12:54:05 +08:00
message_event.py chore(api): Introduce Ruff Formatter. (#7291) 2024-08-15 12:54:05 +08:00
tenant_event.py chore(api): Introduce Ruff Formatter. (#7291) 2024-08-15 12:54:05 +08:00