Skip to content

Commit

Permalink
removed unnecessary comments
Browse files Browse the repository at this point in the history
Signed-off-by: Niels Drost <codingdutchman@gmail.com>
  • Loading branch information
daBlesr committed Jun 19, 2022
1 parent 362b38d commit 82584e6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/extras/datasets/api/test_api_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ class AccessTokenAuth(AuthBase):
"""Attaches Access Token Authentication to the given Request object."""

def __init__(self, token):
# setup any auth-related data here
self.token = token

def __call__(self, r):
# modify and return the request
r.headers["Authorization"] = f"access_token {self.token}"
return r

Expand Down

0 comments on commit 82584e6

Please sign in to comment.