Fixing flake8 error with token
This commit is contained in:
parent
f18e0b663d
commit
5e7eeb079d
|
@ -77,7 +77,8 @@ class Request(dict):
|
||||||
|
|
||||||
:return: token related to request
|
:return: token related to request
|
||||||
"""
|
"""
|
||||||
self._token = getattr(self, '_token', self.headers.get('Authorization'))
|
self._token = getattr(self, '_token',
|
||||||
|
self.headers.get('Authorization'))
|
||||||
return self._token
|
return self._token
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue
Block a user