Part of !537. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/537
lgtm.com warns about this.
Add a python example using GObject introspection that shows how to scan for Wi-Fi P2P peers and connect to one of them.