PyCharm (and JetBrains IDEs) have this innovative idea called "endpoints" to speed up your DX for web API dev. I did a video on it, then today a blog post runthrough:
My colleague and buddy @npub1e75d...8zgm is smarter than me, more creative than me, and is right 99.9% of the time.
He's also funny af. Every time, he finds the one thing, and lands it.
Doing APIs in PyCharm can have a lot of moving parts. I did a video showing the @pycharm endpoints tool. It's something really innovative by the team. Eager to see how this grows over the years.
Hey Python typing folks. Let's say I have a dataclass with a field called target. The value is a typing.Protocol…not an object that matches the Protocol, but the protocol itself.
What's the type hint? (If you say typing._ProtocolMeta then you have some ‘splaining to do.)