dapper91 / pydantic-xml

python xml for humans
https://pydantic-xml.readthedocs.io
The Unlicense
141 stars 14 forks source link

raw element fields #102

Closed dapper91 closed 10 months ago

dapper91 commented 10 months ago

Raw element typed fields support added.

Implements the feature requested in https://github.com/dapper91/pydantic-xml/issues/14.

codecov-commenter commented 10 months ago

Codecov Report

Merging #102 (42179ba) into dev (f784346) will decrease coverage by 0.28%. Report is 1 commits behind head on dev. The diff coverage is 82.27%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##              dev     #102      +/-   ##
==========================================
- Coverage   91.92%   91.64%   -0.28%     
==========================================
  Files          23       25       +2     
  Lines        1250     1317      +67     
==========================================
+ Hits         1149     1207      +58     
- Misses        101      110       +9     
Flag Coverage Δ
unittests 91.64% <82.27%> (-0.28%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
pydantic_xml/element/native/lxml.py 0.00% <0.00%> (ø)
...ydantic_xml/serializers/factories/heterogeneous.py 89.58% <ø> (ø)
pydantic_xml/serializers/factories/homogeneous.py 94.00% <ø> (+2.00%) :arrow_up:
pydantic_xml/serializers/factories/primitive.py 95.69% <ø> (ø)
pydantic_xml/serializers/factories/raw.py 80.00% <80.00%> (ø)
pydantic_xml/element/element.py 99.43% <100.00%> (+0.01%) :arrow_up:
pydantic_xml/element/native/__init__.py 63.63% <100.00%> (+3.63%) :arrow_up:
pydantic_xml/element/native/std.py 100.00% <100.00%> (ø)
pydantic_xml/model.py 98.52% <100.00%> (ø)
pydantic_xml/serializers/factories/__init__.py 100.00% <100.00%> (ø)
... and 3 more