Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Using msgspec for multipart/form-data #96

Description

@krzjoa

Is there any (even hacky) way to use msgspec with file data (multipart/form-data)? I know that the documentation on request validation states that this currently only works with Pydantic types and validation. I also tried to use a mixed solution (file data with Pydantic + all the other endpoints with msgspec). Unfortunately, in such a case quart-schema tries to interpret all the data classes as Pydantic ones and raises erros because of the msgspec incompatibility.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions