Skip to content

Commit

Permalink
Picky formatting of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Jan 24, 2020
1 parent b9c1233 commit 1f7484e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimade/models/optimade_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def either_data_meta_or_errors_must_be_set(cls, values):
required_fields = ("data", "meta")
if not any(values.get(field) for field in required_fields):
raise ValueError(
f"Minimum one of {required_fields} MUST be specified in the top-level response"
f"At least one of {required_fields} MUST be specified in the top-level response"
)

# errors MUST be skipped
Expand Down

0 comments on commit 1f7484e

Please sign in to comment.