Skip to content

Commit

Permalink
Added exception to fail fast
Browse files Browse the repository at this point in the history
  • Loading branch information
anawas committed Nov 8, 2024
1 parent da57a61 commit 04cf328
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cdci_data_analysis/analysis/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ def from_owl_uri(cls,
"but %s doesn't have such keyword, "
"so it will be discarded for the instantiation"),
owl_uri, par_kw, restr, python_subclass)
raise ValueError()

for par_name, par_value in kwargs.items():
if var_kw_signature or par_name in call_signature.parameters:
Expand Down

0 comments on commit 04cf328

Please sign in to comment.