Skip to content

Commit 1c719cf

Browse files
committed
bump version
1 parent fbfba73 commit 1c719cf

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.4.4
2+
### Changed
3+
- Make sure the provided API key is correct.
4+
15
## 3.4.3
26
### Changed
37
- PR [#56](https://github.com/vvaezian/metabase_api_python/pull/56)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT Licence (MIT)
22

3-
Copyright (c) 2022 Vahid Vaezian
3+
Copyright (c) 2024 Vahid Vaezian
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

metabase_api/metabase_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __init__(self, domain, email=None, password=None, api_key=None, basic_auth=F
1919
self.header = {"X-API-KEY": api_key}
2020
# make sure the provided api key is correct
2121
res = requests.get(self.domain + '/api/database/1', headers=self.header)
22-
if res.status_code == 401:
22+
if res.status_code == 401: # unauthenticated
2323
raise ValueError('The provided API key is not correct.')
2424

2525
self.is_admin = is_admin

setup.py

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

66
setuptools.setup(
77
name="metabase-api",
8-
version="3.4.3",
8+
version="3.4.4",
99
author="Vahid Vaezian",
1010
author_email="vahid.vaezian@gmail.com",
1111
description="A Python Wrapper for Metabase API",

0 commit comments

Comments
 (0)