worker-automate-hub 0.5.792__py3-none-any.whl → 0.5.794__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.

Potentially problematic release.


This version of worker-automate-hub might be problematic. Click here for more details.

@@ -932,7 +932,7 @@ async def descartes(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoDTO:
932
932
 
933
933
  await worker_sleep(15)
934
934
 
935
- max_retries = 3
935
+ max_retries = 5
936
936
  retry_count = 0
937
937
  nf_sucesso = False
938
938
  log_msg = ''
@@ -201,7 +201,6 @@ def check_for_update(stop_event: threading.Event):
201
201
  err_msg = f"Erro ao verificar novas versões do pacote: {e}"
202
202
  console.print(f"\n{err_msg}\n", style="bold red")
203
203
  logger.error(err_msg)
204
- return
205
204
 
206
205
  def close_other_cmd_windows():
207
206
  """
@@ -5005,7 +5005,7 @@ async def get_text_display_window(dados_texto):
5005
5005
 
5006
5006
  async def wait_nf_ready():
5007
5007
  current_try = 0
5008
- max_tries = 60
5008
+ max_tries = 100
5009
5009
  while current_try < max_tries:
5010
5010
  window_closed = await wait_window_close("Aguarde...")
5011
5011
  if not window_closed:
@@ -5013,7 +5013,7 @@ async def wait_nf_ready():
5013
5013
  try:
5014
5014
  window = desktop.window(title_re="Aguarde...")
5015
5015
  if window.exists():
5016
- await worker_sleep(30)
5016
+ await worker_sleep(5)
5017
5017
  current_try += 1
5018
5018
  continue
5019
5019
  except Exception as e:
@@ -5079,7 +5079,7 @@ async def wait_nf_ready():
5079
5079
 
5080
5080
  else:
5081
5081
  current_try +=1
5082
- await worker_sleep(15)
5082
+ await worker_sleep(5)
5083
5083
  continue
5084
5084
 
5085
5085
  return {"sucesso": False, "retorno": f"Número máximo de tentativas excedido ao tentar transmitir a nota"}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: worker-automate-hub
3
- Version: 0.5.792
3
+ Version: 0.5.794
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=vPcjgYjZ8FN30M39H2gv9wFvqujIQzaGoYyTjMHkmXI,45464
44
+ worker_automate_hub/tasks/jobs/descartes.py,sha256=wIi8n4vZrNE-03C5_lr4FmxuKoWSYDKp_coAI3DLVpQ,45464
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
@@ -98,11 +98,11 @@ worker_automate_hub/utils/env.py,sha256=TacQjGRO7PUNpttrhTAc5Gnegaiysl2Knsv1P8qf
98
98
  worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1wiaMoJAGZeSy0D37sYdU,2212
99
99
  worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
100
100
  worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
101
- worker_automate_hub/utils/updater.py,sha256=OBCto6mTt42dTwUOALHg0K2sHaidTLNMRiS8wDjhINM,7988
102
- worker_automate_hub/utils/util.py,sha256=28-CLCLbkIIpffM082X4BBUlANcqdrzw2MiuW8o9D5U,210256
101
+ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
102
+ worker_automate_hub/utils/util.py,sha256=noQRUSAjRnoDb1c4iMZ5eoyrNp59a8T9K78MHhalASw,210255
103
103
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=F7jk95LpDwl5WfaQXahCA5yDdnySnWdctDqczHXwGqE,38195
104
104
  worker_automate_hub/worker.py,sha256=zEnYUrm5kY2cHbbee15QJkwkx4euD2SB2zRvUIbjS90,6850
105
- worker_automate_hub-0.5.792.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
106
- worker_automate_hub-0.5.792.dist-info/METADATA,sha256=3ZLzMxsQGlZ3oEX0Hds4YvLYWbQxNa9eni0OYtJoPNE,3100
107
- worker_automate_hub-0.5.792.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
108
- worker_automate_hub-0.5.792.dist-info/RECORD,,
105
+ worker_automate_hub-0.5.794.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
106
+ worker_automate_hub-0.5.794.dist-info/METADATA,sha256=PFyXygxtLP7SAZM-C0fOkWKh2MjP6HGlcZsMo8JLOpE,3100
107
+ worker_automate_hub-0.5.794.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
108
+ worker_automate_hub-0.5.794.dist-info/RECORD,,