Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ottonemo committed Sep 26, 2023
1 parent 54de757 commit 3975fa7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rasa/core/training/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -1478,8 +1478,9 @@ async def record_messages(
domain_intents = domain.get("intents", []) if domain is not None else []

intents = [
next(iter(i)) if isinstance(i, dict) # intent property
else i # plain intent name
next(iter(i))
if isinstance(i, dict) # intent property
else i # plain intent name
for i in domain_intents
]

Expand Down

0 comments on commit 3975fa7

Please sign in to comment.