pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/rayakame/sqlc-gen-better-python/commit/d0d345f6a2590fd224b257bf46d4cbd37ada64d8

igin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/code-a5d20170108e1057.css" /> Fix `aiosqlite` (#82) · rayakame/sqlc-gen-better-python@d0d345f · GitHub
Skip to content

Commit d0d345f

Browse files
authored
Fix aiosqlite (#82)
* build: add test\driver_aiosqlite to TARGET_DIRS (bugfix/fix-sqlite) * fix(uv.lock): Update aiosqlite to version 0.21.0 in uv.lock file (issue #47) * refactor(sqlite): Refactor log method to use GlobalLogger - Refactor log method in sqlite.go to use GlobalLogger instead of log.Printf to handle unknown SQLite types. (issue: bugfix/fix-sqlite) * feat(sqlc-gen-better-python): Add aiosqlite dependency (bugfix/fix-sqlite) * fix(asyncpg): Fix condition for typeConversion.AsyncpgDoTypeConversion Changed the condition for `typeConversion.AsyncpgDoTypeConversion` in `internal/codegen/drivers/asyncpg.go` to correctly check if the `embedCol` type needs conversion. * add * t * added converters and adapters * fix(sqlc-gen-better-python): update sha256 checksum in sqlc.yaml files * t * t * finished aiosqlite * fragments * build: adjust docstring output for SQLite driver (fix-sqlite) * feat(codegen): update argType to include None if nullable (fix-sqlite) * fix: set default values to None in TestInnerSqliteType (bugfix/fix-sqlite) * feat(asyncpg): handle nullable columns in row iteration (bugfix/fix-sqlite) * fragment
1 parent e3dadbc commit d0d345f

80 files changed

Lines changed: 17570 additions & 1499 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: Added
2+
body: Added tests for `aiosqlite` driver with 100% coverage
3+
time: 2025-05-19T19:58:25.3094785+02:00
4+
custom:
5+
Author: rayakame
6+
PR: "82"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: Fixed
2+
body: Brought `aiosqlite` back to full compatibility
3+
time: 2025-05-19T19:58:04.0087469+02:00
4+
custom:
5+
Author: rayakame
6+
PR: "82"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: Fixed
2+
body: Fixed incorrect typing of query function arguments for nullable fields.
3+
time: 2025-05-20T23:52:08.6426019+02:00
4+
custom:
5+
Author: null-domain
6+
PR: "82"

.coverage

68 KB
Binary file not shown.

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,26 @@ jobs:
173173
run: |
174174
uv run nox -s asyncpg_check
175175
176+
aiosqlite:
177+
runs-on: ubuntu-latest
178+
name: "Run aiosqlite check via nox"
179+
steps:
180+
- uses: actions/checkout@v4
181+
- name: Install uv
182+
uses: astral-sh/setup-uv@v6
183+
with:
184+
version: "0.6.9"
185+
python-version: "3.13"
186+
187+
- name: Install sqlc
188+
uses: sqlc-dev/setup-sqlc@v4
189+
with:
190+
sqlc-version: '1.28.0'
191+
192+
- name: Run sqlc verify via nox
193+
run: |
194+
uv run nox -s aiosqlite_check
195+
176196
test-build:
177197
runs-on: ubuntu-latest
178198

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy