From 5d1f6477467d36c625af25315edbb50c97beab67 Mon Sep 17 00:00:00 2001 From: Martin Lykke Date: Mon, 14 Aug 2023 09:54:40 +0200 Subject: [PATCH] release --- src/NativeAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NativeAPI.py b/src/NativeAPI.py index b95bb3d..df8fca1 100644 --- a/src/NativeAPI.py +++ b/src/NativeAPI.py @@ -195,7 +195,7 @@ def __command(self, command, post=None, data=None, dashboard=None, accept='appli return jr return r - def __init__(self): + def __init__(self, credentials: Credentials): self.__session = requests.Session() self.__credentials['user'] = credentials.username self.__credentials['password'] = credentials.password