Skip to content

Commit aa7413e

Browse files
ngjunsiangclaude
andcommitted
Fix Python 3.11 compatibility: add future annotations import
Add `from __future__ import annotations` to fix type hint syntax error in Python 3.11 where list[str] is not subscriptable in function signatures without this import. Fixes CI test failures in PR #36. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 80ddfad commit aa7413e

3 files changed

Lines changed: 317 additions & 300 deletions

File tree

campus_python/auth/v1/clients.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
Campus Auth Clients resource (v1).
44
"""
5+
from __future__ import annotations
56

67
import campus.model
78

0 commit comments

Comments
 (0)