Skip to content

Commit 34ea4e5

Browse files
JSclaude
andcommitted
Merge main into feat/add-python-3.12
Bringing in URL trailing slash pattern fixes from main branch. This merge includes: - Client collection path updates for circles and assignments - Ensures consistency with server-side URL patterns Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 parents 014611b + 5ac6b94 commit 34ea4e5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎campus_python/api/v1/assignments.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class Assignments(ResourceCollection):
1212
"""Campus API Assignments resource."""
13-
path = "assignments"
13+
path = "assignments/"
1414

1515
def __getitem__(self, assignment_id: str) -> "Assignments.Assignment":
1616
"""Get a specific assignment resource by ID."""

‎campus_python/api/v1/circles.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class Circles(ResourceCollection):
1212
"""Campus API Circles resource."""
13-
path = "circles"
13+
path = "circles/"
1414

1515
def __getitem__(self, circle_id: str) -> "Circles.Circle":
1616
"""Get a specific circle resource by ID."""

0 commit comments

Comments
 (0)