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

Connection Request validation using Pydantic #149

Draft
wants to merge 64 commits into
base: main
Choose a base branch
from

Conversation

sajith
Copy link
Member

@sajith sajith commented Sep 3, 2024

Addresses #148.

We do not care for Python 3.8 anymore, so we can safely drop this
backward-compatibility library now.
These connection request files are based on Service Provisioning Data
Model Specification 1.0, so they should be V1.

https://sdx-docs.readthedocs.io/en/latest/specs/provisioning-api-1.0.html

Perhaps the older requests could be renamed V0?
Used `python -m json.tool <input> <output>`.
@sajith sajith linked an issue Sep 3, 2024 that may be closed by this pull request
@coveralls
Copy link

coveralls commented Sep 3, 2024

Pull Request Test Coverage Report for Build 12241147147

Details

  • 93 of 93 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.2%) to 78.801%

Totals Coverage Status
Change from base Build 12123696176: 1.2%
Covered Lines: 1420
Relevant Lines: 1802

💛 - Coveralls

@sajith sajith linked an issue Sep 13, 2024 that may be closed by this pull request
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.

Importing connection request data mutates it Invalid v1.0 format connection request
2 participants