I like python but I would never choose it for anything more than trivial on the backend. I want to know what types are being passed around from one middleware function to the next. Yes python has annotations but that’s not enough.
https://mypy.readthedocs.io/en/stable/command_line.html#cmdo...
They're trying to pass data between layers of middleware, but Java has very strict typing, and the middleware doesn't know what kind of object it will get, so it has to do tons of type introspection and reflection to do anything with the data?
There's https://pypi.org/project/jsonschema-typed-v2/ but it hasn't been updated in a few years.