feat: add cython typing for ServiceInterface.name (#248)
This commit is contained in:
parent
16b31f91e5
commit
98c7e75375
@ -18,7 +18,7 @@ cdef class _Method:
|
||||
|
||||
cdef class ServiceInterface:
|
||||
|
||||
cdef public object name
|
||||
cdef public str name
|
||||
cdef list __methods
|
||||
cdef list __properties
|
||||
cdef list __signals
|
||||
|
||||
@ -343,7 +343,7 @@ class ServiceInterface:
|
||||
:vartype name: str
|
||||
"""
|
||||
|
||||
def __init__(self, name: str):
|
||||
def __init__(self, name: str) -> None:
|
||||
# TODO cannot be overridden by a dbus member
|
||||
self.name = name
|
||||
self.__methods: List[_Method] = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user