Created
August 16, 2017 21:17
-
-
Save dmsimard/1807cfcc161b4d162ceb8ea0fda01c10 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[...] | |
from ara.api.records import RecordApi | |
[...] | |
def v2_runner_on_failed(self, result, **kwargs): | |
data = { | |
"playbook_id": 1, | |
"key": "failure", | |
"value": "something" | |
} | |
record = RecordApi().post(data) | |
[...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment