Closed sfahad1414 closed 2 months ago
[!CAUTION]
Review failed
The pull request is closed.
The changes involve updates to several files, primarily focusing on enhancements to PDF handling, scheduling functionality, and test cases. Key modifications include the transition from fitz
to pymupdf
for PDF processing, the introduction of asynchronous scheduling methods, and improvements in test logic and structure. Additionally, various dependencies have been updated in the requirements files, reflecting a commitment to maintaining current libraries.
Files | Change Summary |
---|---|
augmentation/.../document_parser.py |
Updated PDF handling by switching from fitz to pymupdf . |
augmentation/utils.py |
Refined text extraction logic in get_qna , enhancing clarity and efficiency. |
kairon/actions/.../schedule.py |
Replaced synchronous schedule method with asynchronous add_schedule_job , improving scheduling. |
kairon/shared/actions/utils.py |
Reformatted parameters in execute_request_async for readability, no functional changes. |
kairon/shared/sso/clients/linkedin.py |
Enhanced process_login method with new parameters for security and response handling. |
requirements/dev.txt |
Updated versions of several development dependencies. |
requirements/prod.txt |
Incremented versions of multiple production dependencies. |
tests/integration_test/.../action_service_test.py |
Replaced LambdaExecutor with ExecutorFactory , modified scheduling tests. |
tests/unit_test/callback_test.py |
Updated access token in Telegram message tests for accuracy. |
tests/unit_test/events/definitions_test.py |
Changed website_url in multiple tests to a new data source. |
sequenceDiagram
participant User
participant Scheduler
participant MongoDB
participant Server
User->>Scheduler: Request to schedule job
Scheduler->>MongoDB: Save job details
Scheduler->>Server: Dispatch job via HTTP
Server-->>Scheduler: Acknowledge receipt
Scheduler-->>User: Confirm job scheduled
🐇 Hopping through the code, oh what a delight,
Withpymupdf
now in sight!
Scheduling tasks with a new flair,
Asynchronous magic fills the air.
Test cases updated, all shiny and bright,
A leap for the future, oh what a sight! 🌟
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
Documentation
Chores