File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 } " )
Original file line number Diff line number Diff line change 1010
1111setup (
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" ,
You can’t perform that action at this time.
0 commit comments