You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing Type Annotations/Stubs (.pyi files) for xero-python SDK #180
The xero-python SDK lacks proper type annotations and stub files (.pyi), causing issues with static type checkers, IDE autocompletion, and making it difficult to use the SDK with modern Python development practices.
Impact
Without proper type hints:
IDE autocompletion fails to suggest available methods/properties
Static type checkers (mypy, pyright) report false errors
SDK method signatures are unclear (esp. OAuth2Token and OAuth2 classes)
Developers must use defensive programming with hasattr() checks
Value Proposition
Adding type stubs would:
Improve developer experience with better IDE integration
Reduce runtime errors by catching type-related issues early
Activity
github-actions commentedon Apr 4, 2025
PETOSS-717
github-actions commentedon Apr 4, 2025
Thanks for raising an issue, a ticket has been created to track your request