Closed sfahad1414 closed 3 weeks ago
The recent changes involve updates to various files, including enhancements in PDF handling, modifications to scheduling capabilities, improvements in text extraction from HTML, and adjustments to test cases. Additionally, several dependencies in the requirements
files have been updated to newer versions. These changes aim to refine functionality, improve code clarity, and ensure compatibility with the latest library versions.
Files | Change Summary |
---|---|
augmentation/knowledge_graph/document_parser.py , augmentation/utils.py |
Updated PDF handling by switching from fitz to pymupdf and improved text extraction logic in get_qna function with enhanced error handling. |
kairon/actions/definitions/schedule.py |
Refactored ActionSchedule class to introduce asynchronous job scheduling, replacing the old schedule method with add_schedule_job , and improved error handling for HTTP responses. |
kairon/shared/actions/utils.py |
Reformatted the method signature of execute_request_async for better readability without changing functionality. |
kairon/shared/sso/clients/linkedin.py |
Enhanced process_login method by adding parameters for PKCE support and response conversion, along with improved type annotations. |
requirements/dev.txt , requirements/prod.txt |
Updated various dependencies to newer versions, including pytest , mongoengine , fastapi , and others, reflecting routine maintenance for security and compatibility. |
tests/integration_test/action_service_test.py , tests/unit_test/callback_test.py , tests/unit_test/events/definitions_test.py |
Restructured integration tests for action scheduling, replaced a test case, updated Telegram message tests with a real token, and changed URLs in multiple test functions to reflect updated contexts. |
sequenceDiagram
participant User
participant ActionScheduler
participant Database
participant Logger
User->>ActionScheduler: Request to schedule action
ActionScheduler->>Database: Save action details
ActionScheduler->>Logger: Log action scheduling
ActionScheduler->>User: Confirm action scheduled
🐇 In the meadow, hopping with glee,
New changes are sprouting, just wait and see!
With PDFs and actions, all tidy and bright,
Testing is smoother, everything feels right.
So let’s celebrate with a joyful cheer,
For every small change brings us all near! 🌼✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
Tests
Chores