We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce88bee commit c48bc0cCopy full SHA for c48bc0c
graphdatascience/call_parameters.py
@@ -30,8 +30,8 @@ def ensure_job_id_in_config(self) -> str:
30
This enables the client to check on the progress later on.
31
"""
32
config = self.get("config")
33
- if not config:
34
- raise ValueError("config is not set in the parameters")
+
+ assert config is not None, "config is not set in the parameters. This method should not be called."
35
36
job_id = self.get_job_id()
37
if job_id is None:
0 commit comments