Skip to content

Cfht - #67

Merged
Fingel merged 36 commits into
mainfrom
cfht
Aug 27, 2026
Merged

Cfht#67
Fingel merged 36 commits into
mainfrom
cfht

Conversation

@Fingel

@Fingel Fingel commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Includes model generation, an example ipython notebook, and online tests that have parity with https://github.com/CFHT/kealahou-workshop/blob/main/example.py

Fingel added 30 commits July 1, 2026 16:25
Introduces the datamodel-codegen tool that can convert openapi specs
into Pydantic models. This is used to generate models for cfht (after
converting to OpenAPI v3 - an annoying side quest) so that theses api
types don't need to be hand-written.

The docs explicitly state that the API is under development so
automating the conversion like this is definitely the way to go for now.
@Fingel
Fingel requested a review from phycodurus August 13, 2026 21:56
@Fingel
Fingel marked this pull request as draft August 19, 2026 17:58
@Fingel
Fingel marked this pull request as ready for review August 21, 2026 17:00
@Fingel
Fingel merged commit f9014e7 into main Aug 27, 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