Skip to content

Commit

Permalink
drop unused auth_credentials parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ccwienk committed Dec 18, 2024
1 parent 0c2fa89 commit 86fff1d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions delivery/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ def __init__(
self,
routes: DeliveryServiceRoutes,
cfg_factory: model.ConfigFactory | None=None,
auth_credentials: dm.GitHubAuthCredentials=None,
):
'''
Initialises a client which can be used to interact with the delivery-service.
Expand All @@ -155,13 +154,10 @@ def __init__(
delivery-service as well as the available routes
:param ConfigFactory cfg_factory (optional + deprecated):
the config factory is used to retrieve available GitHub configurations
:param GitHubAuthCredentials auth_credentials (optional):
object which contains credentials required for authentication against the
delivery-service api
'''
self._routes = routes
self.cfg_factory = cfg_factory
self.auth_credentials = auth_credentials
self.auth_credentials: dm.GitHubAuthCredentials = None # filled lazily as needed

self._bearer_token = None
self._session = requests.sessions.Session()
Expand Down

0 comments on commit 86fff1d

Please sign in to comment.