Skip to content

Commit

Permalink
fixup! Make ecoinvent SSO client id configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvgoncalves committed Oct 28, 2024
1 parent 6e285ef commit 6ce7e6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ecoinvent_interface/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def __init__(
self.password = settings.password
if not self.password:
raise ValueError("Missing password; see configurations docs")
self.client_id = settings.client_id
if not self.client_id:
raise ValueError("Missing client_id; see configurations docs")

self.urls = URLS if urls is None else urls
self.custom_headers = custom_headers or {}
Expand Down

0 comments on commit 6ce7e6d

Please sign in to comment.