We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
retrieve_one
While I try to retrieve one result from one record, I got an error:
Input:
retrieve_one(record_identifier="id1", result_identifier=["description"])
Error:
TypeError: unhashable type: 'list'
We can clean this code by returning this value:
return_result = {key: value for key, value in result[0].items() if key in list(result_identifier)}
The text was updated successfully, but these errors were encountered:
It can't take a list with a single entity
Sorry, something went wrong.
retireve_one
This is now fixed and I added a test to catch any future regressions.
1fe44eb
No branches or pull requests
While I try to retrieve one result from one record, I got an error:
Input:
Error:
We can clean this code by returning this value:
The text was updated successfully, but these errors were encountered: