-
Notifications
You must be signed in to change notification settings - Fork 25
Main v2 management fastapi #57
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
… documentation for management
…mplementations - Standardize authentication flow between FastAPI and Flask frameworks - Correct async/sync handling in session storage implementations - Ensure consistent behavior in framework context handling - Update OAuth authentication flow to support both patterns
- Implement nest_asyncio for proper nested event loop handling - Enhance async flow in authentication process - Add flask-session and nest-asyncio to requirements.txt
- Improve session management in Flask storage implementation - Add comprehensive logging throughout the framework - Implement proper session modification tracking - Add cachelib dependency for Flask session support
- Remove redundant integration.py files in favor of framework-specific implementations - Enhance session management and user authentication flow - Add get_user_id method to framework interface - Improve logging throughout authentication process - Simplify storage manager key handling - Update FastAPI and Flask implementations to match new architecture
- Add InMemorySessionMiddleware for FastAPI session management - Update example app to use the new session middleware - Simplify session configuration in example app - Remove redundant logging statements
- Reimplement device ID based key namespacing - Restore proper handling of device-specific, global, and user-specific keys - Fix storage key isolation between different devices
- Add new test files for OAuth and UserSession edge cases - Add storage manager specific tests - Improve existing test structure and assertions - Add storage_type property to StorageManager - Update test dependencies in requirements.txt - Add pytest.ini configuration - Clean up redundant test cases
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
- Upgrade requests to >=2.32.0 - Upgrade pyjwt to >=2.10.0 - Add and upgrade framework dependencies (fastapi, flask, uvicorn) - Add httpx dependency for modern HTTP client support - Organize requirements.txt into logical sections
- Include main_V2_Management_fastapi branch in CI workflow triggers - Ensure new feature branch changes are properly tested in CI pipeline
- Temporarily disable incomplete OAuth edge case tests - Comment out unfinished UserSession edge case tests - Preserve test structure for future implementation - Clean up test files for beta readiness
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
Explain your changes
Added in FastAPI and Flask support
Checklist
🛟 If you need help, consider asking for advice over in the Kinde community.