File tree 2 files changed +1
-19
lines changed
2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -151,15 +151,6 @@ def __init__(
151
151
'Importe' : importe ,
152
152
})
153
153
154
- @classmethod # obsolete
155
- def parse (cls , impuesto : str ):
156
- parts = impuesto .split ("|" )
157
- return cls (
158
- impuesto = parts [0 ],
159
- tipo_factor = parts [1 ],
160
- tasa_o_cuota = Decimal (parts [2 ]) if len (parts ) > 2 else None ,
161
- )
162
-
163
154
164
155
class Retencion (ScalarMap ):
165
156
"""
@@ -188,15 +179,6 @@ def __init__(
188
179
'Importe' : importe ,
189
180
})
190
181
191
- @classmethod # obsolete
192
- def parse (cls , impuesto : str ):
193
- parts = impuesto .split ("|" )
194
- return cls (
195
- impuesto = parts [0 ],
196
- tipo_factor = parts [1 ],
197
- tasa_o_cuota = Decimal (parts [2 ]) if len (parts ) > 2 else None ,
198
- )
199
-
200
182
201
183
class Impuestos (ScalarMap ):
202
184
"""
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ class Environment(Enum):
142
142
class PAC :
143
143
RFC = None
144
144
145
- def __init__ (self , environment ):
145
+ def __init__ (self , environment : Environment ):
146
146
self .environment = environment
147
147
148
148
def status (self , cfdi : CFDI ) -> dict :
You can’t perform that action at this time.
0 commit comments