(self, r)
return r
Called when forming a request - generates access token header.
Called when forming a request - generates access token header.
Called when forming a request - generates access token header .
def __call__(self, r):
        """Called when forming a request - generates access token header."""
        if (self.token):
            r.headers['access-token'] = self.token
        return r
def __call__ ( self , r ) : if ( self . token ) : r . headers [ 'access-token' ] = self . token return r