-
Notifications
You must be signed in to change notification settings - Fork 10
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 data model for DTE Referencia #218
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #218 +/- ##
===========================================
+ Coverage 85.86% 86.82% +0.95%
===========================================
Files 34 34
Lines 2788 3005 +217
Branches 356 380 +24
===========================================
+ Hits 2394 2609 +215
- Misses 256 257 +1
- Partials 138 139 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
44a1b3d
to
884239f
Compare
884239f
to
b7b9854
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc24e76
to
e3774ac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e3774ac
to
d1624a6
Compare
d1624a6
to
ae912b6
Compare
Code Climate has analyzed commit 3598071 and detected 0 issues on this pull request. View more on Code Climate. |
ae912b6
to
4f4c937
Compare
4f4c937
to
9d3d85d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Can you change the commit type of "chore: Add Pydantic validators to data model
DteXmlReferencia
" fromchore
tofeat(dte)
? - In commit "feat(base): Add enum for 'Tipo de Documento'", can you use permalinks (with 8-character shortened hash) for the GitHub URLs?
9d3d85d
to
4b8ac01
Compare
- Add the main enumerative for "Tipos de Documentos", sourced from the SII official documentation and XML schema for DTE. Source: - from official document "FORMATO DOCUMENTOS TRIBUTARIOS ELECTRÓNICOS (2019-11-15)" (retrieved on 2020-01-30) (https://github.com/cl-sii-extraoficial/archivos-oficiales/blob/99b15aff/src/docs/dte/formato-dtes/2019-11-15-formato-dtes-v2.2.y.pdf) - from official schema ``SiiTypes_v10.xsd``, the XML type (enum) ``DocType``. (retrieved on 2021-03-25) (https://github.com/cl-sii-extraoficial/archivos-oficiales/blob/99b15aff/src/code/rtc/2019-12-12-schema_cesion/schema_cesion/SiiTypes_v10.xsd) Ref: https://cordada.aha.io/features/COMPCLDATA-221 Ref: #217
- Add `DteXmlReferencia` class. - Add constants. - Add tests. Ref: #217 Ref: https://cordada.aha.io/features/COMPCLDATA-221
- Add attribute "referencias" data model `DteXmlData`. - Add parser for "referencias" - Add tests Ref: https://cordada.aha.io/features/COMPCLDATA-221 Ref: #217
* Refactored `DteXmlReferencia.__post_init__` validations to pyndantic validators * Updated tests for pydantic validators Ref: https://cordada.aha.io/features/COMPCLDATA-221 Ref: #217
4b8ac01
to
3598071
Compare
DteXmlReferencia
class.Ref: https://cordada.aha.io/features/COMPCLDATA-221
Resolves: #217