Skip to content

Commit ef8edfd

Browse files
committed
deploy: 8358e3c
1 parent 8d83815 commit ef8edfd

28 files changed

Lines changed: 329 additions & 330 deletions

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: dd5d7543ff41a0efb672323ca18a8997
3+
config: 06fc58b63107103065a2d7c92bef2f4c
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
3.21 KB
Binary file not shown.
2.12 KB
Binary file not shown.

.doctrees/contafi.doctree

676 Bytes
Binary file not shown.

.doctrees/dev/unit-test.doctree

8 Bytes
Binary file not shown.

.doctrees/environment.pickle

121 Bytes
Binary file not shown.
28 Bytes
Binary file not shown.

_sources/dev/unit-test.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ Si quieres ejecutar una prueba específica, deberás especificar el nombre y rut
1919

2020
.. code:: shell
2121
22-
python3 tests/run.py client.bte.test_emitir_bhe.TestEmitirBte
22+
python3 tests/run.py client.bte.test_emitir_bhe.test_emitir_bte
2323
2424
Para ejecutar otros ejemplos, debes reemplazar `test_emitir_bte` por el nombre de alguna de las otras pruebas descritas posteriormente. Además, si quieres ejecutar un test dentro de otra carpeta, como por ejemplo en `bhe`, deberás ejecutar el siguiente comando:
2525

2626
.. code:: shell
2727
28-
python3 tests/run.py client.bte.test_listar_bhes.TestListarBhes
28+
python3 tests/run.py client.bte.test_listar_bhes.test_listar_bhes

_sources/getting-started/example.rst.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,25 @@ El siguiente es un ejemplo básico de cómo emitir una BTE utilizando el cliente
1212
.. code-block:: python
1313
1414
# Importaciones del cliente de API de ContaFi.
15-
from datetime import datetime
15+
from datetime import datetime, UTC
1616
from contafi.api_client import ApiException
1717
from contafi.api_client.client.bte import Bte
1818
1919
# Instancia de cliente.
2020
client = Bte()
2121
# RUT del emisor.
22-
rutEmisor = "12345678-9"
22+
rut_emisor = "12345678-9"
2323
# Fecha de emisión de BHE.
24-
fechaEmis = datetime.now().strftime('%Y-%m-%d')
24+
fecha_emis = datetime.now().strftime('%Y-%m-%d')
2525
2626
# Datos de la boleta a ser emitida.
27-
datosBte = {
27+
datos_bte = {
2828
'Encabezado': {
2929
'IdDoc': {
30-
'FchEmis' : fechaEmis,
30+
'FchEmis' : fecha_emis,
3131
},
3232
'Emisor': {
33-
'RUTEmisor' : rutEmisor,
33+
'RUTEmisor' : rut_emisor,
3434
},
3535
'Receptor': {
3636
'RUTRecep' : '66666666-6',
@@ -52,7 +52,7 @@ El siguiente es un ejemplo básico de cómo emitir una BTE utilizando el cliente
5252
}
5353
5454
# Respuesta de solicitud HTTP (POST) de emisión de boleta.
55-
response = client.emitir(datos)
55+
response = client.emitir(datos_bte)
5656
5757
# Despliegue del resultado.
5858
print("\nEMISION BOLETA: \n")

_static/basic.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -741,14 +741,6 @@ abbr, acronym {
741741
cursor: help;
742742
}
743743

744-
.translated {
745-
background-color: rgba(207, 255, 207, 0.2)
746-
}
747-
748-
.untranslated {
749-
background-color: rgba(255, 207, 207, 0.2)
750-
}
751-
752744
/* -- code displays --------------------------------------------------------- */
753745

754746
pre {

0 commit comments

Comments
 (0)