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

Add test for functoool.partial validators #5102

Closed

Commits on Feb 23, 2023

  1. Add test for functoool.partial validators

    JensHeinrich authored and JensHeinrich committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    69db577 View commit details
    Browse the repository at this point in the history
  2. Fix variable names

    JensHeinrich authored and JensHeinrich committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    c153bf4 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Update test case to include partial and partialmethod

    JensHeinrich authored and JensHeinrich committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    e13887e View commit details
    Browse the repository at this point in the history
  2. Add check to _prepare_validator

    This fixes pydantic#5101 atleast in regards to the unhelpful message
    As this check is only done on creation of a class the overhead should be ok
    JensHeinrich authored and JensHeinrich committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    10b8ec7 View commit details
    Browse the repository at this point in the history
  3. Use instanceof instead of module attribute

    JensHeinrich authored and JensHeinrich committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    44b5545 View commit details
    Browse the repository at this point in the history
  4. Tweak testcases

    JensHeinrich authored and JensHeinrich committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    65bfce6 View commit details
    Browse the repository at this point in the history
  5. Add changes

    JensHeinrich authored and JensHeinrich committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    6b0ac4e View commit details
    Browse the repository at this point in the history
  6. Fix value

    JensHeinrich authored and JensHeinrich committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    be1b2ad View commit details
    Browse the repository at this point in the history