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
  a76ec42
  • Loading branch information
Kyle Wigley authored and iknox-fa committed Feb 8, 2022
1 parent 098d034 commit 58c1050
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/dbt/parser/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ def resource_type(self) -> NodeType:
def get_compiled_path(cls, block: FileBlock):
return block.path.relative_path

def render_update(
self, node: ParsedModelNode, config: ContextConfig
) -> None:
def render_update(self, node: ParsedModelNode, config: ContextConfig) -> None:
self.manifest._parsing_info.static_analysis_path_count += 1

if not flags.STATIC_PARSER:
Expand Down

0 comments on commit 58c1050

Please sign in to comment.