@@ -15,17 +15,20 @@ async def __aenter__(self):
1515 def __init__ (self , host , port , invite ):
1616 super ().__init__ (host , port )
1717 self .invite = invite
18- self .clients .v1 .api = self .default .clone (clients .AsyncAPI , EndpointBuilder .new (self .base , self .context , f'/portalInvitation/share/{ invite } ' ))
19- self .clients .io ._webdav = self .default .clone (clients .AsyncWebDAV , EndpointBuilder .new (self .base , self .context , f'/webdav/share/{ invite } ' ))
20- self .clients .io ._upload = self .default .clone (clients .AsyncUpload , EndpointBuilder .new (self .base , self .context , f'/upload/share/{ invite } ' ))
18+ self .clients .v1 .api = self .default .clone (clients .AsyncAPI , EndpointBuilder .new (self .base ,
19+ self .context , f'/portalInvitation/share/{ invite } ' ))
20+ self .clients .io ._webdav = self .default .clone (clients .AsyncWebDAV , EndpointBuilder .new (self .base ,
21+ self .context , f'/webdav/share/{ invite } ' ))
22+ self .clients .io ._upload = self .default .clone (clients .AsyncUpload , EndpointBuilder .new (self .base ,
23+ self .context , f'/upload/share/{ invite } ' ))
2124 self .files = files .InvitationBrowser (self )
2225 self .details = None
2326
2427 @property
2528 def context (self ):
2629 return 'invitations'
2730
28- def _authenticator (self , url ): #pylint: disable=unused-argument
31+ def _authenticator (self , url ): # pylint: disable=unused-argument
2932 return True
3033
3134 async def login (self ):
@@ -47,4 +50,4 @@ def from_uri(uri):
4750
4851 async def __aexit__ (self , exc_type , exc , tb ):
4952 await self .logout ()
50- return await super ().__aexit__ (exc_type , exc , tb )
53+ return await super ().__aexit__ (exc_type , exc , tb )
0 commit comments