3 ms·
Flask does the same thing as FastAPI with @app… what will it do? Or am I not understanding correctly?
by azinman2 6y ago
Flask does the same thing as FastAPI with @app… what will it do? Or am I not understanding correctly?
- fleetfox 6y agoDecorators and type hints are not the same thing.
- azinman2 6y agoOk 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?