Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2021-12-15 01:51:26 -08:00
parent 800ce9ccdf
commit ce8338cc3e
2 changed files with 26 additions and 2 deletions

View File

@ -41,7 +41,7 @@ class Client:
class AuthenticatedClient(Client):
"""A Client which has been authenticated for use on secured endpoints"""
token: str
token: str = attr.ib(kw_only=True)
def get_headers(self) -> Dict[str, str]:
"""Get headers to be used in authenticated endpoints"""