Files
bruno 2f2a5e9b4a
CI / Lint & Format (push) Failing after 28s
CI / Tests (push) Has been skipped
CI / Security Scan (push) Failing after 8s
CI / Docker Build (push) Has been skipped
Add admin panel, WebSocket support, and API versioning
Introduce an admin portal (React + Nginx), WebSocket routing, and
API versioning middleware with `/api/v1/` prefix deprecation.
Add master API key authentication, new Prometheus metrics for AI
token consumption and active WebSockets, and extend S3 config
with a public endpoint URL. Update test paths and fixtures to
align with the new routing structure.
2026-06-22 11:25:22 -04:00

316 lines
52 KiB
Plaintext

c:\Users\bruno\scoop\apps\python\3.14.3\Lib\site-packages\pytest_asyncio\plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"
warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
============================= test session starts =============================
platform win32 -- Python 3.14.3, pytest-8.3.3, pluggy-1.6.0
rootdir: C:\dev\git\python\imago
configfile: pytest.ini
plugins: anyio-4.12.0, asyncio-0.24.0, cov-5.0.0, mock-3.15.1, respx-0.22.0
asyncio: mode=Mode.AUTO, default_loop_scope=None
collected 4 items / 3 deselected / 1 selected
tests\test_versioning.py F [100%]
================================== FAILURES ===================================
______________________ test_sunset_header_if_configured _______________________
tests\test_versioning.py:51: in test_sunset_header_if_configured
response = await client.get("/api/v1/images/")
C:\Users\bruno\scoop\apps\python\current\Lib\site-packages\httpx\_client.py:1814: in get
return await self.request(
C:\Users\bruno\scoop\apps\python\current\Lib\site-packages\httpx\_client.py:1585: in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
C:\Users\bruno\scoop\apps\python\current\Lib\site-packages\httpx\_client.py:1674: in send
response = await self._send_handling_auth(
C:\Users\bruno\scoop\apps\python\current\Lib\site-packages\httpx\_client.py:1702: in _send_handling_auth
response = await self._send_handling_redirects(
C:\Users\bruno\scoop\apps\python\current\Lib\site-packages\httpx\_client.py:1739: in _send_handling_redirects
response = await self._send_single_request(request)
C:\Users\bruno\scoop\apps\python\current\Lib\site-packages\httpx\_client.py:1776: in _send_single_request
response = await transport.handle_async_request(request)
C:\Users\bruno\scoop\apps\python\current\Lib\site-packages\httpx\_transports\asgi.py:157: in handle_async_request
await self.app(scope, receive, send)
E TypeError: 'module' object is not callable
---------------------------- Captured stdout setup ----------------------------
2026-02-25T16:03:33.100331Z [debug ] Using proactor: IocpProactor [asyncio]
2026-02-25T16:03:33.102440Z [debug ] executing <function connect.<locals>.connector at 0x000001BE3CE1E090> [aiosqlite]
2026-02-25T16:03:33.102880Z [debug ] operation <function connect.<locals>.connector at 0x000001BE3CE1E090> completed [aiosqlite]
2026-02-25T16:03:33.103447Z [debug ] executing functools.partial(<built-in method create_function of sqlite3.Connection object at 0x000001BE3CDAB6A0>, 'regexp', 2, <function SQLiteDialect_pysqlite.on_connect.<locals>.regexp at 0x000001BE3CCEC5C0>, deterministic=True) [aiosqlite]
2026-02-25T16:03:33.104181Z [debug ] operation functools.partial(<built-in method create_function of sqlite3.Connection object at 0x000001BE3CDAB6A0>, 'regexp', 2, <function SQLiteDialect_pysqlite.on_connect.<locals>.regexp at 0x000001BE3CCEC5C0>, deterministic=True) completed [aiosqlite]
2026-02-25T16:03:33.104641Z [debug ] executing functools.partial(<built-in method create_function of sqlite3.Connection object at 0x000001BE3CDAB6A0>, 'floor', 1, <built-in function floor>, deterministic=True) [aiosqlite]
2026-02-25T16:03:33.104812Z [debug ] operation functools.partial(<built-in method create_function of sqlite3.Connection object at 0x000001BE3CDAB6A0>, 'floor', 1, <built-in function floor>, deterministic=True) completed [aiosqlite]
2026-02-25T16:03:33.105105Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.105248Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.105464Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5D740>, 'PRAGMA read_uncommitted', []) [aiosqlite]
2026-02-25T16:03:33.105665Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5D740>, 'PRAGMA read_uncommitted', []) completed [aiosqlite]
2026-02-25T16:03:33.105894Z [debug ] executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5D740>) [aiosqlite]
2026-02-25T16:03:33.106035Z [debug ] operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5D740>) completed [aiosqlite]
2026-02-25T16:03:33.106330Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5D740>) [aiosqlite]
2026-02-25T16:03:33.106586Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5D740>) completed [aiosqlite]
2026-02-25T16:03:33.106953Z [debug ] executing functools.partial(<built-in method rollback of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.107135Z [debug ] operation functools.partial(<built-in method rollback of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.107729Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.107886Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.108121Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5D8C0>, 'PRAGMA main.table_info("images")', ()) [aiosqlite]
2026-02-25T16:03:33.108411Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5D8C0>, 'PRAGMA main.table_info("images")', ()) completed [aiosqlite]
2026-02-25T16:03:33.108645Z [debug ] executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5D8C0>) [aiosqlite]
2026-02-25T16:03:33.108778Z [debug ] operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5D8C0>) completed [aiosqlite]
2026-02-25T16:03:33.109004Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5D8C0>) [aiosqlite]
2026-02-25T16:03:33.109186Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5D8C0>) completed [aiosqlite]
2026-02-25T16:03:33.109549Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.109684Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.109892Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5D9C0>, 'PRAGMA temp.table_info("images")', ()) [aiosqlite]
2026-02-25T16:03:33.110069Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5D9C0>, 'PRAGMA temp.table_info("images")', ()) completed [aiosqlite]
2026-02-25T16:03:33.110270Z [debug ] executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5D9C0>) [aiosqlite]
2026-02-25T16:03:33.110398Z [debug ] operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5D9C0>) completed [aiosqlite]
2026-02-25T16:03:33.110592Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5D9C0>) [aiosqlite]
2026-02-25T16:03:33.110716Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5D9C0>) completed [aiosqlite]
2026-02-25T16:03:33.110995Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.111121Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.111357Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DAC0>, 'PRAGMA main.table_info("api_clients")', ()) [aiosqlite]
2026-02-25T16:03:33.111522Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DAC0>, 'PRAGMA main.table_info("api_clients")', ()) completed [aiosqlite]
2026-02-25T16:03:33.111737Z [debug ] executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5DAC0>) [aiosqlite]
2026-02-25T16:03:33.111861Z [debug ] operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5DAC0>) completed [aiosqlite]
2026-02-25T16:03:33.112073Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DAC0>) [aiosqlite]
2026-02-25T16:03:33.112200Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DAC0>) completed [aiosqlite]
2026-02-25T16:03:33.112437Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.112562Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.112756Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DB40>, 'PRAGMA temp.table_info("api_clients")', ()) [aiosqlite]
2026-02-25T16:03:33.112897Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DB40>, 'PRAGMA temp.table_info("api_clients")', ()) completed [aiosqlite]
2026-02-25T16:03:33.113090Z [debug ] executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5DB40>) [aiosqlite]
2026-02-25T16:03:33.113221Z [debug ] operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5DB40>) completed [aiosqlite]
2026-02-25T16:03:33.113414Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DB40>) [aiosqlite]
2026-02-25T16:03:33.113589Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DB40>) completed [aiosqlite]
2026-02-25T16:03:33.114647Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.114885Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.115308Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DBC0>, '\nCREATE TABLE api_clients (\n\tid VARCHAR(36) NOT NULL, \n\tname VARCHAR(256) NOT NULL, \n\tapi_key_hash VARCHAR(64) NOT NULL, \n\tscopes JSON NOT NULL, \n\t"plan" VARCHAR(8) NOT NULL, \n\tis_active BOOLEAN NOT NULL, \n\tstorage_used_bytes BIGINT NOT NULL, \n\tquota_storage_mb INTEGER NOT NULL, \n\tquota_images INTEGER NOT NULL, \n\tcreated_at DATETIME, \n\tupdated_at DATETIME, \n\tPRIMARY KEY (id)\n)\n\n', ()) [aiosqlite]
2026-02-25T16:03:33.115731Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DBC0>, '\nCREATE TABLE api_clients (\n\tid VARCHAR(36) NOT NULL, \n\tname VARCHAR(256) NOT NULL, \n\tapi_key_hash VARCHAR(64) NOT NULL, \n\tscopes JSON NOT NULL, \n\t"plan" VARCHAR(8) NOT NULL, \n\tis_active BOOLEAN NOT NULL, \n\tstorage_used_bytes BIGINT NOT NULL, \n\tquota_storage_mb INTEGER NOT NULL, \n\tquota_images INTEGER NOT NULL, \n\tcreated_at DATETIME, \n\tupdated_at DATETIME, \n\tPRIMARY KEY (id)\n)\n\n', ()) completed [aiosqlite]
2026-02-25T16:03:33.115978Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DBC0>) [aiosqlite]
2026-02-25T16:03:33.116109Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DBC0>) completed [aiosqlite]
2026-02-25T16:03:33.116617Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.116886Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.117309Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5EC40>, 'CREATE UNIQUE INDEX ix_api_clients_api_key_hash ON api_clients (api_key_hash)', ()) [aiosqlite]
2026-02-25T16:03:33.117724Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5EC40>, 'CREATE UNIQUE INDEX ix_api_clients_api_key_hash ON api_clients (api_key_hash)', ()) completed [aiosqlite]
2026-02-25T16:03:33.118094Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5EC40>) [aiosqlite]
2026-02-25T16:03:33.118231Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5EC40>) completed [aiosqlite]
2026-02-25T16:03:33.118528Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.118662Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.118864Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5EFC0>, 'CREATE INDEX ix_api_clients_id ON api_clients (id)', ()) [aiosqlite]
2026-02-25T16:03:33.119052Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5EFC0>, 'CREATE INDEX ix_api_clients_id ON api_clients (id)', ()) completed [aiosqlite]
2026-02-25T16:03:33.119257Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5EFC0>) [aiosqlite]
2026-02-25T16:03:33.119407Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5EFC0>) completed [aiosqlite]
2026-02-25T16:03:33.120192Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.120330Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.120606Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5E1C0>, '\nCREATE TABLE images (\n\tid INTEGER NOT NULL, \n\tuuid VARCHAR(36) NOT NULL, \n\tclient_id VARCHAR(36) NOT NULL, \n\toriginal_name VARCHAR(512) NOT NULL, \n\tfilename VARCHAR(512) NOT NULL, \n\tfile_path VARCHAR(1024) NOT NULL, \n\tthumbnail_path VARCHAR(1024), \n\tmime_type VARCHAR(128), \n\tfile_size BIGINT, \n\twidth INTEGER, \n\theight INTEGER, \n\tuploaded_at DATETIME, \n\tprocessing_status VARCHAR(10) NOT NULL, \n\tprocessing_error TEXT, \n\tprocessing_started_at DATETIME, \n\tprocessing_done_at DATETIME, \n\texif_raw JSON, \n\texif_make VARCHAR(256), \n\texif_model VARCHAR(256), \n\texif_lens VARCHAR(256), \n\texif_taken_at DATETIME, \n\texif_gps_lat FLOAT, \n\texif_gps_lon FLOAT, \n\texif_altitude FLOAT, \n\texif_iso INTEGER, \n\texif_aperture VARCHAR(32), \n\texif_shutter VARCHAR(32), \n\texif_focal VARCHAR(32), \n\texif_flash BOOLEAN, \n\texif_orientation INTEGER, \n\texif_software VARCHAR(256), \n\tocr_text TEXT, \n\tocr_language VARCHAR(64), \n\tocr_confidence FLOAT, \n\tocr_has_text BOOLEAN, \n\tai_description TEXT, \n\tai_tags JSON, \n\tai_confidence FLOAT, \n\tai_model_used VARCHAR(128), \n\tai_processed_at DATETIME, \n\tai_prompt_tokens INTEGER, \n\tai_output_tokens INTEGER, \n\tPRIMARY KEY (id), \n\tFOREIGN KEY(client_id) REFERENCES api_clients (id)\n)\n\n', ()) [aiosqlite]
2026-02-25T16:03:33.120928Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5E1C0>, '\nCREATE TABLE images (\n\tid INTEGER NOT NULL, \n\tuuid VARCHAR(36) NOT NULL, \n\tclient_id VARCHAR(36) NOT NULL, \n\toriginal_name VARCHAR(512) NOT NULL, \n\tfilename VARCHAR(512) NOT NULL, \n\tfile_path VARCHAR(1024) NOT NULL, \n\tthumbnail_path VARCHAR(1024), \n\tmime_type VARCHAR(128), \n\tfile_size BIGINT, \n\twidth INTEGER, \n\theight INTEGER, \n\tuploaded_at DATETIME, \n\tprocessing_status VARCHAR(10) NOT NULL, \n\tprocessing_error TEXT, \n\tprocessing_started_at DATETIME, \n\tprocessing_done_at DATETIME, \n\texif_raw JSON, \n\texif_make VARCHAR(256), \n\texif_model VARCHAR(256), \n\texif_lens VARCHAR(256), \n\texif_taken_at DATETIME, \n\texif_gps_lat FLOAT, \n\texif_gps_lon FLOAT, \n\texif_altitude FLOAT, \n\texif_iso INTEGER, \n\texif_aperture VARCHAR(32), \n\texif_shutter VARCHAR(32), \n\texif_focal VARCHAR(32), \n\texif_flash BOOLEAN, \n\texif_orientation INTEGER, \n\texif_software VARCHAR(256), \n\tocr_text TEXT, \n\tocr_language VARCHAR(64), \n\tocr_confidence FLOAT, \n\tocr_has_text BOOLEAN, \n\tai_description TEXT, \n\tai_tags JSON, \n\tai_confidence FLOAT, \n\tai_model_used VARCHAR(128), \n\tai_processed_at DATETIME, \n\tai_prompt_tokens INTEGER, \n\tai_output_tokens INTEGER, \n\tPRIMARY KEY (id), \n\tFOREIGN KEY(client_id) REFERENCES api_clients (id)\n)\n\n', ()) completed [aiosqlite]
2026-02-25T16:03:33.121195Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5E1C0>) [aiosqlite]
2026-02-25T16:03:33.121330Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5E1C0>) completed [aiosqlite]
2026-02-25T16:03:33.121608Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.121735Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.121955Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5FEC0>, 'CREATE UNIQUE INDEX ix_images_uuid ON images (uuid)', ()) [aiosqlite]
2026-02-25T16:03:33.122201Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5FEC0>, 'CREATE UNIQUE INDEX ix_images_uuid ON images (uuid)', ()) completed [aiosqlite]
2026-02-25T16:03:33.122426Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5FEC0>) [aiosqlite]
2026-02-25T16:03:33.122554Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5FEC0>) completed [aiosqlite]
2026-02-25T16:03:33.122824Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.122953Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.123157Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5F4C0>, 'CREATE INDEX ix_images_id ON images (id)', ()) [aiosqlite]
2026-02-25T16:03:33.123340Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5F4C0>, 'CREATE INDEX ix_images_id ON images (id)', ()) completed [aiosqlite]
2026-02-25T16:03:33.123546Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5F4C0>) [aiosqlite]
2026-02-25T16:03:33.123673Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5F4C0>) completed [aiosqlite]
2026-02-25T16:03:33.123937Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.124069Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.124326Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5F3C0>, 'CREATE INDEX ix_images_client_id ON images (client_id)', ()) [aiosqlite]
2026-02-25T16:03:33.124530Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5F3C0>, 'CREATE INDEX ix_images_client_id ON images (client_id)', ()) completed [aiosqlite]
2026-02-25T16:03:33.124768Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5F3C0>) [aiosqlite]
2026-02-25T16:03:33.124900Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5F3C0>) completed [aiosqlite]
2026-02-25T16:03:33.125184Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.125314Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.125521Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DEC0>, 'CREATE INDEX ix_images_processing_status ON images (processing_status)', ()) [aiosqlite]
2026-02-25T16:03:33.125710Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DEC0>, 'CREATE INDEX ix_images_processing_status ON images (processing_status)', ()) completed [aiosqlite]
2026-02-25T16:03:33.125946Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DEC0>) [aiosqlite]
2026-02-25T16:03:33.126076Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DEC0>) completed [aiosqlite]
2026-02-25T16:03:33.126383Z [debug ] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.126650Z [debug ] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.127019Z [debug ] executing functools.partial(<built-in method rollback of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.127152Z [debug ] operation functools.partial(<built-in method rollback of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
----------------------------- Captured log setup ------------------------------
DEBUG asyncio:proactor_events.py:633 Using proactor: IocpProactor
DEBUG aiosqlite:core.py:114 executing <function connect.<locals>.connector at 0x000001BE3CE1E090>
DEBUG aiosqlite:core.py:116 operation <function connect.<locals>.connector at 0x000001BE3CE1E090> completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method create_function of sqlite3.Connection object at 0x000001BE3CDAB6A0>, 'regexp', 2, <function SQLiteDialect_pysqlite.on_connect.<locals>.regexp at 0x000001BE3CCEC5C0>, deterministic=True)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method create_function of sqlite3.Connection object at 0x000001BE3CDAB6A0>, 'regexp', 2, <function SQLiteDialect_pysqlite.on_connect.<locals>.regexp at 0x000001BE3CCEC5C0>, deterministic=True) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method create_function of sqlite3.Connection object at 0x000001BE3CDAB6A0>, 'floor', 1, <built-in function floor>, deterministic=True)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method create_function of sqlite3.Connection object at 0x000001BE3CDAB6A0>, 'floor', 1, <built-in function floor>, deterministic=True) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5D740>, 'PRAGMA read_uncommitted', [])
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5D740>, 'PRAGMA read_uncommitted', []) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5D740>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5D740>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5D740>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5D740>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method rollback of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method rollback of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5D8C0>, 'PRAGMA main.table_info("images")', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5D8C0>, 'PRAGMA main.table_info("images")', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5D8C0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5D8C0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5D8C0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5D8C0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5D9C0>, 'PRAGMA temp.table_info("images")', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5D9C0>, 'PRAGMA temp.table_info("images")', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5D9C0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5D9C0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5D9C0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5D9C0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DAC0>, 'PRAGMA main.table_info("api_clients")', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DAC0>, 'PRAGMA main.table_info("api_clients")', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5DAC0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5DAC0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DAC0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DAC0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DB40>, 'PRAGMA temp.table_info("api_clients")', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DB40>, 'PRAGMA temp.table_info("api_clients")', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5DB40>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CE5DB40>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DB40>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DB40>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DBC0>, '\nCREATE TABLE api_clients (\n\tid VARCHAR(36) NOT NULL, \n\tname VARCHAR(256) NOT NULL, \n\tapi_key_hash VARCHAR(64) NOT NULL, \n\tscopes JSON NOT NULL, \n\t"plan" VARCHAR(8) NOT NULL, \n\tis_active BOOLEAN NOT NULL, \n\tstorage_used_bytes BIGINT NOT NULL, \n\tquota_storage_mb INTEGER NOT NULL, \n\tquota_images INTEGER NOT NULL, \n\tcreated_at DATETIME, \n\tupdated_at DATETIME, \n\tPRIMARY KEY (id)\n)\n\n', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DBC0>, '\nCREATE TABLE api_clients (\n\tid VARCHAR(36) NOT NULL, \n\tname VARCHAR(256) NOT NULL, \n\tapi_key_hash VARCHAR(64) NOT NULL, \n\tscopes JSON NOT NULL, \n\t"plan" VARCHAR(8) NOT NULL, \n\tis_active BOOLEAN NOT NULL, \n\tstorage_used_bytes BIGINT NOT NULL, \n\tquota_storage_mb INTEGER NOT NULL, \n\tquota_images INTEGER NOT NULL, \n\tcreated_at DATETIME, \n\tupdated_at DATETIME, \n\tPRIMARY KEY (id)\n)\n\n', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DBC0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DBC0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5EC40>, 'CREATE UNIQUE INDEX ix_api_clients_api_key_hash ON api_clients (api_key_hash)', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5EC40>, 'CREATE UNIQUE INDEX ix_api_clients_api_key_hash ON api_clients (api_key_hash)', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5EC40>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5EC40>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5EFC0>, 'CREATE INDEX ix_api_clients_id ON api_clients (id)', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5EFC0>, 'CREATE INDEX ix_api_clients_id ON api_clients (id)', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5EFC0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5EFC0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5E1C0>, '\nCREATE TABLE images (\n\tid INTEGER NOT NULL, \n\tuuid VARCHAR(36) NOT NULL, \n\tclient_id VARCHAR(36) NOT NULL, \n\toriginal_name VARCHAR(512) NOT NULL, \n\tfilename VARCHAR(512) NOT NULL, \n\tfile_path VARCHAR(1024) NOT NULL, \n\tthumbnail_path VARCHAR(1024), \n\tmime_type VARCHAR(128), \n\tfile_size BIGINT, \n\twidth INTEGER, \n\theight INTEGER, \n\tuploaded_at DATETIME, \n\tprocessing_status VARCHAR(10) NOT NULL, \n\tprocessing_error TEXT, \n\tprocessing_started_at DATETIME, \n\tprocessing_done_at DATETIME, \n\texif_raw JSON, \n\texif_make VARCHAR(256), \n\texif_model VARCHAR(256), \n\texif_lens VARCHAR(256), \n\texif_taken_at DATETIME, \n\texif_gps_lat FLOAT, \n\texif_gps_lon FLOAT, \n\texif_altitude FLOAT, \n\texif_iso INTEGER, \n\texif_aperture VARCHAR(32), \n\texif_shutter VARCHAR(32), \n\texif_focal VARCHAR(32), \n\texif_flash BOOLEAN, \n\texif_orientation INTEGER, \n\texif_software VARCHAR(256), \n\tocr_text TEXT, \n\tocr_language VARCHAR(64), \n\tocr_confidence FLOAT, \n\tocr_has_text BOOLEAN, \n\tai_description TEXT, \n\tai_tags JSON, \n\tai_confidence FLOAT, \n\tai_model_used VARCHAR(128), \n\tai_processed_at DATETIME, \n\tai_prompt_tokens INTEGER, \n\tai_output_tokens INTEGER, \n\tPRIMARY KEY (id), \n\tFOREIGN KEY(client_id) REFERENCES api_clients (id)\n)\n\n', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5E1C0>, '\nCREATE TABLE images (\n\tid INTEGER NOT NULL, \n\tuuid VARCHAR(36) NOT NULL, \n\tclient_id VARCHAR(36) NOT NULL, \n\toriginal_name VARCHAR(512) NOT NULL, \n\tfilename VARCHAR(512) NOT NULL, \n\tfile_path VARCHAR(1024) NOT NULL, \n\tthumbnail_path VARCHAR(1024), \n\tmime_type VARCHAR(128), \n\tfile_size BIGINT, \n\twidth INTEGER, \n\theight INTEGER, \n\tuploaded_at DATETIME, \n\tprocessing_status VARCHAR(10) NOT NULL, \n\tprocessing_error TEXT, \n\tprocessing_started_at DATETIME, \n\tprocessing_done_at DATETIME, \n\texif_raw JSON, \n\texif_make VARCHAR(256), \n\texif_model VARCHAR(256), \n\texif_lens VARCHAR(256), \n\texif_taken_at DATETIME, \n\texif_gps_lat FLOAT, \n\texif_gps_lon FLOAT, \n\texif_altitude FLOAT, \n\texif_iso INTEGER, \n\texif_aperture VARCHAR(32), \n\texif_shutter VARCHAR(32), \n\texif_focal VARCHAR(32), \n\texif_flash BOOLEAN, \n\texif_orientation INTEGER, \n\texif_software VARCHAR(256), \n\tocr_text TEXT, \n\tocr_language VARCHAR(64), \n\tocr_confidence FLOAT, \n\tocr_has_text BOOLEAN, \n\tai_description TEXT, \n\tai_tags JSON, \n\tai_confidence FLOAT, \n\tai_model_used VARCHAR(128), \n\tai_processed_at DATETIME, \n\tai_prompt_tokens INTEGER, \n\tai_output_tokens INTEGER, \n\tPRIMARY KEY (id), \n\tFOREIGN KEY(client_id) REFERENCES api_clients (id)\n)\n\n', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5E1C0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5E1C0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5FEC0>, 'CREATE UNIQUE INDEX ix_images_uuid ON images (uuid)', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5FEC0>, 'CREATE UNIQUE INDEX ix_images_uuid ON images (uuid)', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5FEC0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5FEC0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5F4C0>, 'CREATE INDEX ix_images_id ON images (id)', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5F4C0>, 'CREATE INDEX ix_images_id ON images (id)', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5F4C0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5F4C0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5F3C0>, 'CREATE INDEX ix_images_client_id ON images (client_id)', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5F3C0>, 'CREATE INDEX ix_images_client_id ON images (client_id)', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5F3C0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5F3C0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DEC0>, 'CREATE INDEX ix_images_processing_status ON images (processing_status)', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CE5DEC0>, 'CREATE INDEX ix_images_processing_status ON images (processing_status)', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DEC0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CE5DEC0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method rollback of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method rollback of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
-------------------------- Captured stdout teardown ---------------------------
2026-02-25T16:03:33.476293Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.476710Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.477053Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE1779E640>, 'PRAGMA main.table_info("images")', ()) [aiosqlite]
2026-02-25T16:03:33.477282Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE1779E640>, 'PRAGMA main.table_info("images")', ()) completed [aiosqlite]
2026-02-25T16:03:33.477549Z [debug ] executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE1779E640>) [aiosqlite]
2026-02-25T16:03:33.477734Z [debug ] operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE1779E640>) completed [aiosqlite]
2026-02-25T16:03:33.478036Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE1779E640>) [aiosqlite]
2026-02-25T16:03:33.478180Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE1779E640>) completed [aiosqlite]
2026-02-25T16:03:33.478527Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.478666Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.478911Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CCD7EC0>, 'PRAGMA main.table_info("api_clients")', ()) [aiosqlite]
2026-02-25T16:03:33.479082Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CCD7EC0>, 'PRAGMA main.table_info("api_clients")', ()) completed [aiosqlite]
2026-02-25T16:03:33.479312Z [debug ] executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CCD7EC0>) [aiosqlite]
2026-02-25T16:03:33.479458Z [debug ] operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CCD7EC0>) completed [aiosqlite]
2026-02-25T16:03:33.479668Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CCD7EC0>) [aiosqlite]
2026-02-25T16:03:33.479797Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CCD7EC0>) completed [aiosqlite]
2026-02-25T16:03:33.480187Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.480331Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.480646Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CCD7CC0>, '\nDROP TABLE images', ()) [aiosqlite]
2026-02-25T16:03:33.481101Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CCD7CC0>, '\nDROP TABLE images', ()) completed [aiosqlite]
2026-02-25T16:03:33.481483Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CCD7CC0>) [aiosqlite]
2026-02-25T16:03:33.481638Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CCD7CC0>) completed [aiosqlite]
2026-02-25T16:03:33.481996Z [debug ] executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.482137Z [debug ] operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.482385Z [debug ] executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CCF7AC0>, '\nDROP TABLE api_clients', ()) [aiosqlite]
2026-02-25T16:03:33.482622Z [debug ] operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CCF7AC0>, '\nDROP TABLE api_clients', ()) completed [aiosqlite]
2026-02-25T16:03:33.482846Z [debug ] executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CCF7AC0>) [aiosqlite]
2026-02-25T16:03:33.482991Z [debug ] operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CCF7AC0>) completed [aiosqlite]
2026-02-25T16:03:33.483335Z [debug ] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.483473Z [debug ] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.483791Z [debug ] executing functools.partial(<built-in method rollback of sqlite3.Connection object at 0x000001BE3CDAB6A0>) [aiosqlite]
2026-02-25T16:03:33.484066Z [debug ] operation functools.partial(<built-in method rollback of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed [aiosqlite]
2026-02-25T16:03:33.484696Z [debug ] Using proactor: IocpProactor [asyncio]
---------------------------- Captured log teardown ----------------------------
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE1779E640>, 'PRAGMA main.table_info("images")', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE1779E640>, 'PRAGMA main.table_info("images")', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE1779E640>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE1779E640>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE1779E640>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE1779E640>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CCD7EC0>, 'PRAGMA main.table_info("api_clients")', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CCD7EC0>, 'PRAGMA main.table_info("api_clients")', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CCD7EC0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method fetchall of sqlite3.Cursor object at 0x000001BE3CCD7EC0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CCD7EC0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CCD7EC0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CCD7CC0>, '\nDROP TABLE images', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CCD7CC0>, '\nDROP TABLE images', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CCD7CC0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CCD7CC0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method cursor of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CCF7AC0>, '\nDROP TABLE api_clients', ())
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method execute of sqlite3.Cursor object at 0x000001BE3CCF7AC0>, '\nDROP TABLE api_clients', ()) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CCF7AC0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method close of sqlite3.Cursor object at 0x000001BE3CCF7AC0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG aiosqlite:core.py:114 executing functools.partial(<built-in method rollback of sqlite3.Connection object at 0x000001BE3CDAB6A0>)
DEBUG aiosqlite:core.py:116 operation functools.partial(<built-in method rollback of sqlite3.Connection object at 0x000001BE3CDAB6A0>) completed
DEBUG asyncio:proactor_events.py:633 Using proactor: IocpProactor
============================== warnings summary ===============================
..\..\..\..\Users\bruno\scoop\apps\python\current\Lib\site-packages\_pytest\config\__init__.py:1441
C:\Users\bruno\scoop\apps\python\current\Lib\site-packages\_pytest\config\__init__.py:1441: PytestConfigWarning: Unknown config option: env
self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ===========================
FAILED tests/test_versioning.py::test_sunset_header_if_configured - TypeError...
================= 1 failed, 3 deselected, 1 warning in 0.41s ==================