Skip to content

Conversation

BobTheBuidler
Copy link

@BobTheBuidler BobTheBuidler commented Oct 1, 2025

This PR implements validation for mypyc_attr arguments and more informational type hints for its signature

Sometimes I'll prototype a design in pure-python before I compile it for the first time, this would be helpful for validating the prototype before spending time compiling.

This PR implements validation for `mypyc_attr` arguments and more informational type hints for its signature
]

class MypycAttrs(TypedDict):
native_class: NotRequired[bool]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are there others? I was looking thru the docs and couldn't find any good central resource on this


# TODO: We may want to try to properly apply this to any type
# variables left over...
# TODO: We may want to try to properly apply this to any type variables left over...
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this just looked silly as a multiline comment once the block above was added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant