kedro-org / kedro

Kedro is a toolbox for production-ready data science. It uses software engineering best practices to help you create data engineering and data science pipelines that are reproducible, maintainable, and modular.
https://kedro.org
Apache License 2.0
9.47k stars 875 forks source link

[DataCatalog]: Error message is confusing if the `catalog.yaml` is invalid #3910

Closed ElenaKhaustova closed 2 weeks ago

ElenaKhaustova commented 1 month ago

Description

If one has an invalid entry in the catalog.yml, they get a confusing error message like AttributeError: 'str' object has no attribute 'items'

image (13)

Relates to https://github.com/kedro-org/kedro/issues/2401

Context

Possible Implementation

Possible Alternatives

astrojuanlu commented 3 weeks ago

Some extra context in #3555