Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _convert_response_to_rule(response):
root = ETree.fromstring(response.body)
return _convert_etree_element_to_rule(root)
def _convert_response_to_subscription(response):
root = ETree.fromstring(response.body)
return _convert_etree_element_to_subscription(root)