We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context: https://apiview.dev/Assemblies/Review/f654d0b58676400a9fe225b5df013d73?diffRevisionId=c550c432e8eb485eac666b722bfcdcd4&diffOnly=True&revisionId=c5256ddacaff4b25b6f6eae95676fca5&doc=False#24bfe5a892a5434bb01aeb2d039909bd
PEP526: https://peps.python.org/pep-0526/#class-and-instance-variable-annotations
class BasicStarship: captain: str = 'Picard' # instance variable with default damage: int # instance variable without default stats: ClassVar[Dict[str, int]] = {} # class variable
captain and damage should be ivar in APIView, while stats should be cvar since it is explicitly marked.
captain
damage
ivar
stats
cvar
The text was updated successfully, but these errors were encountered:
Fix #5197.
915d61e
9a4c6e4
1d332b2
Python APIView Fixes (#5653)
e7d83e9
* Closes #3759. * Display class decorators. Fixes #4860 * Fix #5197.
tjprescott
Successfully merging a pull request may close this issue.
Context: https://apiview.dev/Assemblies/Review/f654d0b58676400a9fe225b5df013d73?diffRevisionId=c550c432e8eb485eac666b722bfcdcd4&diffOnly=True&revisionId=c5256ddacaff4b25b6f6eae95676fca5&doc=False#24bfe5a892a5434bb01aeb2d039909bd
PEP526: https://peps.python.org/pep-0526/#class-and-instance-variable-annotations
captain
anddamage
should beivar
in APIView, whilestats
should becvar
since it is explicitly marked.The text was updated successfully, but these errors were encountered: