fix: get_keys_response is a list not a dict (#1412)

This commit is contained in:
David
2024-05-26 00:19:30 +02:00
committed by GitHub
parent 6450b91f17
commit a2647b4252

View File

@@ -25,7 +25,7 @@ def main():
# List available keys
get_keys_response = admin.get_keys(user_id=user_id)
print(f"User {user_id} has keys: {get_keys_response.api_key_list}")
print(f"User {user_id} has keys: {get_keys_response}")
# Connect to the server as a user
client = create_client(base_url="http://localhost:8283", token=token)