mirror of
https://github.com/langgenius/dify.git
synced 2026-05-26 03:47:42 +08:00
The previous test asserted only that model_fields exposed the expected names — the legacy Generic[T] form would have passed identically. Switch to __type_params__, which is non-empty only under PEP 695 native syntax.