-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shell commands and function callbacks (#1193)
* WIP: Shell commands and function callbacks (#1175) Work from @siramok. * Initial callback and shell command implementations * Initial work to combine commands and callbacks * Move callback registration and execution into Command * Catch the case where neither action is defined * Allow defining multiline shell commands and callbacks * Minor formatting tweaks * Initial implementation of triggers with callbacks * Improved organization, more error catching * Make sure that triggers either have a condition or callback * Make void callbacks take conduit node parameters * Initial attempt at exposing callbacks through ascent-jupyter-bridge * Let void callbacks return arbitrary data via conduit nodes * Disallow anonymous callbacks, add some tests * Add tests for shell commands and callbacks * Refactor callback API into the main API, adjusts tests to reflect the change * Minor cleanups that I missed * Fix minor bug with the trigger + callback test * alt download link for zlib * typo * Fix several bugs in the tests * Implement all suggestions --------- Co-authored-by: Andres Sewell <[email protected]> Co-authored-by: Andres Sewell <[email protected]>
- Loading branch information
1 parent
fc70967
commit bb7733b
Showing
17 changed files
with
1,055 additions
and
14 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
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
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
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
Oops, something went wrong.