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

Fix Pydantic model definition for valid OpenAPI schema #1308

Merged
merged 10 commits into from
Feb 12, 2025

Conversation

shangyian
Copy link
Contributor

@shangyian shangyian commented Feb 12, 2025

Summary

The extra comma in the pydantic field description meant that it was a tuple rather than a str, causing an OpenAPI schema validation problem.

Test Plan

  • PR has an associated issue: #
  • make check passes
  • make test shows 100% unit test coverage

Deployment Plan

Copy link

netlify bot commented Feb 12, 2025

Deploy Preview for thriving-cassata-78ae72 canceled.

Name Link
🔨 Latest commit 518f8f3
🔍 Latest deploy log https://app.netlify.com/sites/thriving-cassata-78ae72/deploys/67ac5caa3725430008af9b2e

@shangyian shangyian added the bug Something isn't working label Feb 12, 2025
@shangyian shangyian marked this pull request as ready for review February 12, 2025 00:59
@agorajek
Copy link
Member

Yay, all these pylint comments going away.

@shangyian shangyian merged commit 68fb486 into DataJunction:main Feb 12, 2025
16 checks passed
@shangyian shangyian deleted the fix-openapi-json branch February 12, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants