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 63 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 10859288415

Details

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

Totals Coverage Status
Change from base Build 10479967500: 1.1%
Covered Lines: 1444
Relevant Lines: 1740

💛 - 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.

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