Skip to content

Commit

Permalink
feat: Rewords list-like alias requirement exception
Browse files Browse the repository at this point in the history
  • Loading branch information
hlecco committed Apr 14, 2022
1 parent 967e13e commit e526258
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deirokay/history_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ def __init__(self, docs: List[dict]):
attributes = set(DocumentNode.attribute_keys.input(docs).all())
except TypeError:
raise TypeError(
'List-like scopes must be aliased when using `series`'
' templates. Make sure your last Deirokay logs obey this rule.'
'Every list-like scope must be aliased'
' when some scope uses `series` templates.'
' Make sure your last Deirokay logs obey this rule.'
)

for att in attributes:
Expand Down

0 comments on commit e526258

Please sign in to comment.