Skip to content

Commit 6e702b3

Browse files
committed
No default method required
1 parent 59c12c6 commit 6e702b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sagemcom_api/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(
5353
host: str,
5454
username: str,
5555
password: str,
56-
authentication_method: EncryptionMethod,
56+
authentication_method: EncryptionMethod | None = None,
5757
session: ClientSession | None = None,
5858
ssl: bool | None = False,
5959
verify_ssl: bool | None = True,
@@ -307,7 +307,7 @@ async def get_encryption_method(self):
307307
pass
308308

309309
raise LoginTimeoutException
310-
310+
311311
async def get_value_by_xpath(self, xpath: str, options: dict | None = None) -> dict:
312312
"""
313313
Retrieve raw value from router using XPath.

0 commit comments

Comments
 (0)