Skip to content

Commit 184584a

Browse files
authored
Merge pull request #45 from dapper91/dev
- union types support added - xml model encoding api unified with pydantic json encoding api - root model validation raises exception instead of returning None - xml model params inheritance implemented - multiple element search strategies implemented - serializers refactoring done, dead code removed
2 parents b4d75c7 + 2754abd commit 184584a

File tree

112 files changed

+6503
-2253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+6503
-2253
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,6 @@ dmypy.json
130130

131131
# IDEs
132132
.idea
133+
134+
# poetry
135+
poetry.lock

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ default_stages:
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.1.0
7+
rev: v4.4.0
88
hooks:
99
- id: check-yaml
1010
- id: check-toml
@@ -25,25 +25,25 @@ repos:
2525
args:
2626
- --fix=no
2727
- repo: https://github.com/asottile/add-trailing-comma
28-
rev: v2.2.1
28+
rev: v2.4.0
2929
hooks:
3030
- id: add-trailing-comma
3131
stages:
3232
- commit
3333
- repo: https://github.com/pre-commit/mirrors-autopep8
34-
rev: v1.6.0
34+
rev: v2.0.1
3535
hooks:
3636
- id: autopep8
3737
stages:
3838
- commit
3939
args:
4040
- --diff
4141
- repo: https://github.com/pycqa/flake8
42-
rev: 3.9.2
42+
rev: 6.0.0
4343
hooks:
4444
- id: flake8
4545
- repo: https://github.com/pycqa/isort
46-
rev: 5.10.1
46+
rev: 5.12.0
4747
hooks:
4848
- id: isort
4949
name: fix import order
@@ -63,7 +63,7 @@ repos:
6363
- --multi-line=9
6464
- --project=pydantic_xml
6565
- repo: https://github.com/pre-commit/mirrors-mypy
66-
rev: v0.942
66+
rev: v0.991
6767
hooks:
6868
- id: mypy
6969
stages:

.readthedocs.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
2+
3+
version: 2
4+
5+
build:
6+
os: ubuntu-22.04
7+
tools:
8+
python: "3.11"
9+
10+
sphinx:
11+
configuration: docs/source/conf.py
12+
13+
python:
14+
install:
15+
- method: pip
16+
path: .
17+
extra_requirements:
18+
- lxml
19+
- docs

CHANGELOG.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ Changelog
22
=========
33

44

5+
0.6.0 (2023-02-05)
6+
------------------
7+
8+
- union types support added
9+
- xml model encoding api unified with pydantic json encoding api
10+
- root model validation raises exception instead of returning None
11+
- xml model params inheritance implemented
12+
- multiple element search strategies implemented
13+
14+
515
0.5.0 (2023-01-11)
616
------------------
717

0 commit comments

Comments
 (0)