mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-22 01:00:02 +02:00
Using super() in proxy class constructor
This commit is contained in:
parent
7b06786307
commit
edfb7d0341
@ -31,8 +31,7 @@ class ProxyClass(ProxyClassMixin, pydase.components.DeviceConnection):
|
|||||||
def __init__(
|
def __init__(
|
||||||
self, sio_client: socketio.AsyncClient, loop: asyncio.AbstractEventLoop
|
self, sio_client: socketio.AsyncClient, loop: asyncio.AbstractEventLoop
|
||||||
) -> None:
|
) -> None:
|
||||||
ProxyClassMixin.__init__(self)
|
super().__init__()
|
||||||
pydase.components.DeviceConnection.__init__(self)
|
|
||||||
self._initialise(sio_client=sio_client, loop=loop)
|
self._initialise(sio_client=sio_client, loop=loop)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user