Skip to content

Conversation

samuelcolvin
Copy link
Member

@samuelcolvin samuelcolvin commented Dec 25, 2018

Problem was introduced in #320 I believe.

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI and coverage remains at 100%
  • Documentation reflects the changes
  • No performance deterioration (if applicable)
  • HISTORY.rst has been updated
    • if this is the first change since a release, please add a new section
    • include the issue number or this pull request number #<number>
    • if you're not a regular contributer please include your github username @whatever

@codecov
Copy link

codecov bot commented Dec 25, 2018

Codecov Report

Merging #327 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #327   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          13     13           
  Lines        1771   1773    +2     
  Branches      344    345    +1     
=====================================
+ Hits         1771   1773    +2

@samuelcolvin samuelcolvin merged commit c725a4a into master Dec 25, 2018
@samuelcolvin samuelcolvin deleted the validator-inheritance branch December 25, 2018 22:33
alexdrydew pushed a commit to alexdrydew/pydantic that referenced this pull request Dec 23, 2023
* WIP serialization

* minor performane tweaks

* adding any serializer

* any serializer working

* trying common serializer

* working on tuple impl

* working on include/exclude on lists

* fixing tuple serializer

* removing common from serializers

* rename list -> list_tuple

* fixing core_schema, startin tests

* improving any serializer

* getting fallback to work

* renaming tests to aid benchmark comparison

* tests for list/tuple include/exclude

* WIP warn on fallback

* fallback warnings working

* restructure serializers

* functional serializers working

* errors in functions

* adding float, bool and none serializers

* remove to_python_json

* optimise simple serializers

* correctly handling subclass of basic types

* tests for Enums

* rename format -> mode

* format serializer

* support dicts

* more tests for dicts

* error message compatibility with pypy

* bytes serializer

* fix bytes decoding errors

* add base64 encoding for bytes

* validation serialization schema

* set and frozenset

* rename alias -> validation_alias

* WIP TypedDict

* simplifying definition-time include/exclude schema

* fixing include/exclude on lists and tuples

* use newer include/exclude logic for dicts

* filtering of type_dict working

* by_alias for typed_dicts

* maintain import order for typed_dict

* adding new-class

* support exclude_defaults

* exclude_unset support

* fix on PyPy

* add some benchmarks

* support datetime, date and time

* datetime parsing support

* improve coverate rename datetime -> datetime_etc

* add support for urls

* support positional tuples

* functional test for positional tuples

* fix recursion guard

* support JSON type and round_trip argument

* simplify combined_serializer

* cleanup imports

* add some other serializer builders

* support literals

* fix pyright error

* support recursive model serialization

* tweaking recursion guard

* adding generator

* generator generator type

* fix build

* refactor serializers

* ser config

* move bytes base64 to config

* tweak into_slots names

* IncEx as a trait

* fixing include/exclude in any serializers

* filtering in any in json

* rename "inc_ex" to filter

* dataclass any serialization

* test dataclass serialization

* any pydantic model serialization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant