Skip to content

Commit

Permalink
Fix linting (missing context key for tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
tetele committed Aug 1, 2024
1 parent 968cc98 commit 58e9114
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/intentfest/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ def validate(value) -> vol.Schema:
vol.Required("tests"): [
{
vol.Required("sentences"): [str],
vol.Optional("context"): {
str: match_anything_but_dict,
},
vol.Required("intent"): {
vol.Required("name"): str,
vol.Optional("slots"): {
Expand Down

0 comments on commit 58e9114

Please sign in to comment.