Skip to content

Commit

Permalink
[#3885] Partially parse when environment variables in schema files ch…
Browse files Browse the repository at this point in the history
…ange (#4162)

* [#3885] Partially parse when environment variables in schema files
change

* Add documentation for test kwargs

* Add test and fix for schema configs with env_var

automatic commit by git-black, original commits:
  bda70c9
  f344166
  • Loading branch information
gshank authored and iknox-fa committed Feb 8, 2022
1 parent 4c3b7ce commit 8072525
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/dbt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,7 @@ def deep_map_render(func: Callable[[Any, Tuple[Union[str, int], ...]], Any], val
return _deep_map_render(func, value, ())
except RuntimeError as exc:
if "maximum recursion depth exceeded" in str(exc):
raise dbt.exceptions.RecursionException(
'Cycle detected in deep_map_render'
)
raise dbt.exceptions.RecursionException("Cycle detected in deep_map_render")
raise


Expand Down

0 comments on commit 8072525

Please sign in to comment.