Skip to content

Commit

Permalink
Split sdbus.dbus_proxy_sync in to multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
igo95862 committed Jun 11, 2022
1 parent 4ab2d55 commit 88f51fc
Show file tree
Hide file tree
Showing 8 changed files with 444 additions and 350 deletions.
8 changes: 5 additions & 3 deletions src/sdbus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@
dbus_property_async_override,
)
from .dbus_proxy_async_signal import dbus_signal_async
from .dbus_proxy_sync import (
from .dbus_proxy_sync_interfaces import (
DbusInterfaceCommon,
DbusObjectManagerInterface,
dbus_method,
dbus_property,
)
from .dbus_proxy_sync_method import dbus_method
from .dbus_proxy_sync_property import dbus_property
from .sd_bus_internals import (
DbusDeprecatedFlag,
DbusHiddenFlag,
Expand Down Expand Up @@ -138,7 +138,9 @@

'DbusInterfaceCommon',
'DbusObjectManagerInterface',

'dbus_method',

'dbus_property',

'DbusDeprecatedFlag',
Expand Down
2 changes: 1 addition & 1 deletion src/sdbus/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def run_gen_from_connection(namespace: Namespace) -> None:
connection_name = namespace.connection_name
object_paths = namespace.object_paths

from .dbus_proxy_sync import DbusInterfaceCommon
from .dbus_proxy_sync_interfaces import DbusInterfaceCommon

if namespace.system:
from .dbus_common_funcs import set_default_bus
Expand Down
4 changes: 4 additions & 0 deletions src/sdbus/dbus_common_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ class DbusBindedAsync:
...


class DbusBindedSync:
...


T = TypeVar('T')


Expand Down
346 changes: 0 additions & 346 deletions src/sdbus/dbus_proxy_sync.py

This file was deleted.

0 comments on commit 88f51fc

Please sign in to comment.