Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _query(
self,
path,
method="GET",
*,
params=None,
data=None,
headers=None,
timeout=None,
chunked=None,
):
"""
Get the response object by performing the HTTP request.
The caller is responsible to finalize the response object.
"""
return _AsyncCM(
self._do_query(
path=path,
method=method,
params=params,
data=data,
headers=headers,
timeout=timeout,
chunked=chunked,
)