feat: add return type annotations to async DB functions (#20) #47

Merged
cal merged 3 commits from ai/paper-dynasty-card-creation-20 into main 2026-03-23 19:52:03 +00:00

3 Commits

Author SHA1 Message Date
cal
de9604364c Merge branch 'main' into ai/paper-dynasty-card-creation-20 2026-03-23 19:51:48 +00:00
Cal Corum
82a8dac950 fix: correct url_get return type annotation to dict
url_get returns await resp.json() which is a dict, not aiohttp.ClientResponse.
The wrong annotation was introduced in the original PR and would mislead
static analysis tools into expecting a response object from callers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 08:14:24 -05:00
Cal Corum
0c0eece972 feat: add return type annotations to async DB functions (#20)
Closes #20

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 12:33:01 -05:00