Use buffer protocol to retrieve result from python post_process (#605)

Saves an extra copy, gives post processing functions more flexibility
This commit is contained in:
Dustin Spicuzza
2020-11-18 14:29:17 -05:00
committed by GitHub
parent b260204b72
commit cd0a25be5e
3 changed files with 28 additions and 12 deletions

View File

@ -130,6 +130,9 @@ def introspection():
`post_process` function. This function is then transforming the data into the
format expected by the API before executing the target.
This can return any python object that implements the buffer protocol and
supports PyBUF_SIMPLE. These include bytes, bytearray, etc.
- `queue_new_entry` (optional):
This methods is called after adding a new test case to the queue.