try_update_model implicitly adds defaults if values is defaultdict

Create issue
Issue #1 resolved
Andriy Kornatskyy repo owner created an issue

When values passed to try_update_model is of type defaultdict try_update_model implicitly adds defaults to values by get item by name. Instead try check if key is in values first.

Comments (1)

  1. Log in to comment