spei-python 0.51.1__py3-none-any.whl → 0.51.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
spei/resources/orden.py CHANGED
@@ -3,6 +3,7 @@ from typing import Optional
3
3
 
4
4
  from lxml import etree
5
5
  from pydantic import BaseModel, validator
6
+ from unidecode import unidecode
6
7
 
7
8
  from spei import types
8
9
  from spei.utils import to_snake_case, to_upper_camel_case # noqa: WPS347
@@ -175,7 +176,7 @@ class Orden(BaseModel):
175
176
  tag = to_snake_case(element.tag)
176
177
  if tag in cls.__fields__:
177
178
  if element.text:
178
- orden_data[tag] = element.text.strip()
179
+ orden_data[tag] = unidecode(element.text.strip())
179
180
  else:
180
181
  orden_data[tag] = None
181
182
  if tag == 'op_ins_clave':
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spei-python
3
- Version: 0.51.1
3
+ Version: 0.51.2
4
4
  Summary:
5
5
  Author: tech
6
6
  Author-email: tech@fondeadora.com
@@ -15,6 +15,7 @@ Requires-Dist: cryptography (>=3.0,<43.1)
15
15
  Requires-Dist: lxml (>=4.7.1,<5.0.0)
16
16
  Requires-Dist: pydantic (>=1.8.2,<2.0.0)
17
17
  Requires-Dist: requests (>=2.32.2,<3.0.0)
18
+ Requires-Dist: unidecode (>=1.3.8,<2.0.0)
18
19
  Description-Content-Type: text/markdown
19
20
 
20
21
  [![wemake-python-styleguide](https://img.shields.io/badge/style-wemake-000000.svg)](https://github.com/wemake-services/wemake-python-styleguide)
@@ -21,7 +21,7 @@ spei/resources/acuse.py,sha256=GmEBuxqDTr1eaZl-z6oy3YyE7NkkuGCNUz44C41JvFc,5596
21
21
  spei/resources/cda.py,sha256=23tEs7j_VBRc6pu99Sj9-6Z0mvOdXhYW97NKwAS5-UM,2697
22
22
  spei/resources/ensesion.py,sha256=9sHwVxav17tANds3RGZJAPfoQQM_-thhZS-2iUzqo0Y,1585
23
23
  spei/resources/mensaje.py,sha256=YCaZigRmrVYJQ7dRw0oXnrqpSo8DW_VsWqcSM2CXm_0,1804
24
- spei/resources/orden.py,sha256=I2rlaX4Nptos5ioBv8nV214oBcbnfgWLRGNHHhqL1HE,7024
24
+ spei/resources/orden.py,sha256=4nozN-lhKXK9YY1yt4dwpWtE0tu2iCgrtHll8Uq9Q7E,7067
25
25
  spei/resources/payments.py,sha256=H5XEexg_EHtaWObYZ9e-neMWsbe8BxWQd5yF8fG9Bxk,8841
26
26
  spei/resources/respuesta.py,sha256=TV5DqrDgkIgnYhka4ceNxuBIo1L7zeHPF0_SJw_23YQ,1497
27
27
  spei/responses/__init__.py,sha256=WxHb0KJ1sI5m6iLfxtf3h8MnqubQlxdtiaarXJvZdkM,247
@@ -34,6 +34,6 @@ spei/types/sice.py,sha256=xFSoiLklRNWXoWwZXpSN8-SdkliNK23_MZbhcOc7a9s,222
34
34
  spei/types/spei.py,sha256=rgdbWEMqIHNuSBaCwWmpziK35JcQ-q3nDHZR7-rDpMU,4765
35
35
  spei/utils.py,sha256=Lje_sg6hLKQxsPmqf7ovVKKVcGZi7LlgNNg1MRtWnRo,247
36
36
  spei/validators.py,sha256=1b-brOmNesdiUi2X0LV0-Km4Sh6RGNeKNeAxshQXtOs,742
37
- spei_python-0.51.1.dist-info/METADATA,sha256=YNRozYmfUU5KNMhMyVIW-JALvmMZwbCljnhzOHxF8Jo,3914
38
- spei_python-0.51.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
39
- spei_python-0.51.1.dist-info/RECORD,,
37
+ spei_python-0.51.2.dist-info/METADATA,sha256=_KIQHujB8HS-5UxwbphUR1RJ4omZHS4G9qcdcO5c_mo,3956
38
+ spei_python-0.51.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
39
+ spei_python-0.51.2.dist-info/RECORD,,