Skip to content

Conversation

@glarrain
Copy link
Contributor

glarrain added 15 commits April 8, 2019 19:43
In this project we prefer immutable collections for annotations
because it is cleaner and more flexible.

It also prevents some mypy complaints such as:

> "Dict" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance
> Consider using "Mapping" instead, which is covariant in the value type

> "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance
> Consider using "Sequence" instead, which is covariant in the value type
…DteField

extras: add Marshmallow field for a DTE's "tipo DTE"
Move content of dirs `schema_dte` and `schema_iecv` into new dir
`schemas-xml`.

Conflicts:
- README files: merged into one.
- `xmldsignature_v10.xsd` files: remove one (they were identical).
Following commit f57a326, update references to files that were moved
from dirs `schema_dte` and `schema_iecv` into `schemas-xml`.
- Add example script.
- Dir is not a Python package.
- However, linters will process its contents nonetheless.
With permission from the "cesionario" of the "cesion" (ST Capital S.A.).

The DTE XML file was extracted from the AEC XML file.
Tests have not been implemented.
Augment and improve it to consider more cleaning operations.

- Add `_set_dte_xml_missing_xmlns`.
- Refactor `_remove_dte_xml_doc_personalizado` out of `clean_dte_xml`.

Tests have not been implemented.
Test have not been implemented.
…te_xml

dte.parse: change and improve `clean_dte_xml`
@glarrain glarrain self-assigned this Apr 16, 2019
@glarrain glarrain merged commit 786aec5 into master Apr 16, 2019
@glarrain glarrain added the kind: release Release label May 8, 2019
@glarrain glarrain changed the title Release Release v0.4.0 May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants