Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ pysenz uses the `restapi`, `openid`, and `offline_access` scope, this is set as
```python
from asyncio import run
from pysenz import SENZAuth, SENZAPI
import httpx
import httpx2

async def main():
async with httpx.AsyncClient() as httpx_client:
async with httpx2.AsyncClient() as httpx_client:
senz_auth = SENZAuth(
httpx_client,
"YOUR_CLIENT_ID",
Expand Down
2 changes: 1 addition & 1 deletion pysenz/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

from authlib.integrations.httpx_client import AsyncOAuth2Client
from authlib.oauth2.rfc6749 import OAuth2Token
from httpx import AsyncClient, Response
from httpx2 import AsyncClient, Response

AUTHORIZATION_ENDPOINT = "https://id.senzthermostat.chemelex.com/connect/authorize"
TOKEN_ENDPOINT = "https://id.senzthermostat.chemelex.com/connect/token"
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
httpx
httpx2

build
bump2version==1.0.1
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pysenz
version = 1.1.2
version = 1.2.0
url = https://github.com/nordicopen/pysenz
author = Åke Strandberg
author_email = ake@strandberg.eu
Expand All @@ -25,8 +25,8 @@ project_urls =
[options]
packages = find:
install_requires =
httpx
authlib<1.8.0
httpx2
authlib
python_requires = >=3.10
include_package_data = True

Expand Down
Loading