worker-automate-hub 0.5.51__py3-none-any.whl → 0.5.52__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.
- worker_automate_hub/tasks/jobs/entrada_de_notas_15.py +1 -0
- worker_automate_hub/tasks/jobs/entrada_de_notas_16.py +1 -0
- worker_automate_hub/tasks/jobs/entrada_de_notas_207.py +1 -0
- worker_automate_hub/tasks/jobs/entrada_de_notas_32.py +2 -1
- worker_automate_hub/tasks/jobs/entrada_de_notas_33.py +2 -1
- worker_automate_hub/tasks/jobs/entrada_de_notas_34.py +4 -2
- worker_automate_hub/tasks/jobs/entrada_de_notas_36.py +4 -3
- worker_automate_hub/tasks/jobs/entrada_de_notas_39.py +6 -6
- worker_automate_hub/tasks/jobs/entrada_de_notas_500.py +3 -3
- worker_automate_hub/tasks/jobs/entrada_de_notas_505.py +2 -1
- worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py +1 -0
- worker_automate_hub/utils/util.py +4 -3
- {worker_automate_hub-0.5.51.dist-info → worker_automate_hub-0.5.52.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.51.dist-info → worker_automate_hub-0.5.52.dist-info}/RECORD +16 -16
- {worker_automate_hub-0.5.51.dist-info → worker_automate_hub-0.5.52.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.51.dist-info → worker_automate_hub-0.5.52.dist-info}/entry_points.txt +0 -0
@@ -168,6 +168,7 @@ async def entrada_de_notas_32(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
168
168
|
sucesso=error_work.sucesso,
|
169
169
|
retorno=error_work.retorno,
|
170
170
|
status=error_work.status,
|
171
|
+
tags=error_work.tags
|
171
172
|
)
|
172
173
|
|
173
174
|
app = Application().connect(
|
@@ -570,7 +571,7 @@ async def entrada_de_notas_32(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
570
571
|
sucesso=False,
|
571
572
|
retorno=error_work.retorno,
|
572
573
|
status=RpaHistoricoStatusEnum.Falha,
|
573
|
-
tags=
|
574
|
+
tags=error_work.tags
|
574
575
|
)
|
575
576
|
|
576
577
|
try:
|
@@ -163,6 +163,7 @@ async def entrada_de_notas_33(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
163
163
|
sucesso=error_work.sucesso,
|
164
164
|
retorno=error_work.retorno,
|
165
165
|
status=error_work.status,
|
166
|
+
tags=error_work.tags
|
166
167
|
)
|
167
168
|
|
168
169
|
app = Application().connect(
|
@@ -546,7 +547,7 @@ async def entrada_de_notas_33(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
546
547
|
sucesso=False,
|
547
548
|
retorno=error_work.retorno,
|
548
549
|
status=RpaHistoricoStatusEnum.Falha,
|
549
|
-
tags=
|
550
|
+
tags=error_work.tags
|
550
551
|
)
|
551
552
|
|
552
553
|
try:
|
@@ -163,6 +163,7 @@ async def entrada_de_notas_34(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
163
163
|
sucesso=error_work.sucesso,
|
164
164
|
retorno=error_work.retorno,
|
165
165
|
status=error_work.status,
|
166
|
+
tags=error_work.tags
|
166
167
|
)
|
167
168
|
|
168
169
|
app = Application().connect(
|
@@ -544,9 +545,10 @@ async def entrada_de_notas_34(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
544
545
|
if erro_pop_up["IsOpened"] == True:
|
545
546
|
error_work = await error_after_xml_imported()
|
546
547
|
return RpaRetornoProcessoDTO(
|
547
|
-
sucesso=
|
548
|
+
sucesso=error_work.sucesso,
|
548
549
|
retorno=error_work.retorno,
|
549
|
-
|
550
|
+
status=error_work.status,
|
551
|
+
tags=error_work.tags
|
550
552
|
)
|
551
553
|
|
552
554
|
try:
|
@@ -309,10 +309,10 @@ async def entrada_de_notas_36(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
309
309
|
if erro_pop_up["IsOpened"] == True:
|
310
310
|
error_work = await error_after_xml_imported()
|
311
311
|
return RpaRetornoProcessoDTO(
|
312
|
-
sucesso=
|
312
|
+
sucesso=error_work.sucesso,
|
313
313
|
retorno=error_work.retorno,
|
314
|
-
status=
|
315
|
-
tags=
|
314
|
+
status=error_work.status,
|
315
|
+
tags=error_work.tags
|
316
316
|
)
|
317
317
|
|
318
318
|
# # Trabalhando com o NOP Nota
|
@@ -519,6 +519,7 @@ async def entrada_de_notas_36(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
519
519
|
sucesso=error_work.sucesso,
|
520
520
|
retorno=error_work.retorno,
|
521
521
|
status=error_work.status,
|
522
|
+
tags=error_work.tags
|
522
523
|
)
|
523
524
|
|
524
525
|
await worker_sleep(3)
|
@@ -483,10 +483,10 @@ async def entrada_de_notas_39(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
483
483
|
if erro_pop_up["IsOpened"] == True:
|
484
484
|
error_work = await error_after_xml_imported()
|
485
485
|
return RpaRetornoProcessoDTO(
|
486
|
-
sucesso=
|
486
|
+
sucesso=error_work.sucesso,
|
487
487
|
retorno=error_work.retorno,
|
488
|
-
status=
|
489
|
-
tags=
|
488
|
+
status=error_work.status,
|
489
|
+
tags=error_work.tags
|
490
490
|
)
|
491
491
|
|
492
492
|
# Seleciona pagamento
|
@@ -759,10 +759,10 @@ async def entrada_de_notas_39(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
759
759
|
if erro_pop_up["IsOpened"] == True:
|
760
760
|
error_work = await error_after_xml_imported()
|
761
761
|
return RpaRetornoProcessoDTO(
|
762
|
-
sucesso=
|
762
|
+
sucesso=error_work.sucesso,
|
763
763
|
retorno=error_work.retorno,
|
764
|
-
status=
|
765
|
-
tags=
|
764
|
+
status=error_work.status,
|
765
|
+
tags=error_work.tags
|
766
766
|
)
|
767
767
|
|
768
768
|
max_attempts = 50
|
@@ -445,10 +445,10 @@ async def entrada_de_notas_500(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
|
|
445
445
|
if erro_pop_up["IsOpened"] == True:
|
446
446
|
error_work = await error_after_xml_imported()
|
447
447
|
return RpaRetornoProcessoDTO(
|
448
|
-
sucesso=
|
448
|
+
sucesso=error_work.sucesso,
|
449
449
|
retorno=error_work.retorno,
|
450
|
-
status=
|
451
|
-
tags=
|
450
|
+
status=error_work.status,
|
451
|
+
tags=error_work.tags
|
452
452
|
)
|
453
453
|
|
454
454
|
# # Trabalhando com o NOP Nota
|
@@ -349,7 +349,7 @@ async def entrada_de_notas_505(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
|
|
349
349
|
sucesso=error_work.sucesso,
|
350
350
|
retorno=error_work.retorno,
|
351
351
|
status=error_work.status,
|
352
|
-
tags=
|
352
|
+
tags=error_work.tags
|
353
353
|
)
|
354
354
|
|
355
355
|
nf_imported = await check_nota_importada(nota.get("nfe"))
|
@@ -380,6 +380,7 @@ async def entrada_de_notas_505(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
|
|
380
380
|
sucesso=error_work.sucesso,
|
381
381
|
retorno=error_work.retorno,
|
382
382
|
status=error_work.status,
|
383
|
+
tags=error_work.tags
|
383
384
|
)
|
384
385
|
|
385
386
|
except Exception as ex:
|
@@ -2421,8 +2421,9 @@ async def error_after_xml_imported() -> RpaRetornoProcessoDTO:
|
|
2421
2421
|
else:
|
2422
2422
|
return RpaRetornoProcessoDTO(
|
2423
2423
|
sucesso=False,
|
2424
|
-
retorno=f"Erro do banco de dados: {control_text}
|
2425
|
-
status=RpaHistoricoStatusEnum.Falha,
|
2424
|
+
retorno=f"Erro do banco de dados: {control_text}",
|
2425
|
+
status=RpaHistoricoStatusEnum.Falha,
|
2426
|
+
tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
|
2426
2427
|
)
|
2427
2428
|
|
2428
2429
|
elif "XML já foi importado anteriormente" in control_text:
|
@@ -2642,7 +2643,7 @@ async def itens_not_found_supplier(xml: str) -> RpaRetornoProcessoDTO:
|
|
2642
2643
|
sucesso=False,
|
2643
2644
|
retorno=f"Itens nao localizados p/ fornecedor. Mensagem: {conteudo}",
|
2644
2645
|
status=RpaHistoricoStatusEnum.Falha,
|
2645
|
-
tags=[RpaTagDTO(descricao=RpaTagEnum.
|
2646
|
+
tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
|
2646
2647
|
)
|
2647
2648
|
else:
|
2648
2649
|
return RpaRetornoProcessoDTO(
|
@@ -44,17 +44,17 @@ worker_automate_hub/tasks/jobs/ecac_estadual_mt.py,sha256=C26zmpGQGUq6sP9lU9nanM
|
|
44
44
|
worker_automate_hub/tasks/jobs/ecac_estadual_sc.py,sha256=fZD67poalpANlbJoMgnAvO-APp84oicvXEFnbeyulEk,13851
|
45
45
|
worker_automate_hub/tasks/jobs/ecac_estadual_sp.py,sha256=AqSsn0SlK_nok4AhMCNUlApQ-LwHYNXeUwOrMLyWmNU,29418
|
46
46
|
worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=VFOrbMuMHL3ac1sJ-z-N1p1WYtP-e-JJHbvUfgmfgNw,55748
|
47
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=
|
48
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=
|
49
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=
|
50
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=
|
51
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=
|
52
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=
|
53
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=
|
54
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=
|
55
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=
|
56
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=
|
57
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=
|
47
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=VtH8ynIzplaAEPZIyRb3dypOZlSNCeXrL6cM1UJhGcw,16844
|
48
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=qZrIfyElj91JIKI6_wcMji2m0m4OIh6iPqlbq80TMQA,22127
|
49
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=pZfHjjghpG1vwysPo9vJAQORZp_LOQz9Jrreq9uiym4,25640
|
50
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=c3_70gNioTJQ2PUXhcEHoIIRKmlNeKfW4ayFfkNddhE,34070
|
51
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=NQO0LFdw_EomNd-go3_U8IhN517pyh2VlZdEzhXGFGw,32922
|
52
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=MZNrG5KArW43lM_aPHy9EMcT5mzwx_Idyo39Y_lXG8U,32684
|
53
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=sFe3aYh6MrpK18aJdddsOG8QmJthbra9EhwLA_jvyWg,23194
|
54
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=jmglZJjOhY3m0_JQIcmGATFknJHouGkXYXfN1o8EtI0,35903
|
55
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=h1AQxm1sI8xQqB4rpNLvmLxtOQ2BovQcjtn7o8i0N74,33966
|
56
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=7VR9udGS7NCBE9WEJA9_vpL5sTM7TFEMcCjEumBdokQ,15681
|
57
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=iXbkjdg02r3tdt3eH8jJPJxq43i1LDaNhoS7qOQgkoo,15965
|
58
58
|
worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=vUj25yHxkCNhpyOU5Vk81gsYcTTH1TJ3yn-b8N00JfQ,52857
|
59
59
|
worker_automate_hub/tasks/jobs/exemplo_processo.py,sha256=nV0iLoip2FH2-FhLmhX3nPqsfl_MPufZ3E5Q5krJvdc,3544
|
60
60
|
worker_automate_hub/tasks/jobs/fechar_conexao_rdp.py,sha256=8GVImU7EnncCSxbbuEC4-EBE8oGTk6CJ-HFNqJ5OiMs,5564
|
@@ -73,10 +73,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
|
|
73
73
|
worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
|
74
74
|
worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
|
75
75
|
worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
|
76
|
-
worker_automate_hub/utils/util.py,sha256=
|
76
|
+
worker_automate_hub/utils/util.py,sha256=rdVHmKPxu61PO2rHKfBz2Tn6aK73MXdZ9pE1fZVwQag,155604
|
77
77
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=iYpOs7fb7C3bY61QHySr00xlDNzrrCP0zaexOpBPuaQ,31930
|
78
78
|
worker_automate_hub/worker.py,sha256=CT-poyP1ZYvubArYsnnNd9oJ53SPaDwgr6p6keS3nI4,6248
|
79
|
-
worker_automate_hub-0.5.
|
80
|
-
worker_automate_hub-0.5.
|
81
|
-
worker_automate_hub-0.5.
|
82
|
-
worker_automate_hub-0.5.
|
79
|
+
worker_automate_hub-0.5.52.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
80
|
+
worker_automate_hub-0.5.52.dist-info/METADATA,sha256=aOtr4WesBRC7X4d8jJLFXFYBsx8-uL9UoyMp-HSDn0g,2894
|
81
|
+
worker_automate_hub-0.5.52.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
|
82
|
+
worker_automate_hub-0.5.52.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.51.dist-info → worker_automate_hub-0.5.52.dist-info}/entry_points.txt
RENAMED
File without changes
|