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
end up changing the value of d to {'resourceType': 'Patient', 'contained': [{}]}
I would expect it to not change the given object. Moreover, because it doesn't delete resourceType from the outter dictionary, I assume this behavior is not expected.
Is it on purpose?
Thanks,
Itay
The text was updated successfully, but these errors were encountered:
ItayGoren
changed the title
FhirAbstractModel pops resource_type from the dictconstruct_fhir_element change the given dict
Oct 1, 2020
Description
Running the following code:
end up changing the value of
d
to{'resourceType': 'Patient', 'contained': [{}]}
I would expect it to not change the given object. Moreover, because it doesn't delete
resourceType
from the outter dictionary, I assume this behavior is not expected.Is it on purpose?
Thanks,
Itay
The text was updated successfully, but these errors were encountered: