Before this PR, xmd would default to None which made coding against it messy such as having to check the type before checking if a key is set. This now defaults to a dictionary so that you can simply do the following to check if xmd has a key set:
None
x = mmd.xmd.get('some_key')
:+1:
Pull-Request has been merged by ralph
Before this PR, xmd would default to
Nonewhich made coding against it messy such as having to check the type before checking if a key is set. This now defaults to a dictionary so that you can simply do the following to check if xmd has a key set: