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 handling of optional fields such as user_handle. #180

Closed
wants to merge 1 commit into from

Commits on Nov 8, 2023

  1. Fix handling of optional fields such as user_handle.

    UserHandle is tagged as Optional[bytes] so field.annotation == bytes doesn't match - add explicit match for user_handle.
    
    The conversion from base64 should only be done if input was json - there was a comment to this effect that that didn't work when using parse_raw - but
    recent releases, using Pydantic 2.0 no longer use those deprecated methods.
    jwag956 committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    8ed4fd0 View commit details
    Browse the repository at this point in the history