Add Pydantic >2 support.

Open
#3 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
openapi, python
Domain
api

Research direction

Start by locating the project’s Pydantic dependency constraint and reviewing the OpenAPI Generator v7.4.0 release notes linked in the issue. Update compatibility for Pydantic >2, then verify that the generated SDK still works without the conflicting dependency that currently forces users to fall back to vanilla requests.

Written by the indexing model from the issue text.

Description

This project is currently bound by pydantic >= 1.10.5, < 2. The OpenAPI Generator >=v7.4.0 (and maybe >=7.1.0) supports pydantic >2. This limitation is causing me to have to fall back to using vanilla requests instead of using this SDK due to conflicting dependencies.

Thanks in advance!

Dominant language
Python
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from segmentio/public-api-sdk-python

All issues in segmentio/public-api-sdk-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.