Skip to content

Commit 919a033

Browse files
author
Johannes Hötter
authored
Merge pull request #8 from code-kern-ai/dev
bugfix read json
2 parents ecdc6ec + c587b02 commit 919a033

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![kern-python](https://uploads-ssl.webflow.com/61e47fafb12bd56b40022a49/62766400bd3c57b579d289bf_kern-python%20Banner.png)
22
[![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/)
3-
[![pypi 0.0.3](https://img.shields.io/badge/pypi-0.0.3-yellow.svg)](https://pypi.org/project/kern-sdk/0.0.3/)
3+
[![pypi 0.0.4](https://img.shields.io/badge/pypi-0.0.4-yellow.svg)](https://pypi.org/project/kern-sdk/0.0.4/)
44

55
# Kern AI API for Python
66

kern/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def get_record_export(
7373
api_response = api_calls.get_request(
7474
url, self.session_token, **{"num_samples": num_samples}
7575
)
76-
df = pd.read_json(api_response)
76+
df = pd.DataFrame(api_response)
7777
if download_to is not None:
7878
df.to_json(download_to, orient="records")
7979
msg.good(f"Downloaded export to {download_to}")

setup.py

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

1111
setup(
1212
name="kern-sdk",
13-
version="0.0.3",
13+
version="0.0.4",
1414
author="jhoetter",
1515
author_email="johannes.hoetter@kern.ai",
1616
description="Official SDK for the Kern AI API",

0 commit comments

Comments
 (0)