Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tabergma committed Sep 19, 2019
1 parent dc6f3d1 commit 17bc1c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rasa/nlu/training_data/formats/markdown.py
@@ -1,7 +1,7 @@
import logging
import re
import typing
from typing import Any, Text, Optional, Tuple, List, Dict, Pattern
from typing import Any, Text, Optional, Tuple, List, Dict

from rasa.nlu.training_data.formats.readerwriter import (
TrainingDataReader,
Expand Down Expand Up @@ -169,7 +169,7 @@ def _add_synonyms(self, plain_text: Text, entities: List[Dict]) -> None:
if e_text != e["value"]:
self._add_synonym(e_text, e["value"])

def _parse_training_example(self, example: Text) -> Message:
def _parse_training_example(self, example: Text) -> "Message":
"""Extract entities and synonyms, and convert to plain text."""
from rasa.nlu.training_data import Message

Expand Down

0 comments on commit 17bc1c8

Please sign in to comment.