← Back to issue list

Make Pydantic models more idiomatic

View original Github issue

Metadata

Project
craft-archives
Number
#118
Type
issue
State
open
Author
lengau
Labels
Created
2024-06-05 17:21:15+00:00
Updated
2025-05-01 16:43:45+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done The current pydantic models have run through several pydantic updates and could use some updates to make them more idiomatic and work more nicely with generating JSON schemas. Relevant updates include: - https://github.com/canonical/craft-archives/pull/103/files#r1626427344 - https://github.com/canonical/craft-archives/pull/103/files#r1610575091 - https://github.com/canonical/craft-archives/pull/103/files#r1610576846 ### Why it needs to get done Automatic generation of JSON schemas and efficiency with pydantic 2

Evaluation history

No evaluation history available.