django-nh3
django-nh3 copied to clipboard
Fix mutable default argument values
Hey there, I noticed some function arguments using mutable types (sets, dicts) as default values.
While this doesn't appear to cause issues right now, it could lead to unexpected behavior if any future code modifies these default objects.
I thought to change the defaults to None and initialize them in the __init__s if needed. What do you think?