Skip to content

networkmanager/objects.py: Syncronice new helpers from async to block#35

Merged
igo95862 merged 3 commits intopython-sdbus:masterfrom
bernhardkaindl:sync-helpers-to-sdbus_block
Jun 29, 2022
Merged

networkmanager/objects.py: Syncronice new helpers from async to block#35
igo95862 merged 3 commits intopython-sdbus:masterfrom
bernhardkaindl:sync-helpers-to-sdbus_block

Conversation

@bernhardkaindl
Copy link

@bernhardkaindl bernhardkaindl commented Jun 29, 2022

@igo95862: Two simple commits to bring sdbus_block/networkmanager in sync with sdbus_async/networkmanager:

  • networkmanager/objects.py: Syncronice new helpers from async to block:

    Add missing helper methods from sdbus_async/networkmanager:

    • get_settings_by_uuid(): - Net a nested settings dict of a connection profile
    • delete_connection_by_uuid(): Delete a profile identified by the uuid
    • connection_profile(): Get a ConnectionProfile object containing all settings
  • examples: Show the use of NetworkConnectionSettings(path).connection_profile()

For examples/block/list-connections.py to show the SSIDs if WiFi connections, #34 should be merged as well.

Bernhard Kaindl added 3 commits June 29, 2022 16:17
Add missing helper methods from sdbus_async/networkmanager:
- get_settings_by_uuid(): - Net a nested settings dict of a connection profile
- delete_connection_by_uuid(): Delete a profile identified by the uuid
- connection_profile(): Get a ConnectionProfile object containing all settings
@igo95862 igo95862 merged commit 6e4dbae into python-sdbus:master Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants