-
Notifications
You must be signed in to change notification settings - Fork 19
INTPYTHON-483 Add EmbeddedModelArrayField #292
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
base: main
Are you sure you want to change the base?
Conversation
45308d2
to
1606bdb
Compare
for key in key_transforms: | ||
mql = {"$getField": {"input": mql, "field": key}} | ||
return mql |
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.
Is it intentional to modify the non-array embedded field?
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.
Yes, It was. EmbeddedModelArrayField has an embedded field and some operation could be adapted although I think this one will be reverted.
The first commit here is from #278. I didn't merge that in case of this work affects it.
TODO:
fixes #219