worker-automate-hub 0.5.731__py3-none-any.whl → 0.5.733__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.
@@ -928,7 +928,11 @@ async def descartes(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoDTO:
928
928
 
929
929
  # Transmitir a nota
930
930
  console.print("Transmitindo a nota...\n", style="bold green")
931
- pyautogui.click(875, 596)
931
+ if retry_count == 0:
932
+ pyautogui.click(875, 596)
933
+ else:
934
+ pyautogui.click(581, 747)
935
+
932
936
  logger.info("\nNota Transmitida")
933
937
  console.print("\nNota Transmitida", style="bold green")
934
938
 
@@ -54,7 +54,14 @@ async def check_and_execute_tasks(stop_event: threading.Event):
54
54
  if task is not None:
55
55
  processo_existe = await is_uuid_in_tasks(task.uuidProcesso)
56
56
  if processo_existe:
57
- await burn_queue(task.uuidFila)
57
+ i = 0
58
+ while i < 5:
59
+ try:
60
+ await burn_queue(task.uuidFila)
61
+ break
62
+ except:
63
+ i += 1
64
+ pass
58
65
  logger.info(f"Executando a task: {task.nomProcesso}")
59
66
  await perform_task(task)
60
67
  else:
@@ -75,7 +82,14 @@ async def check_and_execute_tasks(stop_event: threading.Event):
75
82
  ),
76
83
  )
77
84
  # Libera o registro da fila e informa o chat
78
- await burn_queue(task.uuidFila)
85
+ i = 0
86
+ while i < 5:
87
+ try:
88
+ await burn_queue(task.uuidFila)
89
+ break
90
+ except:
91
+ i += 1
92
+ pass
79
93
  await send_gchat_message(log_message)
80
94
  except Exception as e:
81
95
  console.print(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.731
3
+ Version: 0.5.733
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
@@ -41,7 +41,7 @@ worker_automate_hub/tasks/jobs/coleta_dje_process.py,sha256=UkLWTC5Ub2qBb0yY-8IZ
41
41
  worker_automate_hub/tasks/jobs/conexao_rdp.py,sha256=S6QC4xhuo0pB5FjaUJZNMm1LIgEjpjifReCTBDqxH-U,11719
42
42
  worker_automate_hub/tasks/jobs/cte_manual.py,sha256=JucHpRMjMiy-QEJ0wtFnytLpN53tKXgCDI05nGLGclU,603
43
43
  worker_automate_hub/tasks/jobs/cte_xml.py,sha256=m4BkJDgp95Vr3oqEh6wXeeb31qzZhRF2Sw0h_wsoL_k,15565
44
- worker_automate_hub/tasks/jobs/descartes.py,sha256=iHmFIFBYEgvoI648nntCrvT_LyoJZ_zFTyS6lJLsnPE,44486
44
+ worker_automate_hub/tasks/jobs/descartes.py,sha256=tgyX-lt0779RLg-7aL44i9TfU_cNLHwCL-FnO7LeAXc,44608
45
45
  worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=7tdUihaDqjIf7POjM79EqKG0w-qqXbhC6jq6hteavkw,250822
46
46
  worker_automate_hub/tasks/jobs/devolucao_ctf_35.py,sha256=e9t5k2mtZcUcEGKPWysbWzsH_gqrK-6aBXjWe2jWfTg,253948
47
47
  worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=kzPJazDRbz2CLn8tKja2Lg1N4UzTRF1V4Nc1elIqTGY,272145
@@ -97,8 +97,8 @@ worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg
97
97
  worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
98
98
  worker_automate_hub/utils/util.py,sha256=C5sEoG8x7H5zaUM_bqSvVrdxWonSJcfBF_kU9kn7PA0,207508
99
99
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=qS_REFGudeZhoOkamUst8WzW1XyMGws5GehrMr5XZTM,38085
100
- worker_automate_hub/worker.py,sha256=4s67gspi7Bdj862zYXq99vQgXVE9CSyyU9Nzd0DqgzU,6580
101
- worker_automate_hub-0.5.731.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.731.dist-info/METADATA,sha256=-L99qoJpVTvg3DOlIVCKknn3-5Zdn0Y1ZlVAolNzqbo,3049
103
- worker_automate_hub-0.5.731.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.731.dist-info/RECORD,,
100
+ worker_automate_hub/worker.py,sha256=VWGH6kYq1s6UplQ343C-i6vD1Tum7I9BvlGpBERlxsg,7082
101
+ worker_automate_hub-0.5.733.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.733.dist-info/METADATA,sha256=xOgYe5ZwG7VPyl8AS_rzYhQjGCEv3P5ktB6sGbMmxPs,3049
103
+ worker_automate_hub-0.5.733.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.733.dist-info/RECORD,,