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 SchemaSerializer.__reduce__ method to enable pickle serialization #1006

Merged
merged 19 commits into from Oct 9, 2023

Commits on Oct 6, 2023

  1. Add __reduce__ method to SchemaSerializer

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    a1c6164 View commit details
    Browse the repository at this point in the history
  2. Revert changes to _pydantic_core.pyi

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    ce155b8 View commit details
    Browse the repository at this point in the history
  3. Fix constructor in tests

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    3159084 View commit details
    Browse the repository at this point in the history
  4. Handle Option in __traverse__

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    cdc32a2 View commit details
    Browse the repository at this point in the history
  5. Make the linter happy

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    bba95d8 View commit details
    Browse the repository at this point in the history
  6. Add test_pickling.py

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    24ad5b0 View commit details
    Browse the repository at this point in the history
  7. Fix imports

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    bdafefd View commit details
    Browse the repository at this point in the history
  8. Fix imports

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    8c41c88 View commit details
    Browse the repository at this point in the history
  9. Fix lint

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    70f3032 View commit details
    Browse the repository at this point in the history
  10. Add config to gc.collect() test

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    8b8bfd5 View commit details
    Browse the repository at this point in the history
  11. Fix lint

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    661ac07 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Use slf.get_type()

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    3e9b372 View commit details
    Browse the repository at this point in the history
  2. Update validator __reduce__ to include config

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    9ef470b View commit details
    Browse the repository at this point in the history
  3. Fix config test

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    26cb67a View commit details
    Browse the repository at this point in the history
  4. Fix tests

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    ed3ad18 View commit details
    Browse the repository at this point in the history
  5. Revert small type change

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    e11ba19 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'main' of https://github.com/pydantic/pydantic-core into…

    … cloudpickle-support
    edoakes committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    6cbba7b View commit details
    Browse the repository at this point in the history
  7. Add config to gc test

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    1d17408 View commit details
    Browse the repository at this point in the history
  8. small nit

    Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
    edoakes committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    722bbdf View commit details
    Browse the repository at this point in the history