-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for specifying context values when invoking a skill. (#54)
* Add support for specifying context values when invoking a skill. This adds optional flags for org/user/device ids to the `invoke` cli command. Previously we were passing in an empty context however it may be useful, or even necessary for testing a skill for those ids to be present. If not specified on the command line a random UUID will be generated. * Update pylint config to only complain at 10 arguments. Previous value of 6 is somewhat too low for CLI commands which may have a large number of options. While any value is going to be essentially arbitrary 10 seems as good a place to raise an eyebrow as any.
- Loading branch information
Showing
2 changed files
with
40 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters