Skip to content

Commit

Permalink
fix: fix keys() method
Browse files Browse the repository at this point in the history
  • Loading branch information
KenyonY committed Dec 9, 2023
1 parent 057ee4d commit eb2a08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flaxkv/serve/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __repr__(self):
def keys(self):
url = f"{self._url}/keys?db_name={self._db_name}"
response = self._client.get(url)
return decode_key(response.read())['data']
return list(decode_key(response.read())['data'])

def values(self):
url = f"{self._url}/values?db_name={self._db_name}"
Expand Down

0 comments on commit eb2a08a

Please sign in to comment.