Skip to content

Commit

Permalink
improved another error message
Browse files Browse the repository at this point in the history
  • Loading branch information
DevonFulcher committed Sep 19, 2023
1 parent 5309a49 commit bcc6d8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def create_entity(entity_name: str, entity_path: Sequence[str] = ()) -> EntityCa
if len(group_by_item_name.entity_links) > 0 or group_by_item_name.time_granularity is not None:
ParameterSetFactory._exception_message_for_incorrect_format(
f"Name is in an incorrect format: {entity_name} "
f"When referencing entities, the name should not have any dunders."
f"When referencing entities, the name should not have any dunders (double underscores, or __)."
)

return EntityCallParameterSet(
Expand Down

0 comments on commit bcc6d8e

Please sign in to comment.