Open
Description
It seems that the following code:
response: httpx.Response = await self.http_client.call(
url=self._url(f'records/{key}'),
method='GET',
params=self._params(),
)
returns a response of type httpx.Response
. Later the field _maybe_parsed_body
is accessed:
return {
'value': response._maybe_parsed_body,
'...': '...',
}
There are 2 occurrences of this:
- https://github.com/apify/apify-client-python/blob/v1.6.0/src/apify_client/clients/resource_clients/key_value_store.py#L120
- https://github.com/apify/apify-client-python/blob/v1.6.0/src/apify_client/clients/resource_clients/key_value_store.py#L323
Check if http_client.call
really returns a httpx.Response object and in such case fix the accessing of non-existing field _maybe_parsed_body
.
Metadata
Metadata
Assignees
Labels
Something isn't working.Something isn't working.Issues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.