Skip to content

fix(json_client): import HttpHeader from campus.webauth.models - #101

Merged
nycomp merged 2 commits into
mainfrom
fix/webauth-httpheader-import
Oct 7, 2026
Merged

nycomp merged 2 commits into
mainfrom
fix/webauth-httpheader-import

Conversation

@nycomp

@nycomp nycomp commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Companion to nyjc-computing/campus#857 (webauth moved out of campus.common to top-level campus.webauth; header models moved from campus.model to campus.webauth.models).

CampusRequest.headers annotates and constructs HttpHeader at class-definition time, so the old campus.model.HttpHeader reference raises AttributeError at import against campus-suite@weekly once #857 merges.

Merge together with campus#857. Tests: 274 client tests pass against the #857 branch.

campus moves its HTTP header models out of campus.model into the new
top-level campus.webauth package. CampusRequest.headers annotates and
constructs HttpHeader at class-definition time, so the old
campus.model.HttpHeader reference breaks against the updated
campus-suite@weekly.
…s-suite

The webauth header models only exist from campus#857 onward. Resolve
them with a fallback so this client imports against both the locked
campus-suite (pre-857) and the updated one, unblocking CI on both
sides of the coordinated merge.
@nycomp
nycomp merged commit 7e6dd4a into main Oct 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants