From dca7ca35d11f96282269969376077f60c2eba568 Mon Sep 17 00:00:00 2001 From: Justin Abrokwah <justin.abrokwah@okta.com> Date: Thu, 2 Mar 2023 11:18:30 -0500 Subject: [PATCH] Keep xml attributes in response --- okta/api_response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/okta/api_response.py b/okta/api_response.py index c2be20fa..45a36804 100644 --- a/okta/api_response.py +++ b/okta/api_response.py @@ -95,7 +95,7 @@ def build_xml_response(self, response_body): Args: response_body ([type]): [description] """ - self._body = xmltodict.parse(response_body, xml_attribs=False) + self._body = xmltodict.parse(response_body, xml_attribs=True) def extract_pagination(self, links): """