Skip to content

Commit

Permalink
don't use CacheClient on request_raw
Browse files Browse the repository at this point in the history
  • Loading branch information
CM000n committed Dec 8, 2023
1 parent fd2d699 commit 267a0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mytoyota/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ async def request_raw( # noqa: PLR0913
if vin is not None:
headers.update({"vin": vin})

Check warning on line 211 in mytoyota/controller.py

View check run for this annotation

Codecov / codecov/patch

mytoyota/controller.py#L210-L211

Added lines #L210 - L211 were not covered by tests

async with hishel.AsyncCacheClient(timeout=self._timeout) as client:
async with httpx.AsyncClient(timeout=self._timeout) as client:

Check warning on line 213 in mytoyota/controller.py

View check run for this annotation

Codecov / codecov/patch

mytoyota/controller.py#L213

Added line #L213 was not covered by tests
response = await client.request(
method,
f"{self._api_base_url}{endpoint}",
Expand Down

0 comments on commit 267a0ed

Please sign in to comment.