1
0

Update documentation for device-attach event

Dieser Commit ist enthalten in:
Marek Marczykowski-Górecki 2018-09-19 05:44:02 +02:00
Ursprung eed2076722
Commit b2387389d0
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 063938BA42CFA724

Datei anzeigen

@ -168,13 +168,14 @@ class DeviceCollection:
This class emits following events on VM object:
.. event:: device-attach:<class> (device)
.. event:: device-attach:<class> (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:<class> (device)