Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

fix(pymongo): handle response collection error #398

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

sagivr2020
Copy link
Member

No description provided.

@@ -125,7 +125,7 @@ def handle_filter_operations_response(self, response):

if self.resource['operation'] == 'find':
self.resource['metadata']['Results'] = \
list(response)
[response[i] for i in range(response.count())]
Copy link
Member

Choose a reason for hiding this comment

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

Not sure I understand the purpose of the change.
Can you attach an example of response object and type so I'll understand better what are you trying to achieve here? You can reach me on Slack if it would be easier.

@sagivr2020 sagivr2020 merged commit dffa938 into master Feb 14, 2022
@ranrib
Copy link
Member

ranrib commented Feb 14, 2022

🎉 This PR is included in version 1.77.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants