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
Feature proposal: Expose CachingProtocolMeta #15
Comments
Meaning so that you can do this … from numerary import CachingProtocolMeta … instead of this … from numerary.types import CachingProtocolMeta … ? |
@posita I actually meant so that I can do: from numerary.types import CachingProtocolMeta ... without a type error. Because that name isn't in The specific import path isn't important to me 🙂 |
Ah! Brilliant! My guess is that this stems from the fact that it's defined in from numerary.protocol import CachingProtocolMeta Yet another option is to move |
Cool, great knowing there's a way forward here. I'm on vacation now but might be able to find time addressing this later this summer. Thanks for the feedback! 🙏 |
* Migrates from [``setuptools_scm``](https://pypi.org/project/setuptools-scm/) to [``versioningit``](https://pypi.org/project/versioningit/) for more flexible version number formatting. * Adds work-around for ``numpy``’s typing updates ([#16](#16)). * Allows deployments to PyPI from CI based on tags. * Exposes ``CachingProtocolMeta`` ([#15](#15)).
Hi posita 👋
I'm about to start using
CachingProtocolMeta
in phantom-types, to define narrower parameter types for comparison et cetera. Would you be willing to consider a PR that exposes (with__all__
) and documents CachingProtocolMeta?The text was updated successfully, but these errors were encountered: