From b2387389d0918ad509ed3896ffc0b4d11d20146b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 19 Sep 2018 05:44:02 +0200 Subject: [PATCH] Update documentation for device-attach event --- qubes/devices.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qubes/devices.py b/qubes/devices.py index bccd9e39..9f6ad12a 100644 --- a/qubes/devices.py +++ b/qubes/devices.py @@ -168,13 +168,14 @@ class DeviceCollection: This class emits following events on VM object: - .. event:: device-attach: (device) + .. event:: device-attach: (device, options) Fired when device is attached to a VM. Handler for this event can be asynchronous (a coroutine). :param device: :py:class:`DeviceInfo` object to be attached + :param options: :py:class:`dict` of attachment options .. event:: device-pre-attach: (device)