Add Activity.update() method for renaming activities#174
Conversation
Adds class method to update activity name and/or description via PUT
request to /activity-service/activity/{activity_id}.
Closes #88
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Warning Rate limit exceeded@matin has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 6 minutes and 2 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (3)
✨ Finishing touches🧪 Generate unit tests (beta)
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. Comment |
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #174 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 66 66
Lines 3020 3044 +24
=========================================
+ Hits 3020 3044 +24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Tests all three cases: - name only - description only - both name and description Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Document get() with full response structure - Document list() with pagination examples - Document update() with all use cases - Add tips and notes for common patterns Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary
Activity.update()class method to update activity name and/or descriptionPUT /activity-service/activity/{activity_id}endpointnameordescriptionis providedCloses #88
Usage
Test plan
🤖 Generated with Claude Code