You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this is because _unique_extend doesn't properly exclude list items that are dicts when defaults have been added, since the items are no longer identical:
Console output
No response
How to reproduce
Evaluate the above snowflake.yml file in a debugger to see that the list is duplicated
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Lists in mixins get applied twice
SNOW-1705656: Lists in mixins get applied twice
Oct 1, 2024
SnowCLI version
main
Python version
Python 3.12.3
Platform
macOS-14.6.1-arm64-arm-64bit
What happened
Using mixins that contain lists of dicts, like
artifacts
, the list is applied twice. In this minimal exampleThe resultant project model is (irrelevant fields omitted)
I believe this is because
_unique_extend
doesn't properly exclude list items that are dicts when defaults have been added, since the items are no longer identical:Console output
No response
How to reproduce
Evaluate the above snowflake.yml file in a debugger to see that the list is duplicated
The text was updated successfully, but these errors were encountered: