Skip to content

Commit

Permalink
surround with quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
wochinge committed Dec 14, 2020
1 parent 619fcb0 commit 05ff15f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rasa/shared/core/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ def _add_categorical_slot_default_value(self) -> None:
def add_categorical_slot_default_value(self) -> None:
"""See `_add_categorical_slot_default_value` for docstring."""
rasa.shared.utils.io.raise_deprecation_warning(
f"{self.add_categorical_slot_default_value.__name__} is deprecated and "
f"'{self.add_categorical_slot_default_value.__name__}' is deprecated and "
f"will be removed in Rasa Open Source 3.0.0. This method is now "
f"automatically called when the Domain is created which makes a manual "
f"call superfluous."
Expand All @@ -731,7 +731,7 @@ def _add_requested_slot(self) -> None:
def add_requested_slot(self) -> None:
"""See `_add_categorical_slot_default_value` for docstring."""
rasa.shared.utils.io.raise_deprecation_warning(
f"{self.add_requested_slot.__name__} is deprecated and "
f"'{self.add_requested_slot.__name__}' is deprecated and "
f"will be removed in Rasa Open Source 3.0.0. This method is now "
f"automatically called when the Domain is created which makes a manual "
f"call superfluous."
Expand Down Expand Up @@ -769,7 +769,7 @@ def _add_knowledge_base_slots(self) -> None:
def add_knowledge_base_slots(self) -> None:
"""See `_add_categorical_slot_default_value` for docstring."""
rasa.shared.utils.io.raise_deprecation_warning(
f"{self.add_knowledge_base_slots.__name__} is deprecated and "
f"'{self.add_knowledge_base_slots.__name__}' is deprecated and "
f"will be removed in Rasa Open Source 3.0.0. This method is now "
f"automatically called when the Domain is created which makes a manual "
f"call superfluous."
Expand Down

0 comments on commit 05ff15f

Please sign in to comment.