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

Add comprehensive docstrings to MongoDB and Redis modules #18

Merged
merged 3 commits into from
Jan 26, 2025

Conversation

Sophie-Ag00001
Copy link
Collaborator

Add Comprehensive Docstrings to MongoDB and Redis Modules

Summary

This PR adds comprehensive docstrings to all functions, traits, and structs in the src/db/mongo_db.rs and src/db/redis_cache.rs files. The docstrings include descriptions of the purpose of each item, as well as details about arguments, connection handling, query execution, caching semantics, and error cases.

Context

The goal of this PR is to improve the documentation of the MongoDB and Redis modules, making it easier for developers to understand and use these components. The changes are isolated to the specified files and do not affect other parts of the codebase.

Testing

No functional changes were made, so existing tests should continue to pass. To verify the docstrings, review the updated files and ensure that all functions, traits, and structs have clear and accurate documentation.

Known Issues or Limitations

  • This PR only addresses documentation and does not modify any functionality.
  • The docstrings are focused on the MongoDB and Redis modules; other modules remain unchanged.

BHouwens and others added 3 commits August 20, 2024 04:00
Merge develop into main; Bump to v0.1.3
…src/db/mongo_db.rs and src/db/redis_cache.rs. the docstrings should include a description of the purpose, as well as any arguments where applicable. Only work on src/db/mongo_db.rs and src/db/redis_cache.rs, no other files
@Sophie-Ag00001 Sophie-Ag00001 requested a review from a team as a code owner January 26, 2025 15:28
@BHouwens BHouwens changed the base branch from main to develop January 26, 2025 15:31
@BHouwens BHouwens merged commit f650b44 into develop Jan 26, 2025
2 checks passed
@BHouwens BHouwens deleted the sophie/add-docstrings-mongo-redis branch January 26, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants