From 0ab991910af8383df309687edfa77b64908bb407 Mon Sep 17 00:00:00 2001 From: Quentin Defenouillere Date: Mon, 15 Jun 2020 11:30:19 +0200 Subject: [PATCH] [apivie] raise NotImplementedError() for Bill methods The Linxea module calls the Apicil browser that inherits from the Apivie browser. When users as a Linxea connection with the Apicil website and try to fetch their documents, it raises an error: "AttributeError: 'ApicilBrowser' object has no attribute 'get_subscription_list'" --- modules/apivie/browser.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/apivie/browser.py b/modules/apivie/browser.py index e42bd8cfeb..16eab204af 100644 --- a/modules/apivie/browser.py +++ b/modules/apivie/browser.py @@ -95,3 +95,12 @@ def iter_history(self, account): raise BrowserUnavailable() return self.page.iter_history() + + def get_subscription_list(self): + raise NotImplementedError() + + def iter_documents(self, subscription): + raise NotImplementedError() + + def download_document(self, document): + raise NotImplementedError() -- GitLab