Roberto a98e99f7a2 feat(api): folder quota helpers with atomic token usage
Implements check_folder_quota and add_token_usage in app/billing/quota.py
with dialect-aware upsert (pg_insert on PostgreSQL, read-then-write on SQLite).
Adds test_user_free/test_user_power fixtures and db alias to conftest.py.
6 new tests pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 08:23:22 +02:00
2026-04-08 23:27:34 +02:00
2026-04-08 23:27:34 +02:00
2026-03-03 12:39:32 +01:00
2026-04-08 23:27:34 +02:00
2026-03-03 15:14:04 +01:00
2026-03-10 09:11:24 +01:00
2026-04-19 14:48:05 +02:00
2026-04-29 09:21:41 +02:00

DEV

Run in DEV with command:

uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload --log-config logging.conf
Description
No description provided
Readme 2.7 MiB
Languages
Python 99.4%
Dockerfile 0.4%
Mako 0.2%