Skip to content

Commit b2ead3c

Browse files
author
Anders Hellerup Madsen
committed
document signature parameter to decorators
1 parent cecfe43 commit b2ead3c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dbus_next/service.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ def method(name: str = None, disabled: bool = False, in_signature: Optional[str]
7373
:type name: str
7474
:param disabled: If set to true, the method will not be visible to clients.
7575
:type disabled: bool
76+
:param in_signature: If set, this signature string will be used and no parsing of method paramter type annotations will be done.
77+
:type in_signature: str
78+
:param out_signature: If set, this signature string will be used and no parsing of the method return annotation will be done.
79+
:type out_signature: str
7680
7781
:example:
7882
@@ -148,6 +152,8 @@ def signal(name: str = None, disabled: bool = False, signature: Optional[str] =
148152
:type name: str
149153
:param disabled: If set to true, the signal will not be visible to clients.
150154
:type disabled: bool
155+
:param signature: If set, this signature string will be used and no parsing of method type annotations will be done.
156+
:type signature: str
151157
152158
:example:
153159
@@ -298,6 +304,8 @@ def dbus_property(access: PropertyAccess = PropertyAccess.READWRITE,
298304
:param disabled: If set to true, the property will not be visible to
299305
clients.
300306
:type disabled: bool
307+
:param signature: If set, this signature string will be used and no parsing of method type annotations will be done.
308+
:type signature: str
301309
302310
:example:
303311

0 commit comments

Comments
 (0)