Skip to content

Commit 7cbf0be

Browse files
committed
Bumped v0.20.0
Signed-off-by: Vishal Rana <[email protected]>
1 parent 0febdb5 commit 7cbf0be

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Create a file `app.py` with the following content:
1515
```python
1616
from labstack import Client, APIError
1717

18-
client = Client('<API_KEY>')
18+
client = Client('<ACCOUNT_ID>', '<API_KEY>')
1919

2020
try:
2121
response = client.barcode_generate(format='qr_code', content='https://labstack.com')

labstack/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ def __call__(self, r):
1111
return r
1212

1313
class Client():
14-
def __init__(self, api_key):
14+
def __init__(self, account_id, api_key):
1515
self.api_key = api_key
1616
self.interceptor = _Interceptor(api_key)
1717

18-
def _error(r):
18+
def _error(self, r):
1919
return not 200 <= r.status_code < 300
2020

2121
def download(self, id, path):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='labstack',
5-
version='0.19.0',
5+
version='0.20.0',
66
description='Official Python client library for the LabStack API',
77
long_description='`<https://github.com/labstack/labstack-python>`_',
88
keywords='image compress, image resize, text summary, barcode generate, barcode scan',

0 commit comments

Comments
 (0)