File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
src/pythonxbox/authentication Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 2525class AuthenticationManager :
2626 def __init__ (
2727 self ,
28- client_session : SignedSession ,
28+ client_session : SignedSession | httpx . AsyncClient ,
2929 client_id : str ,
3030 client_secret : str ,
3131 redirect_uri : str ,
3232 scopes : list [str ] | None = None ,
3333 ) -> None :
34- if not isinstance (client_session , (SignedSession , httpx .AsyncClient )):
35- raise DeprecationWarning (
36- """Xbox WebAPI changed to use SignedSession (wrapped httpx.AsyncClient).
37- Please check the documentation"""
38- )
39-
40- self .session : SignedSession = client_session
34+ self .session = client_session
4135 self ._client_id : str = client_id
4236 self ._client_secret : str = client_secret
4337 self ._redirect_uri : str = redirect_uri
You can’t perform that action at this time.
0 commit comments