File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,18 @@ class Client:
1111 items : Items
1212
1313 @classmethod
14- async def authenticate (self , auth , integration_name , integration_version ):
14+ async def authenticate (cls , auth , integration_name , integration_version ):
1515 config = new_default_config (
1616 auth = auth ,
1717 integration_name = integration_name ,
1818 integration_version = integration_version ,
1919 )
2020 client_id = int (await _init_client (config ))
2121
22- authenticated_client = self ()
22+ authenticated_client = cls ()
2323
2424 authenticated_client .secrets = Secrets (client_id )
2525 authenticated_client .items = Items (client_id )
26- authenticated_client ._finalizer = weakref .finalize (self , _release_client , client_id )
26+ authenticated_client ._finalizer = weakref .finalize (cls , _release_client , client_id )
2727
2828 return authenticated_client
You can’t perform that action at this time.
0 commit comments