mirror of
https://github.com/apache/superset.git
synced 2026-09-04 22:41:36 +00:00
check_dependencies has zero callers today, so this has never been
exercised: it read an x-dependsOn entry (e.g. "dataBinding", the
schema-facing alias) directly as a getattr name against the parsed model,
but Pydantic attribute access always uses the Python field name
("data_binding"), never the alias, even under populate_by_name=True --
confirmed directly against a real parsed model. Resolves alias -> field
name via model_fields before getattr, falling back to the raw name for
anything that isn't aliased.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>