worker-automate-hub 0.5.711__py3-none-any.whl → 0.5.712__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.
@@ -2744,7 +2744,27 @@ async def itens_not_found_supplier(xml: str) -> RpaRetornoProcessoDTO:
2744
2744
  main_window = app["TMessageForm"]
2745
2745
  console.print("Janela 'TMessageForm' encontrada!")
2746
2746
  await worker_sleep(15)
2747
- break
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"
2753
+ )
2754
+ else:
2755
+ try:
2756
+ main_window = app["TMessageForm"]
2757
+ if main_window.exists():
2758
+ console.print("Janela 'TMessageForm' encontrada!")
2759
+ break
2760
+ except:
2761
+ return RpaRetornoProcessoDTO(
2762
+ sucesso=True,
2763
+ retorno="Tela de aguardar carregada - Seguindo com andamento do processo (NCM).",
2764
+ status=RpaHistoricoStatusEnum.Sucesso,
2765
+ )
2766
+
2767
+ await worker_sleep(3)
2748
2768
  except Exception as e:
2749
2769
  console.print(f"Erro ao tentar acessar TMessageForm: {e}")
2750
2770
  janela_aguarde = await is_window_open_by_class(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.711
3
+ Version: 0.5.712
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
@@ -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=FspVgiB8SQ_1lQZYoFb4K8FDerd8lhDWTqPzzY_bt1Y,206393
98
+ worker_automate_hub/utils/util.py,sha256=kEkBs8Y34gImSpznAAZ8l6TNmyNN7a8xXVmdqpOvLs4,207349
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.711.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.711.dist-info/METADATA,sha256=gkNDEkRAXJHdbAyZu70eHDRmCvCXpWclS7xs_rK_Lk8,3049
103
- worker_automate_hub-0.5.711.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.711.dist-info/RECORD,,
101
+ worker_automate_hub-0.5.712.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.712.dist-info/METADATA,sha256=QMHl8c2LpCMHxOJKS2-NFka7XEGCClYjL-PmJAezQJY,3049
103
+ worker_automate_hub-0.5.712.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.712.dist-info/RECORD,,