Skip to content

Conversation

samuelcolvin
Copy link
Member

as per https://mail.python.org/pipermail/python-dev/2017-December/151283.html dicts are ordered in python 3.6+. Therefore OrderedDict can be removed and marginally improve performance.

@codecov
Copy link

codecov bot commented Feb 6, 2018

Codecov Report

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

@@          Coverage Diff          @@
##           master   #126   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           9      9           
  Lines         873    871    -2     
  Branches      196    196           
=====================================
- Hits          873    871    -2

@samuelcolvin samuelcolvin merged commit 2b8216a into master Feb 6, 2018
@samuelcolvin samuelcolvin deleted the remove-ordered-dict branch February 6, 2018 15:45
alexdrydew pushed a commit to alexdrydew/pydantic that referenced this pull request Dec 23, 2023
* rename Model -> TypedDict

* rename items -> items_schema

* rename keys,values -> keys,values_schema

* explicitly prevent schema on plain functions

* rename model -> schema on model_class

* fix linting and bench
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