We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e3667d commit dc05f3aCopy full SHA for dc05f3a
1 file changed
xbox/webapi/authentication/manager.py
@@ -33,6 +33,12 @@ def __init__(
33
redirect_uri: str,
34
scopes: Optional[List[str]] = None,
35
):
36
+ if not isinstance(client_session, (SignedSession, httpx.AsyncClient)):
37
+ raise DeprecationWarning(
38
+ """Xbox WebAPI changed to use SignedSession (wrapped httpx.AsyncClient).
39
+ Please check the documentation"""
40
+ )
41
+
42
self.session: SignedSession = client_session
43
self._client_id: str = client_id
44
self._client_secret: str = client_secret
0 commit comments