

@staticmethod
def _get_pk_values(serial_str):
    ret_list = []
    dom = minidom.parseString(serial_str)
    fields = dom.getElementsByTagName('object')
    for field in fields:
        ret_list.append(ret_list.getAttribute('pk'))
    return ret_list

dataset/ETHPy150Open django/django/tests/serializers/test_xml.py XmlSerializerTestCase._get_pk_values/VarMisuse@47/67 `field`->`ret_list`