-
Notifications
You must be signed in to change notification settings - Fork 10
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
✨[#414] add in operator to API #440
Conversation
data={"name": "demo3"}, object__object_type=self.object_type | ||
) | ||
|
||
response = self.client.get(self.url, {"data_attrs": "name__in__demo1|demo2"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't really like this format, but I cannot think of a better one. The comma is already used for multiple attributes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm yeah, not sure what alternatives there are
d526b8a
to
1522017
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall
data={"name": "demo3"}, object__object_type=self.object_type | ||
) | ||
|
||
response = self.client.get(self.url, {"data_attrs": "name__in__demo1|demo2"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm yeah, not sure what alternatives there are
Co-authored-by: Steven Bal <[email protected]>
f4fb6b8
to
4dc90a2
Compare
Fixes #414