Repository navigation
feat: SDK update for version 24.2.0 - #158
Conversation
🔵 Tier A · Mergeable after minor fixes
This update releases the Python SDK as version 24.2.0 and adds function interval scheduling parameters and model fields. It also updates the billing-plan model, examples, and organization test fixtures for the new interval minimum field.
Fix with agent prompt### Issue 1
appwrite/services/functions.py:216-217
**Add coverage for the interval request parameter**
The existing function service tests call `create` and `update` without an interval and do not assert request parameters; their mocked Function responses also omit the new field. As a result, regressions in sending `interval` on either operation or parsing it from responses would pass unnoticed.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.📂 Walkthrough · 10
Reviewed |
| if interval is not None: | ||
| api_params['interval'] = self._normalize_value(interval) |
There was a problem hiding this comment.
Add coverage for the interval request parameter
The existing function service tests call create and update without an interval and do not assert request parameters; their mocked Function responses also omit the new field. As a result, regressions in sending interval on either operation or parsing it from responses would pass unnoticed.
Prompt To Fix With AI
This is a comment left during a code review.
Path: appwrite/services/functions.py
Line: 216-217
Comment:
**Add coverage for the interval request parameter**
The existing function service tests call `create` and `update` without an interval and do not assert request parameters; their mocked Function responses also omit the new field. As a result, regressions in sending `interval` on either operation or parsing it from responses would pass unnoticed.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟡 Minor · testing · Reply if this doesn't apply.
This PR contains updates to the SDK for version 24.2.0.
What's Changed
intervalparameter onfunctions.createandfunctions.updateto run a function every N minutesintervalon theFunctionmodel andfunctionsIntervalMinimumon theBillingPlanmodel