Skip to content

Commit dc1d976

Browse files
authored
fix: adds None type to fields with None as default value (#39)
1 parent 8e6782e commit dc1d976

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

satcfdi/pacs/sat.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -574,16 +574,16 @@ def list_69b(self, rfc: str) -> TaxpayerStatus | None:
574574

575575
def recover_comprobante_request(
576576
self,
577-
fecha_inicial: date = None,
578-
fecha_final: date = None,
579-
rfc_receptor: str | Sequence[str] = None,
580-
rfc_emisor: str = None,
577+
fecha_inicial: date | datetime | None = None,
578+
fecha_final: date | datetime | None = None,
579+
rfc_receptor: str | Sequence[str] | None = None,
580+
rfc_emisor: str | None = None,
581581
tipo_solicitud: TipoDescargaMasivaTerceros | str = TipoDescargaMasivaTerceros.CFDI,
582-
tipo_comprobante: TipoDeComprobante | str = None,
583-
estado_comprobante: EstadoComprobante | str = None,
584-
rfc_a_cuenta_terceros: str = None,
585-
complemento: str = None,
586-
uuid: str | UUID = None) -> dict:
582+
tipo_comprobante: TipoDeComprobante | str | None = None,
583+
estado_comprobante: EstadoComprobante | str | None = None,
584+
rfc_a_cuenta_terceros: str | None = None,
585+
complemento: str | None = None,
586+
uuid: str | UUID | None = None) -> dict:
587587
"""
588588
Esta operación permite solicitar la descarga de CFDIs o Metadata y como
589589
resultado devuelve un id de solicitud o estatus de la petición realizada.

0 commit comments

Comments
 (0)