Skip to content

Commit

Permalink
eclipse-cyclonedds#187 Corrected type hinting in DomainParticipant co…
Browse files Browse the repository at this point in the history
…nstructor.
  • Loading branch information
gmartin82 committed Mar 20, 2023
1 parent 9fa1938 commit ae54802
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cyclonedds/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ class DomainParticipant(Entity):
It serves as root entity for all other entities.
"""

def __init__(self, domain_id: Optional[int] = dds_domain_default,
qos: Optional[Qos] = None,
def __init__(self, domain_id: int = dds_domain_default, qos: Optional[Qos] = None,
listener: Optional[Listener] = None):
"""Initialize a DomainParticipant.
Expand Down

0 comments on commit ae54802

Please sign in to comment.