Skip to content

Commit

Permalink
include params in list()
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowbean committed Jul 22, 2023
1 parent 79bb04e commit 4cc8f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absbox/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def queryLibrary(self,ks,**q):

def listLibrary(self,**q):
deal_library_url = q['deal_library']+"/list"
result = self._send_req(json.dumps({}), deal_library_url)
result = self._send_req(json.dumps(q), deal_library_url)
console.print(f"✅[bold green]list success")
if ('read' in q) and (q['read'] == True):
return pd.DataFrame(result['data'],columns=result['header'])
Expand Down

0 comments on commit 4cc8f3f

Please sign in to comment.