Skip to content

Commit

Permalink
Have transport client init only use keyword args.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbartel committed Sep 8, 2023
1 parent 828a1ea commit 4dce763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lib/communication/dmod/communication/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ def get_endpoint_protocol_str(cls, use_secure_connection: bool = True) -> str:
"""
pass

def __init__(self, endpoint_host: str, endpoint_port: Union[int, str], endpoint_path: Optional[str] = None,
def __init__(self, *, endpoint_host: str, endpoint_port: Union[int, str], endpoint_path: Optional[str] = None,
cafile: Optional[Path] = None, capath: Optional[Path] = None, use_default_context: bool = False,
*args, **kwargs):
**kwargs):
"""
Initialize this instance.
Expand Down

0 comments on commit 4dce763

Please sign in to comment.