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
Does this make sense? I need it for myself, but maybe it's not box' responsibility.
(venv) > ipython
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
In [1]: import box
In [2]: box.__version__
Out[2]: '7.0.1'
In [3]: d1 = {'app': {'S3': {'S3Service': [{'bucket': 'bucket001'}]}}}
In [4]: d2 = {'app': {'S3': {'S3Service': [{'expirationDate': '2099-10-25'}]}}}
In [5]: box1 = box.Box(d1)
In [6]: box1.merge_update(d2, box_merge_lists='extend')
In [7]: box1
Out[7]: Box({'app': {'S3': {'S3Service': [{'expirationDate': '2099-10-25'}]}}})
* Adding #255 defer ipython import for large import speed improvements (thanks to Eric Prestat)
* Adding testing for Python 3.12
* Fixing #253 merge_update box list merge types not populated to sub dictionaries (thanks to lei wang)
* Fixing #257 Two test failures due to arguments having incorrect types (thanks to Michał Górny)
* Fixing stub files to match latest code signatures
* Removing #251 support for circular references in lists (thanks to d00m514y3r)
---------
Co-authored-by: Eric Prestat <eric.prestat@gmail.com>
Does this make sense? I need it for myself, but maybe it's not box' responsibility.
I was expecting:
Can anyone help me?
The text was updated successfully, but these errors were encountered: