Hacker News new | ask | show | jobs
by fleetfox 1890 days ago
Decorators and type hints are not the same thing.
1 comments

Ok so then I’m really confused. I thought it said annotations were having to be strings versus objects. If this isn’t the what’s called annotations in other languages, then what is the actual issue that pydantic has? The python type hints are I guess objects, but they’re standalone non-instantiated.. unless pydantic does some crazy stuff. Their main home page doesn’t show anything out of the ordinary here? What’s the actual issue?