google / turbinia

Automation and Scaling of Digital Forensics Tools
Apache License 2.0
724 stars 163 forks source link

[FR]: Upgrade Turbinia API client to Pydantic v2 #1484

Open jleaniz opened 1 month ago

jleaniz commented 1 month ago

What is the feature you are proposing?

Generate an API client that uses Pydantic version 2.

What would this feature improve or what problem would it solve?

The OpenAPI code generator does not support chunked transfers with the Pydantic v1 models. Migrating to v2 would allow the API to stream files which would be useful for the /result endpoints

What alternatives have you considered?

No response

jleaniz commented 2 weeks ago