worker-automate-hub 0.5.17__py3-none-any.whl → 0.5.19__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.
@@ -156,11 +156,8 @@ async def entrada_de_notas_36(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
156
156
  erro_pop_up = await is_window_open("Erro")
157
157
  if erro_pop_up["IsOpened"] == True:
158
158
  error_work = await error_after_xml_imported()
159
- return RpaRetornoProcessoDTO(
160
- sucesso=error_work.sucesso,
161
- retorno=error_work.retorno,
162
- status=error_work.status,
163
- )
159
+ if not error_work.sucesso:
160
+ return error_work
164
161
 
165
162
  app = Application().connect(
166
163
  title="Informações para importação da Nota Fiscal Eletrônica"
@@ -482,7 +482,7 @@ async def entrada_de_notas_39(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
482
482
  sucesso=False,
483
483
  retorno=error_work.retorno,
484
484
  status=RpaHistoricoStatusEnum.Falha,
485
- tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
485
+ tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
486
486
  )
487
487
 
488
488
  # Seleciona pagamento
@@ -758,7 +758,7 @@ async def entrada_de_notas_39(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
758
758
  sucesso=False,
759
759
  retorno=error_work.retorno,
760
760
  status=RpaHistoricoStatusEnum.Falha,
761
- tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
761
+ tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
762
762
  )
763
763
 
764
764
  max_attempts = 50
@@ -2408,7 +2408,7 @@ async def error_after_xml_imported() -> RpaRetornoProcessoDTO:
2408
2408
  return RpaRetornoProcessoDTO(
2409
2409
  sucesso=False,
2410
2410
  retorno=f"Erro do banco de dados: {control_text} \n",
2411
- status=RpaHistoricoStatusEnum.Falha, tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
2411
+ status=RpaHistoricoStatusEnum.Falha, tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
2412
2412
  )
2413
2413
 
2414
2414
  elif "XML já foi importado anteriormente" in control_text:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: worker-automate-hub
3
- Version: 0.5.17
3
+ Version: 0.5.19
4
4
  Summary: Worker Automate HUB é uma aplicação para automatizar rotinas de RPA nos ambientes Argenta.
5
5
  Author: Joel Paim
6
6
  Requires-Python: >=3.12,<4.0
@@ -48,8 +48,8 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=JJ1jtExQRXsI2Uvxkl
48
48
  worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=MZpLWZEvk1voQ-jVedmzyr-NcMDtgBxGMa0FrjK8Kzg,33989
49
49
  worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=30Kx_VlyXQmrjyVPdSKN_c6DZ8Ggueee9hz5GYX-1mo,32841
50
50
  worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=rF7zk4SVAO6Ba5EPZQ_80phNruD_b3mjxkR6VHlP2Hs,32548
51
- worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=VIaQSBOePcspbJXwg2LdR2J1LXXeUF9Sin3JsJwm1Mk,23601
52
- worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=xwGL9XISm6TA-jga3-D8pp_tla4y_vGILrXPdMSF4s0,34928
51
+ worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=eoWaIlg0BUWQEQY5L5qoK7Ye7zeeazjuTxUbmM-37O0,23485
52
+ worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=_7KzUuife5eizfNH6hE2MJK57jJp_XyQ1CE4AlpDqo8,34928
53
53
  worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=m8jau-sljkoezbu1KxLuaLmnF_wvjpM8yw6_yPrI5wc,33936
54
54
  worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=ieROuyLMQ3bUrAuriuUYcFqsEJYn08_lesEhh-o3g3U,15160
55
55
  worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=MEgy5XE7B9L3r7K44fGX4Eq8Xw0x9MKZM-1VRv-Nba0,15861
@@ -70,10 +70,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
70
70
  worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
71
71
  worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
72
72
  worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
73
- worker_automate_hub/utils/util.py,sha256=t-e0RJPkMsx0eg7ElQoO5Ehx5in4UN7CNvHCr7F1KlQ,128815
73
+ worker_automate_hub/utils/util.py,sha256=Eyy0mLLt_xd_zVXWoHAb-GK0PU1xZdWPvh-IndajxDk,128815
74
74
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=jWhLVwEovorHvQha9u6EQn5njsnz6sbMpPPreYhhIyw,29594
75
75
  worker_automate_hub/worker.py,sha256=CT-poyP1ZYvubArYsnnNd9oJ53SPaDwgr6p6keS3nI4,6248
76
- worker_automate_hub-0.5.17.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
77
- worker_automate_hub-0.5.17.dist-info/METADATA,sha256=0dMIvqz69Yul7EMgf8be9ob79SPciu8tAsL8baR60jQ,2894
78
- worker_automate_hub-0.5.17.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
79
- worker_automate_hub-0.5.17.dist-info/RECORD,,
76
+ worker_automate_hub-0.5.19.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
77
+ worker_automate_hub-0.5.19.dist-info/METADATA,sha256=9pfd_7iMOLoEb1O_jS4a8444v_iNetVnlW-mG3yVeKo,2894
78
+ worker_automate_hub-0.5.19.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
79
+ worker_automate_hub-0.5.19.dist-info/RECORD,,