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

with_ method should be able to use a lambda #756

Closed
josephmancuso opened this issue Jul 11, 2022 · 0 comments · Fixed by #757
Closed

with_ method should be able to use a lambda #756

josephmancuso opened this issue Jul 11, 2022 · 0 comments · Fixed by #757
Labels
enhancement A feature that exists, works as intended but needs to be improved feature request A feature that does not yet exist but will be a good addition to the library

Comments

@josephmancuso
Copy link
Member

Should be able to do syntax like this:

User.with_({"phone": lambda q: q.limit(10)}).get()
@josephmancuso josephmancuso added enhancement A feature that exists, works as intended but needs to be improved feature request A feature that does not yet exist but will be a good addition to the library labels Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature that exists, works as intended but needs to be improved feature request A feature that does not yet exist but will be a good addition to the library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant