Adventures in Python typing: deprecated is a decorator, and it's not obvious how to mark a module-level constant as deprecated.
(Obvious answer: don't expose module-level constants, that's an antipattern. Which, agreed. It's why I'm deprecating it.)
Adventures in Python typing: deprecated is a decorator, and it's not obvious how to mark a module-level constant as deprecated.
(Obvious answer: don't expose module-level constants, that's an antipattern. Which, agreed. It's why I'm deprecating it.)
If you have a fediverse account, you can quote this note from your own instance. Search https://wandering.shop/users/xgranade/statuses/116003794347828496 on your instance and quote it. (Note that quoting is not supported in Mastodon.)