forked from 0xWheatyz/SPARC
Bug: fix Patent.patent_id type annotation in types.py -- should be str, not int #281
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Patent.patent_id is annotated as int in types.py but is used as a string everywhere else in the codebase (e.g. filename construction, API responses, database queries). This mismatch causes silent type errors and will produce incorrect behavior if any code relies on the annotation for coercion or validation.
Acceptance Criteria
References
Roadmap: P2 Backend -- Patent.patent_id typed as int in types.py but used as str everywhere.