spei-python 0.36.1__py3-none-any.whl → 0.37.0__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
@@ -34,7 +34,7 @@ class Orden(BaseModel):
34
34
  op_tc_clave_ord: types.TipoCuentaOrdenPago = None
35
35
  op_cuenta_ord: str = None
36
36
  op_rfc_curp_ord: str = None
37
- op_ins_clave_ord: digits(3, 5)
37
+ op_ins_clave_ord: digits(3, 5) = None
38
38
  # destination info
39
39
  op_nom_ben: str = None
40
40
  op_tc_clave_ben: types.TipoCuentaOrdenPago = None
@@ -135,12 +135,7 @@ class Orden(BaseModel):
135
135
  return ordenpago
136
136
 
137
137
  @classmethod
138
- def parse_xml(
139
- cls,
140
- orden_element,
141
- categoria: types.CategoriaOrdenPago,
142
- origin_institution: types.ClaveOrdenanteOrdenPago = None,
143
- ):
138
+ def parse_xml(cls, orden_element, categoria: types.CategoriaOrdenPago):
144
139
  orden_data = {
145
140
  'id': orden_element.attrib['Id'],
146
141
  'categoria': categoria,
@@ -153,9 +148,6 @@ class Orden(BaseModel):
153
148
  if tag == 'op_ins_clave':
154
149
  orden_data['op_ins_clave_ben'] = element.text
155
150
 
156
- if 'op_ins_clave_ord' not in orden_data:
157
- orden_data['op_ins_clave_ord'] = origin_institution
158
-
159
151
  return cls(**orden_data)
160
152
 
161
153
 
@@ -1,19 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spei-python
3
- Version: 0.36.1
3
+ Version: 0.37.0
4
4
  Summary:
5
5
  Author: tech
6
6
  Author-email: tech@fondeadora.com
7
- Requires-Python: >=3.7,<4.0
7
+ Requires-Python: >=3.8,<4.0
8
8
  Classifier: Programming Language :: Python :: 3
9
- Classifier: Programming Language :: Python :: 3.7
10
9
  Classifier: Programming Language :: Python :: 3.8
11
10
  Classifier: Programming Language :: Python :: 3.9
12
11
  Classifier: Programming Language :: Python :: 3.10
13
12
  Classifier: Programming Language :: Python :: 3.11
14
13
  Requires-Dist: cryptography (>=3.0,<42.1)
15
14
  Requires-Dist: lxml (>=4.7.1,<5.0.0)
16
- Requires-Dist: pydantic (>=1.8.2,<2.0.0)
15
+ Requires-Dist: pydantic (>=2.6.2,<3.0.0)
17
16
  Requires-Dist: requests (>=2.31.0,<3.0.0)
18
17
  Description-Content-Type: text/markdown
19
18
 
@@ -15,7 +15,7 @@ spei/resources/__init__.py,sha256=RKLer_teGJO94ZoK4fn8-FtyfEh1NyCQCHr5Jlxb0f4,36
15
15
  spei/resources/acuse.py,sha256=FQJcKzg2aH1QwGPWBTKg-mO8dS05Yw9BnbxhCrfZBwU,5001
16
16
  spei/resources/cda.py,sha256=AHGPC6JUx9NYWAtJogxVDyXpISz_psOdfUiuD46h73g,2327
17
17
  spei/resources/mensaje.py,sha256=oTCqpP7GQFlnPSF8MJQJwqLjpPJxBn6yhf5W5sWO-8g,1426
18
- spei/resources/orden.py,sha256=143I8N_geZM0Bqn-S6808bkjsIIYI0gSYZ-I1zvRU2Y,13236
18
+ spei/resources/orden.py,sha256=cwlI30C3WF2L3oQmiBodLKuIjin630CUhuU-6tUj2Y4,13032
19
19
  spei/resources/respuesta.py,sha256=RKzkv52zLzm5BBjCyxrC75KZT9rUKFLwedd-JDZ3uNU,1188
20
20
  spei/responses/__init__.py,sha256=VBPhGtnbW3dG97vSTzEcpfJ1A9-Xv1CNB2YoIglX_9M,241
21
21
  spei/responses/acuse.py,sha256=ZGfP45XYvDSDbgfSKWeraDpFApDc0oks05_tQH-bwzM,650
@@ -27,6 +27,6 @@ spei/types/sice.py,sha256=xFSoiLklRNWXoWwZXpSN8-SdkliNK23_MZbhcOc7a9s,222
27
27
  spei/types/spei.py,sha256=rwOCVoXrt15T_TArnH5veb4MSn2r8My6pAXYaWSjoqY,3405
28
28
  spei/utils.py,sha256=O1G3lfcqEvenHigsc7uoNE1ZRwYflZdN8QP7MaksMXY,2746
29
29
  spei/validators.py,sha256=1b-brOmNesdiUi2X0LV0-Km4Sh6RGNeKNeAxshQXtOs,742
30
- spei_python-0.36.1.dist-info/METADATA,sha256=tS3Rd_T2Dk8plBEgjg5xKRsZfy6Od2IL5a6Plfz2a2Y,3910
31
- spei_python-0.36.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
32
- spei_python-0.36.1.dist-info/RECORD,,
30
+ spei_python-0.37.0.dist-info/METADATA,sha256=IYdKwVbb3_W9oxyyuLKTyy7uhptC6UatOUyn63kYZXc,3860
31
+ spei_python-0.37.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
32
+ spei_python-0.37.0.dist-info/RECORD,,