👩💻 Join our community of thousands of amazing developers!
This post describes an issue I’ve had with writing correct types when using PEP-696 defaults in typing.TypeVar . I posted the exploration in a companion repository on GitHub. The motivation behind this comes from my work in biomedical data integration and the semantic web. I wrot the curies Python package to provide a fully generic and reusable data model for representing pairs of prefixes and local unique identifiers via the curies.Reference class. I extended this class in the bioregistry in ...