worker-automate-hub 0.5.714__py3-none-any.whl → 0.5.717__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.
@@ -12,9 +12,10 @@ async def burn_queue(id_fila: str):
12
12
  try:
13
13
 
14
14
  headers_basic = {"Authorization": f"Basic {env_config["API_AUTHORIZATION"]}"}
15
+ timeout = aiohttp.ClientTimeout(total=600)
15
16
 
16
17
  async with aiohttp.ClientSession(
17
- connector=aiohttp.TCPConnector(verify_ssl=True)
18
+ connector=aiohttp.TCPConnector(verify_ssl=True), timeout=timeout
18
19
  ) as session:
19
20
  async with session.delete(
20
21
  f"{env_config["API_BASE_URL"]}/fila/burn-queue/{id_fila}",
@@ -2741,19 +2741,18 @@ async def itens_not_found_supplier(xml: str) -> RpaRetornoProcessoDTO:
2741
2741
 
2742
2742
  while i < max_attempts:
2743
2743
  try:
2744
- main_window = app.window(class_name="TMessageForm")
2745
- if main_window.exists(timeout=3):
2746
- console.print("Janela 'TMessageForm' encontrada!")
2747
- await worker_sleep(5)
2748
- janela_aguarde = await is_window_open_by_class(
2749
- "TFrmAguarde", "TFrmAguarde"
2744
+ main_window = app["TMessageForm"]
2745
+ console.print("Janela 'TMessageForm' encontrada!")
2746
+ await worker_sleep(15)
2747
+ janela_aguarde = await is_window_open_by_class(
2748
+ "TFrmAguarde", "TFrmAguarde"
2749
+ )
2750
+ if janela_aguarde["IsOpened"] == True:
2751
+ console.print(
2752
+ "Aguardando tela de aguarde desaparecer ou conectar...\n"
2750
2753
  )
2751
- if janela_aguarde["IsOpened"] == True:
2752
- console.print(
2753
- "Aguardando tela de aguarde desaparecer ou conectar...\n"
2754
- )
2755
- else:
2756
- break
2754
+ else:
2755
+ break
2757
2756
 
2758
2757
  await worker_sleep(3)
2759
2758
  except Exception as e:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.714
3
+ Version: 0.5.717
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
@@ -6,7 +6,7 @@ worker_automate_hub/api/datalake_service.py,sha256=qw_N_OOgDKDuPbI-fdYkWWTlT4CUt
6
6
  worker_automate_hub/api/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  worker_automate_hub/api/helpers/api_helpers.py,sha256=SkheO2fXexeh-a4shr8Qzsz_kZhuSG0DJ7kbODctRbM,3696
8
8
  worker_automate_hub/api/rdp_service.py,sha256=L7orr60FkJr6zjETtA4me8tRYCW9m1g-i5pq6AILUFo,1647
9
- worker_automate_hub/api/rpa_fila_service.py,sha256=qa9JLuX6kL9Bv_PyPE_CzIikKwy0WdOf2FrIpFdMcYI,2125
9
+ worker_automate_hub/api/rpa_fila_service.py,sha256=K6qSTsQBfUqNVi0QYAwh--KDPm0MkowXICceLGxB2EI,2196
10
10
  worker_automate_hub/api/rpa_historico_service.py,sha256=KuxcytNhlxjEe4R-LShmZGAFasLIVtpCHD5ykCmgf7E,10073
11
11
  worker_automate_hub/api/webhook_service.py,sha256=S1a8IIS5LYY16I5E2pPPczaUnUz-_CwmD9_1QBdQD2g,1879
12
12
  worker_automate_hub/cli.py,sha256=JB45pjPJ8_E-4xw0OjqDMcAw-tpDV0mjmvwJRTnTzY0,6862
@@ -95,10 +95,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
95
95
  worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
96
96
  worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
97
97
  worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
98
- worker_automate_hub/utils/util.py,sha256=NAldkrInemf4dIFT_vPhAQebjjpRvAcCVyjCm3DepLY,206905
98
+ worker_automate_hub/utils/util.py,sha256=WooEK9h7xOwg_Z2g_SEFa7iJ7MbzQUzKcJBHCheKBUs,206793
99
99
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=ERqMuyL7yf3ID5P6vHyFNh7N5LqNRduUKLY8069Oabo,37958
100
100
  worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
101
- worker_automate_hub-0.5.714.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.714.dist-info/METADATA,sha256=Hq6GC7Taa7Iuxixy81KGAlPBp6KUoigjSSQlS6O0QE4,3049
103
- worker_automate_hub-0.5.714.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.714.dist-info/RECORD,,
101
+ worker_automate_hub-0.5.717.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.717.dist-info/METADATA,sha256=4FUysZw1TtqjLiAQJMjZtG-NSPrEqTplEYdXF3DqOtc,3049
103
+ worker_automate_hub-0.5.717.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.717.dist-info/RECORD,,