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

@@ -66,7 +66,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
66
66
 
67
67
  try:
68
68
  app = Application(backend="win32").connect(
69
- class_name="TFrmLoginModulo", timeout=50
69
+ class_name="TFrmLoginModulo", timeout=120
70
70
  )
71
71
  except:
72
72
  return RpaRetornoProcessoDTO(
@@ -139,7 +139,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
139
139
  await worker_sleep(1)
140
140
  # Preenchendo os campos necessarios de período e selecionando todas as empresas
141
141
  console.print(f"\Informando o período... ", style="bold green")
142
- app = Application().connect(class_name="TFrmMovtoApuraPisCofins", timeout=60)
142
+ app = Application().connect(class_name="TFrmMovtoApuraPisCofins", timeout=120)
143
143
  main_window = app["TFrmMovtoApuraPisCofins"]
144
144
  main_window.set_focus()
145
145
 
@@ -178,7 +178,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
178
178
  )
179
179
  if selecao_empresas_screen["IsOpened"] == True:
180
180
  console.print(f"Janela de Seleção de Empresas foi aberta com sucesso...")
181
- app = Application().connect(class_name="TFrmSelecionaEmpresas", timeout=60)
181
+ app = Application().connect(class_name="TFrmSelecionaEmpresas", timeout=120)
182
182
  main_window = app["TFrmSelecionaEmpresas"]
183
183
  main_window.set_focus()
184
184
  console.print(f"Clicando em seleciona todas...")
@@ -208,7 +208,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
208
208
  )
209
209
 
210
210
  console.print(f"Clicando em OK - para andamento do processo...")
211
- app = Application().connect(class_name="TFrmSelecionaEmpresas", timeout=60)
211
+ app = Application().connect(class_name="TFrmSelecionaEmpresas", timeout=120)
212
212
  main_window = app["TFrmSelecionaEmpresas"]
213
213
  main_window.set_focus()
214
214
 
@@ -218,7 +218,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
218
218
  except:
219
219
  btn_ok = main_window.child_window(title="&OK")
220
220
  btn_ok.click()
221
-
221
+
222
222
  await worker_sleep(3)
223
223
 
224
224
  try:
@@ -245,8 +245,8 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
245
245
  status=RpaHistoricoStatusEnum.Falha,
246
246
  tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)],
247
247
  )
248
-
249
- await worker_sleep(5)
248
+
249
+ await worker_sleep(10)
250
250
  # Verificar se já existe registro no mês apurado
251
251
  try:
252
252
  selecionar_todos_itens = (
@@ -258,10 +258,10 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
258
258
  )
259
259
  await worker_sleep(3)
260
260
  if localizacao:
261
- app = Application().connect(title="Informação", timeout=60)
261
+ app = Application().connect(title="Informação", timeout=120)
262
262
  main_window = app["Informação"]
263
263
  main_window.set_focus()
264
- informacao = main_window.child_window(title="OK")
264
+ informacao = main_window.child_window(title="OK")
265
265
  informacao.click()
266
266
  console.print("Clique realizado com sucesso!")
267
267
  else:
@@ -309,7 +309,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
309
309
  console.print(msg_retorno)
310
310
  pop_up_aviso.append(msg_retorno)
311
311
 
312
- app = Application().connect(title="Aviso", timeout=60)
312
+ app = Application().connect(title="Aviso", timeout=120)
313
313
  main_window = app["Aviso"]
314
314
  main_window.set_focus()
315
315
 
@@ -336,7 +336,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
336
336
  "Não possui tela de Aviso ou Pop-up de informação, seguindo com o andamento do processo... \n"
337
337
  )
338
338
  app = Application().connect(
339
- class_name="TFrmMovtoApuraPisCofins", timeout=60
339
+ class_name="TFrmMovtoApuraPisCofins", timeout=120
340
340
  )
341
341
  main_window = app["TFrmMovtoApuraPisCofins"]
342
342
  main_window.close()
@@ -384,7 +384,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
384
384
  tipos = ["Livro Entrada", "Livro Saída"]
385
385
  for tipo in tipos:
386
386
  app = Application().connect(
387
- class_name="TFrmOtimizadorCalcPisCofins", timeout=60
387
+ class_name="TFrmOtimizadorCalcPisCofins", timeout=120
388
388
  )
389
389
  main_window = app["TFrmOtimizadorCalcPisCofins"]
390
390
  main_window.set_focus()
@@ -488,7 +488,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
488
488
  print(f"Clicando em Atribuir Tributação do Item no Livro...")
489
489
  try:
490
490
  app = Application().connect(
491
- class_name="TFrmOtimizadorCalcPisCofins", timeout=60
491
+ class_name="TFrmOtimizadorCalcPisCofins", timeout=120
492
492
  )
493
493
  main_window = app["TFrmOtimizadorCalcPisCofins"]
494
494
  main_window.set_focus()
@@ -524,7 +524,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
524
524
  console.print(f"Gravando...")
525
525
  try:
526
526
  app = Application().connect(
527
- class_name="TFrmOtimizadorCalcPisCofins", timeout=20
527
+ class_name="TFrmOtimizadorCalcPisCofins", timeout=120
528
528
  )
529
529
  main_window = app["TFrmOtimizadorCalcPisCofins"]
530
530
  main_window.set_focus()
@@ -588,7 +588,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
588
588
  "Trabalho realizado na tela de Otimizador Cálculo PIS/COFINS, fechando a janela... \n"
589
589
  )
590
590
  app = Application().connect(
591
- class_name="TFrmOtimizadorCalcPisCofins", timeout=60
591
+ class_name="TFrmOtimizadorCalcPisCofins", timeout=120
592
592
  )
593
593
  main_window = app["TFrmOtimizadorCalcPisCofins"]
594
594
  main_window.close()
@@ -647,7 +647,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
647
647
  console.print("Selecionando a primeira apuração...\n")
648
648
  try:
649
649
  app = Application().connect(
650
- class_name="TFrmMovtoApuraPisCofins", timeout=60
650
+ class_name="TFrmMovtoApuraPisCofins", timeout=120
651
651
  )
652
652
  main_window = app["TFrmMovtoApuraPisCofins"]
653
653
  main_window.set_focus()
@@ -707,7 +707,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
707
707
  console.print("Gerando Crédito...\n")
708
708
  try:
709
709
  app = Application().connect(
710
- class_name="TFrmMovtoApuraPisCofins", timeout=60
710
+ class_name="TFrmMovtoApuraPisCofins", timeout=120
711
711
  )
712
712
  main_window = app["TFrmMovtoApuraPisCofins"]
713
713
  main_window.set_focus()
@@ -771,7 +771,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
771
771
  console.print("Gerando Débito...\n")
772
772
  try:
773
773
  app = Application().connect(
774
- class_name="TFrmMovtoApuraPisCofins", timeout=60
774
+ class_name="TFrmMovtoApuraPisCofins", timeout=120
775
775
  )
776
776
  main_window = app["TFrmMovtoApuraPisCofins"]
777
777
  main_window.set_focus()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.656
3
+ Version: 0.5.658
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
@@ -79,7 +79,7 @@ worker_automate_hub/tasks/jobs/geracao_aprovacao_pedidos.py,sha256=QzK2aG5d9pmFb
79
79
  worker_automate_hub/tasks/jobs/geracao_aprovacao_pedidos_novo.py,sha256=5-wn583Cm0_NJ3TcVpYcurBTRxgwW6MU8WqaYawLS2k,21345
80
80
  worker_automate_hub/tasks/jobs/integracao_contabil.py,sha256=psoIU0tjtTJq2W8aGXjXrfkAOYlIpUtHZyNolI7dp-0,16263
81
81
  worker_automate_hub/tasks/jobs/integracao_contabil_generica.py,sha256=qIuWvouE88GooP57tRHmwfFV-2PcboJaErQo1VLolf8,21520
82
- worker_automate_hub/tasks/jobs/lancamento_pis_cofins.py,sha256=H-K2-_BLTSwEzj2dubEsiL8IzYna-fuTPAyIoM3uhuE,37955
82
+ worker_automate_hub/tasks/jobs/lancamento_pis_cofins.py,sha256=fNKiTGBpgYlPdLl4Zjmsqb7MKPvdBV-KxkHx_7ZHHcQ,37945
83
83
  worker_automate_hub/tasks/jobs/lancamento_rateio.py,sha256=0cvbpuJiHl5mca5gpZudX7uQY5Rqe5xzwt6juQcMhjo,15875
84
84
  worker_automate_hub/tasks/jobs/login_emsys.py,sha256=dO9S027qRTtjOfytF6IWO-m6hDld8kZqOVAsn91l1YA,5684
85
85
  worker_automate_hub/tasks/jobs/login_emsys_versao_especifica.py,sha256=_6CFh79eaW9KdPGR6FMV01ASPjJzNzzBK1MvC_uiSOo,5625
@@ -98,7 +98,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
98
98
  worker_automate_hub/utils/util.py,sha256=GJvJdRil1DLVgZFgGg2n_WI3UKoy-xVmXF3IIefW59I,206009
99
99
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=L_z1Aps6BFWl-6_Ibm45vDid1S4kFDz5O78N2uO1Rq0,36458
100
100
  worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
101
- worker_automate_hub-0.5.656.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.656.dist-info/METADATA,sha256=vz9hOqAlAcH9dxZBXdbwj0s-sastgjb7xJnO4geYZsY,3049
103
- worker_automate_hub-0.5.656.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.656.dist-info/RECORD,,
101
+ worker_automate_hub-0.5.658.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.658.dist-info/METADATA,sha256=znyy2k22TdTt9xwLioRlRa8fBgR7YcveynlVkr0abrI,3049
103
+ worker_automate_hub-0.5.658.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.658.dist-info/RECORD,,