Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add max_recursion_depth option #6

Merged
merged 2 commits into from
Jul 3, 2023
Merged

Add max_recursion_depth option #6

merged 2 commits into from
Jul 3, 2023

Conversation

RalfG
Copy link
Owner

@RalfG RalfG commented Jul 3, 2023

Added

  • Added max_recursion_depth argument to CascadeConfig to limit the depth of
    hierarchically updating nested dictionaries. When the maximum nesting depth is
    exceeded, the new dictionary will be used as-is, overwriting any previous
    values under that dictionary tree.

@RalfG RalfG added the enhancement New feature or request label Jul 3, 2023
@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Merging #6 (4b82c94) into main (7108e2a) will increase coverage by 0.33%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   89.83%   90.16%   +0.33%     
==========================================
  Files           1        1              
  Lines         118      122       +4     
==========================================
+ Hits          106      110       +4     
  Misses         12       12              
Impacted Files Coverage Δ
cascade_config.py 90.16% <87.50%> (+0.33%) ⬆️

@RalfG RalfG merged commit 0f2505b into main Jul 3, 2023
@RalfG RalfG deleted the max-recursion-depth branch July 3, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant