Closed sfahad1414 closed 3 weeks ago
The changes involve updates to the PDF handling library in document_parser.py
, enhancements to scheduling capabilities in schedule.py
, formatting adjustments in utils.py
, and version updates for dependencies in prod.txt
. Significant modifications were made to test cases in action_service_test.py
, promotional content was removed from README.md
, and API version updates were implemented in various files, reflecting improvements in functionality, structure, and testing strategies across the affected files.
File Path | Change Summary |
---|---|
augmentation/knowledge_graph/document_parser.py |
Replaced fitz with pymupdf for PDF handling in the pdf function, updating the implementation while maintaining the overall structure. |
kairon/actions/definitions/schedule.py |
Introduced add_schedule_job method for asynchronous job scheduling using APScheduler; removed the old schedule method; updated constructor and logging. |
kairon/shared/actions/utils.py |
Reformatted the execute_request_async method signature for readability; no functional changes. |
requirements/prod.txt |
Updated multiple package dependencies to newer versions, including pymupdf and opentelemetry related packages, reflecting minor version increments. |
tests/integration_test/action_service_test.py |
Restructured tests for scheduling actions; removed outdated test, added new tests, and improved validation logic for scheduling and execution mechanisms. |
README.md |
Removed promotional content about WhatsApp integration, focusing on Kairon's functionality as a conversational digital transformation platform. |
kairon/chat/handlers/channels/clients/whatsapp/cloud.py |
Updated DEFAULT_API_VERSION from 13.0 to 19.0 , aligning with the latest WhatsApp Cloud API specifications. |
kairon/chat/handlers/channels/whatsapp.py |
Modified send_message_to_user method to improve conditional logic for message handling based on message_type . |
tests/integration_test/chat_service_test.py |
Updated WhatsApp API version in test cases from v13.0 to v19.0 to ensure compatibility with the latest API specifications. |
tests/unit_test/channel_client_test.py |
Updated WhatsApp API endpoint URLs in tests from v13.0 to v19.0 for consistency with the latest API version. |
sequenceDiagram
participant User
participant Scheduler
participant Executor
participant Database
User->>Scheduler: Request to schedule job
Scheduler->>Executor: Add job to schedule
Executor->>Database: Save job details
Database-->>Executor: Confirm job saved
Executor-->>Scheduler: Job added confirmation
Scheduler-->>User: Job scheduled successfully
🐰 In the garden of code, changes bloom bright,
Withpymupdf
now, PDFs take flight.
Schedules dance in a new, swift way,
As rabbits hop through tests, come what may!
With every update, the system grows,
A joyful leap, where progress flows!
🐇
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