[CT-1501] Clarify Error Message for how many models are allowed in a Python file #6245
Labels
enhancement
New feature or request
good_first_issue
Straightforward + self-contained changes, good for new contributors!
python_models
Currrently, if you have less than or more than one python model in a file, a parsing error reads:
but that's not clearly capturing the case where you have less than one model per python file.
dbt-core/core/dbt/parser/models.py
Lines 63 to 64 in dcd6ef7
Suggest setting the error to:
The text was updated successfully, but these errors were encountered: