Skip to content
New issue

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

Don't hide CachingProtocolMeta #17

Merged
merged 1 commit into from
Oct 12, 2022
Merged

Conversation

posita
Copy link
Collaborator

@posita posita commented Jul 8, 2022

Fixes #15.

@posita
Copy link
Collaborator Author

posita commented Jul 8, 2022

@antonagestam, apologies in advance if I stole your thunder, but please consider this only a proposal. It should allow either of the following to work without error:

from numerary.protocol import CachingProtocolMeta
from numerary.types import CachingProtocolMeta

As an aside, I'm curious which static type checker you're using.

If you have something different in mind, I'm happy to abandon this and consider any alternative. No rush, though. Enjoy your time away from your keyboard!

@posita
Copy link
Collaborator Author

posita commented Oct 12, 2022

@antonagestam, if you're cool with it, I'll go ahead and merge this and cut a new release.

@posita posita force-pushed the posita/0/dont-hide-metaclass-15 branch from 9707621 to 7b0d0bb Compare October 12, 2022 14:17
@antonagestam
Copy link

@posita Sounds good :)

@posita posita merged commit a286677 into main Oct 12, 2022
@posita posita deleted the posita/0/dont-hide-metaclass-15 branch October 12, 2022 17:48
posita added a commit that referenced this pull request Oct 13, 2022
flaeppe added a commit to flaeppe/phantom-types that referenced this pull request Nov 16, 2022
flaeppe added a commit to flaeppe/phantom-types that referenced this pull request Nov 16, 2022
antonagestam pushed a commit to antonagestam/phantom-types that referenced this pull request Nov 16, 2022
This allows removing the ignored typing error on the  import of `CachingProtocolMeta`.

Refs:
- beartype/numerary#17
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.

Feature proposal: Expose CachingProtocolMeta
2 participants