-
Notifications
You must be signed in to change notification settings - Fork 2
upgrade pymongo to version 4.11.0 #94
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
Conversation
Walkthrough
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (5)
🧰 Additional context used📓 Path-based instructions (1)**/*.py⚙️ CodeRabbit configuration file
Files:
🔇 Additional comments (11)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
| # Buscamos el data key | ||
| data_key = get_data_key(key_namespace, key_name) | ||
| uuid_data_key = data_key['_id'] | ||
| return Binary(uuid_data_key.bytes, UUID_SUBTYPE) |
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.
@alexviquez el Lint me marcaba que uuid_data_key no tiene el parametro bytes, y por lo que me meti aver efectivamente no lo tiene.
Quite el key y los test pasaron. Aun asi no estoy seguro que sea eso y como se use.
Dejo este comentario porque no se si eso realmente esta funcionando, pero tampoco se como probarlo.
felipao-mx
left a comment
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.
este cambio es crítico porque toca un campo cifrado que usamos en otros proyectos. Para asegurar retrocompatiblidad favor de realizar la siguiente prueba
- crear un
Documentque contengaEncryptedStringFieldcon la versión 1.2.1 de este paquete. Pueden guiarse del README.md. - Guardar algún dato de prueba en este campo cifrado. Debe ser posible guardar y leer el dato.
- Deben crear un paquete pre-release de esta rama.
- Actualizar este paquete a la versión pre-release en el script de pruebas con el modelo que definieron en el paso 1.
- Con la versión pre-release deben intentar leer el campo encriptado y comparar que sea exactamente igual a lo que se guardó en el paso 2.
Como plan de rollback se debe asegurar que guardando algún dato con la versión pre-release también pueda leerse con la versión 1.2.1. Entonces deben hacer una prueba inversa a los pasos anteriores.
Summary by CodeRabbit