From b9009c23ebc166523925f411fd244e874b3712b1 Mon Sep 17 00:00:00 2001 From: hlad Date: Sun, 31 Jul 2022 09:10:38 +0200 Subject: [PATCH] remove of unused code --- pyrohlik/client.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyrohlik/client.py b/pyrohlik/client.py index ea7faac..4dfa27c 100644 --- a/pyrohlik/client.py +++ b/pyrohlik/client.py @@ -10,8 +10,6 @@ from .endpoints import Endpoints class Rohlik(APIClient): def __init__(self, api_key: str): super().__init__(response_handler=JsonResponseHandler, authentication_method=HeaderAuthentication(token=api_key,parameter="x-api-authorization",scheme="token")) -# self.response_handler=JsonResponseHandler -# self.authentication_method=HeaderAuthentication(token=api_key,parameter="x-api-authorization",scheme="token") @serialize() def get_product(self, product_id: int) -> Product: