Skip to content

Instantly share code, notes, and snippets.

@dmsimard
Created August 16, 2017 21:17
Show Gist options
  • Save dmsimard/1807cfcc161b4d162ceb8ea0fda01c10 to your computer and use it in GitHub Desktop.
Save dmsimard/1807cfcc161b4d162ceb8ea0fda01c10 to your computer and use it in GitHub Desktop.
[...]
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