Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert voluptuous Schema + prescriptions class to pydantic models #2423

Open
3 tasks
VannTen opened this issue Jan 30, 2023 · 2 comments
Open
3 tasks

Convert voluptuous Schema + prescriptions class to pydantic models #2423

VannTen opened this issue Jan 30, 2023 · 2 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/stack-guidance Categorizes an issue or PR as relevant to SIG Stack Guidance. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@VannTen
Copy link
Member

VannTen commented Jan 30, 2023

Problem statement

Proposal description

Use pydantic models = The class definition is the schema defintion, with built-in validation

Alternatives

N/A

Acceptance Criteria

Optionally:

  • Rework the prescription Schema, add versioning

/sig stack-guidance
/priority important-longterm
/triage accepted
(in sig stack-guidance 30/01/2023)

@VannTen VannTen added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 30, 2023
@sesheta sesheta added sig/stack-guidance Categorizes an issue or PR as relevant to SIG Stack Guidance. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. triage/accepted Indicates an issue or PR is ready to be actively worked on. labels Jan 30, 2023
@KPostOffice
Copy link
Member

Is this something that could be turned into jsonSchema or protobuf specification?

@VannTen
Copy link
Member Author

VannTen commented Feb 3, 2023 via email

@goern goern moved this from 🆕 New to 📋 Backlog in Planning Board Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/stack-guidance Categorizes an issue or PR as relevant to SIG Stack Guidance. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants