Skip to content

Commit

Permalink
document signature parameter to decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Hellerup Madsen committed Jan 7, 2022
1 parent dd66119 commit c4fb5c7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dbus_next/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ def method(name: str = None,
:type name: str
:param disabled: If set to true, the method will not be visible to clients.
:type disabled: bool
:param in_signature: If set, this signature string will be used and no parsing of method paramter type annotations will be done.
:type in_signature: str
:param out_signature: If set, this signature string will be used and no parsing of the method return annotation will be done.
:type out_signature: str
:example:
Expand Down Expand Up @@ -163,6 +167,8 @@ def signal(name: str = None, disabled: bool = False, signature: Optional[str] =
:type name: str
:param disabled: If set to true, the signal will not be visible to clients.
:type disabled: bool
:param signature: If set, this signature string will be used and no parsing of method type annotations will be done.
:type signature: str
:example:
Expand Down Expand Up @@ -314,6 +320,8 @@ def dbus_property(access: PropertyAccess = PropertyAccess.READWRITE,
:param disabled: If set to true, the property will not be visible to
clients.
:type disabled: bool
:param signature: If set, this signature string will be used and no parsing of method type annotations will be done.
:type signature: str
:example:
Expand Down

0 comments on commit c4fb5c7

Please sign in to comment.