forked from 0xWheatyz/SPARC
Bug: fix Patent.patent_id type annotation — change from int to str in types.py #528
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?
Context
Roadmap item: P2 Backend — type annotation fix
Patent.patent_idis typed asintintypes.pybut used as astrthroughout the codebase. This causes type-checker errors and potential runtime confusion.Task
Patent.patent_idfrominttostrintypes.pymypyorpyrightto verify no other type errors are introduced by the changeAcceptance Criteria
Patent.patent_idis annotated asstrintypes.pyVerified complete:
Patent.patent_idintypes.pyis annotated asstr(line 7). Closing as implemented.