Repository navigation
Incorporate API spec v65 changes; release 1.0.3 - #1
Merged
Merged
Conversation
- Update docs/api specs (admin, bots, cloud) to server API v65 - Locations: add get/create/update_escalation for the new /cloud/json/escalations endpoints; escalation_id filter on get_narratives - DeviceTypesAndParameters: add_default_rule requires location_id (breaking) - Remove Weather and admin Challenges API classes (endpoints dropped) - Remove UserAccounts user code methods and bot Analytic.get_challenge_participants (endpoints dropped) - Drop simple/organization_id from get_device_types and get_card from get_location_service_plans - Docstrings: question permissions, service plan locationId requirement - Update docs, caredaily skill, and okf bundle; bump version to 1.0.3 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- ruff check --fix src/: sort imports and drop unused imports (114 fixes) - Devices.update_location_device: remove an unused postId params dict; the v65 spec defines only the locationId/deviceId path params - CLI configure tests: patch the configure module object directly. caredaily.cli re-exports the `configure` click group under the module's name, so on Python 3.10 the dotted patch target resolved to the group. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the SDK from server API spec v63 to v65 (
docs/api/*.yamlrefreshed from app.peoplepowerco.com).Added
Locations.get_escalations,create_escalation,update_escalationfor the new/cloud/json/escalationsendpointsescalation_idfilter onLocations.get_narrativesBreaking
DeviceTypesAndParameters.add_default_rulenow requireslocation_id(spec madelocationIdrequired)Weatherclass (all weather endpoints)Challengesclass (also removed from exports and theadmin_apifactory)UserAccounts.put_user_code/get_user_codes/delete_user_codeAnalytic.get_challenge_participantssimple/organization_idonget_device_types;get_cardonget_location_service_plansOther
permissions; service plan assignment entries requirelocationIddocs/CARE_DAILY_APIS.md, in-repookf/bundleNotes for review
put_narrativepassesjson.dumps(narrative)asep_json, whichrequestsencodes again (likely sends a JSON string). Not changed here.tests/ENDPOINT_IMPLEMENTATION_REPORT.mdandtests/API_TEST_COVERAGE_REPORT.mdstill list removed endpoints.cloud.yamldiff looks huge under git's default algorithm;--histogramshows ~3k lines.CI fixes (pre-existing failures on main)
ruff check --fix src/: import sorting and unused imports (114 fixes, no behavior change)Devices.update_location_device: removed an unusedpostIdparams dict (the spec defines only path params)configuremodule object directly.caredaily.clire-exports theconfigureclick group under the module's name, which broke the dotted patch target on Python 3.10.Testing
pytest tests/caredaily: 819 passedruff check src/(0.16.10): clean🤖 Generated with Claude Code