Skip to content
New issue

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

fixed "get_first_list_item" weren't available and not even fully impl… #44

Merged
merged 2 commits into from
Jun 6, 2023

Conversation

Mahfoudh94
Copy link
Contributor

This a quick fix which resolves #41.
the problem was that the function name was wrong and the implementation isn't complete with some non-consistency in the original implementation (it wasn't the same way you call get_list(), neither the way it is used in JavaScript SDK)

Copy link
Collaborator

@m29h m29h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add empty default value for query_params argument so that the useage is consistent with the JS client.
otherwise looks good to me!

pocketbase/services/utils/crud_service.py Outdated Show resolved Hide resolved
made the implementation consistent with the JS implementation (thanks, @m29h)

Co-authored-by: Martin <mahe@quantentunnel.de>
Copy link
Collaborator

@m29h m29h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍LGTM

@m29h m29h merged commit 0589d99 into vaphes:master Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

get_first_list_item Not Work
2 participants