Skip to content

Commit

Permalink
Update project load tracking to include experimental parser info (#3495)
Browse files Browse the repository at this point in the history
* Fix docs generation for cross-db sources in REDSHIFT RA3 node (#3408)

* Fix docs generating for cross-db sources

* Code reorganization

* Code adjustments according to flake8

* Error message adjusted to be more precise

* CHANGELOG update

* add static analysis info to parsing data

* update changelog

* don't use `meta`! need better separation between dbt internal objects and external facing data. hacked an internal field on the manifest to save off this parsing info for the time being

* fix partial parsing case

Co-authored-by: kostek-pl <[email protected]>

automatic commit by git-black, original commits:
  4d24656
  7563b99
  aadf3c7
  • Loading branch information
Kyle Wigley authored and iknox-fa committed Feb 8, 2022
1 parent 4b91cdd commit 1545d67
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/dbt/parser/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@ def error_context(


def yaml_from_file(source_file: SchemaSourceFile) -> Dict[str, Any]:
source_file: SchemaSourceFile
) -> Dict[str, Any]:
"""If loading the yaml fails, raise an exception.
"""
"""If loading the yaml fails, raise an exception."""
path = source_file.path.relative_path
try:
return load_yaml_text(source_file.contents)
Expand Down

0 comments on commit 1545d67

Please sign in to comment.