Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Commit

Permalink
@tmbo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyFaulkner committed Jul 2, 2018
1 parent 7742b3e commit 66265cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -13,6 +13,8 @@ Added
-----
- options to prevent slack from making re-deliver message upon meeting failure condition.
the default is to ignore ``http_timeout``.
- added ability to create domain from yaml string and export a domain to a yaml string
- added server endpoint to fetch domain as json or yaml

Changed
-------
Expand Down
4 changes: 2 additions & 2 deletions rasa_core/domain.py
Expand Up @@ -420,7 +420,7 @@ def load_from_yaml(cls, yaml, action_factory=None):
)

@classmethod
def validate_domain_yaml(cls, input):
def validate_domain_yaml(cls, yaml):
"""Validate domain yaml."""
from pykwalify.core import Core

Expand All @@ -429,7 +429,7 @@ def validate_domain_yaml(cls, input):

schema_file = pkg_resources.resource_filename(__name__,
"schemas/domain.yml")
source_data = utils.read_yaml_string(input)
source_data = utils.read_yaml_string(yaml)
c = Core(source_data=source_data,
schema_files=[schema_file])
try:
Expand Down

0 comments on commit 66265cd

Please sign in to comment.