5 ms·
Thanks! Right now, explicitly specifying response_model is required, but only for documentation purposes. Python's type annotations alone aren't sufficient for
by mr_Fatalyst 2y ago
Thanks!
Right now, explicitly specifying response_model is required, but only for documentation purposes. Python's type annotations alone aren't sufficient for reliable inference at runtime. I'm considering adding automatic inference support not only for models but also for basic types (like built-in primitives).