How to acknowledge delivery via Python API

Hi all,

I am finally taking the leap and investigating webhooks. The docs say the following:
"This ID can be used to update the delivery record to include an acknowledgement using the ShotGrid REST API.

This is pretty vague (at least for somebody like me), is there an example of this somewhere?
Once I have the webhook’s payload in Python I might do something time consuming, so I’d want to kick off a threaded worker process and acknowledge the webhook delivery immediately, so I don’t hold up the queue.
How woudl I do the latter?