Skip to content

Commit

Permalink
Added explicit typing
Browse files Browse the repository at this point in the history
  • Loading branch information
twerkmeister committed Sep 25, 2023
1 parent 2cf529a commit 416be84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rasa/dialogue_understanding/processor/command_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def find_updated_flows(tracker: DialogueStateTracker, all_flows: FlowsList) -> S
Returns:
A set of flow ids of those flows that have changed
"""
stored_fingerprints = tracker.get_slot(FLOW_HASHES_SLOT)
stored_fingerprints: Dict[str, str] = tracker.get_slot(FLOW_HASHES_SLOT) or {}
dialogue_stack = DialogueStack.from_tracker(tracker)

changed_flows = set()
Expand Down

0 comments on commit 416be84

Please sign in to comment.