I ran into a KeyError at dynatrace/dynatrace_object.py:32 calling something like Dynatrace.entities.get("HOST-82F576674F19AC16",...) when that entity has management zone data. Specifying the parameter raw_element=m at dynatrace/environment_v2/monitored_entities.py fixes this. Updated a test and mock data to demonstrate the bug and the fix.
I ran into a KeyError at dynatrace/dynatrace_object.py:32 calling something like
Dynatrace.entities.get("HOST-82F576674F19AC16",...)
when that entity has management zone data. Specifying the parameterraw_element=m
at dynatrace/environment_v2/monitored_entities.py fixes this. Updated a test and mock data to demonstrate the bug and the fix.