Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _set_last_request(self, url, headers, body):
"""Set last request on body to keep track of changes"""
request = PlaceboRequest(url, headers, body)
self._set_last_request_on_class(request)
self.last_request = request