diff --git a/ecoinvent_interface/core.py b/ecoinvent_interface/core.py index 3e31e9e..3b480d5 100644 --- a/ecoinvent_interface/core.py +++ b/ecoinvent_interface/core.py @@ -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 {}