worker-automate-hub 0.4.383__py3-none-any.whl → 0.4.384__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,7 @@ from worker_automate_hub.utils.util import (
32
32
  is_window_open,
33
33
  is_window_open_by_class,
34
34
  itens_not_found_supplier,
35
- kill_process,
35
+ kill_all_emsys,
36
36
  login_emsys,
37
37
  read_xml_file,
38
38
  select_documento_type,
@@ -64,7 +64,7 @@ async def entrada_de_notas_207(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
64
64
  set_variable("timeout_multiplicador", multiplicador_timeout)
65
65
 
66
66
  # Fecha a instancia do emsys - caso esteja aberta
67
- await kill_process("EMSys")
67
+ await kill_all_emsys()
68
68
 
69
69
  # Download XML
70
70
  console.log("Realizando o download do XML..\n")
@@ -41,7 +41,7 @@ from worker_automate_hub.utils.util import (
41
41
  is_window_open,
42
42
  is_window_open_by_class,
43
43
  itens_not_found_supplier,
44
- kill_process,
44
+ kill_all_emsys,
45
45
  login_emsys,
46
46
  rateio_despesa,
47
47
  select_documento_type,
@@ -76,7 +76,7 @@ async def entrada_de_notas_32(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
76
76
  set_variable("timeout_multiplicador", multiplicador_timeout)
77
77
 
78
78
  # Fecha a instancia do emsys - caso esteja aberta
79
- await kill_process("EMSys")
79
+ await kill_all_emsys()
80
80
 
81
81
  # Download XML
82
82
  console.log("Realizando o download do XML..\n")
@@ -38,7 +38,7 @@ from worker_automate_hub.utils.util import (
38
38
  is_window_open,
39
39
  is_window_open_by_class,
40
40
  itens_not_found_supplier,
41
- kill_process,
41
+ kill_all_emsys,
42
42
  login_emsys,
43
43
  rateio_despesa,
44
44
  select_documento_type,
@@ -72,7 +72,7 @@ async def entrada_de_notas_33(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
72
72
  set_variable("timeout_multiplicador", multiplicador_timeout)
73
73
 
74
74
  # Fecha a instancia do emsys - caso esteja aberta
75
- await kill_process("EMSys")
75
+ await kill_all_emsys()
76
76
 
77
77
  # Download XML
78
78
  console.log("Realizando o download do XML..\n")
@@ -38,7 +38,7 @@ from worker_automate_hub.utils.util import (
38
38
  is_window_open,
39
39
  is_window_open_by_class,
40
40
  itens_not_found_supplier,
41
- kill_process,
41
+ kill_all_emsys,
42
42
  login_emsys,
43
43
  rateio_despesa,
44
44
  select_documento_type,
@@ -72,7 +72,7 @@ async def entrada_de_notas_34(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
72
72
  set_variable("timeout_multiplicador", multiplicador_timeout)
73
73
 
74
74
  # Fecha a instancia do emsys - caso esteja aberta
75
- await kill_process("EMSys")
75
+ await kill_all_emsys()
76
76
 
77
77
  # Download XML
78
78
  console.log("Realizando o download do XML..\n")
@@ -37,7 +37,7 @@ from worker_automate_hub.utils.util import (
37
37
  is_window_open,
38
38
  is_window_open_by_class,
39
39
  itens_not_found_supplier,
40
- kill_process,
40
+ kill_all_emsys,
41
41
  login_emsys,
42
42
  select_documento_type,
43
43
  carregamento_import_xml,
@@ -69,7 +69,7 @@ async def entrada_de_notas_36(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
69
69
  set_variable("timeout_multiplicador", multiplicador_timeout)
70
70
 
71
71
  # Fecha a instancia do emsys - caso esteja aberta
72
- await kill_process("EMSys")
72
+ await kill_all_emsys()
73
73
 
74
74
  # Download XML
75
75
  console.log("Realizando o download do XML..\n")
@@ -34,7 +34,7 @@ from worker_automate_hub.utils.util import (
34
34
  is_window_open,
35
35
  is_window_open_by_class,
36
36
  itens_not_found_supplier,
37
- kill_process,
37
+ kill_all_emsys,
38
38
  login_emsys,
39
39
  select_documento_type,
40
40
  select_nop_document_type,
@@ -66,7 +66,7 @@ async def entrada_de_notas_500(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
66
66
  set_variable("timeout_multiplicador", multiplicador_timeout)
67
67
 
68
68
  # Fecha a instancia do emsys - caso esteja aberta
69
- await kill_process("EMSys")
69
+ await kill_all_emsys()
70
70
 
71
71
  #Verifica se a nota ja foi lançada
72
72
  console.print("\nVerifica se a nota ja foi lançada...")
@@ -619,6 +619,3 @@ async def entrada_de_notas_500(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
619
619
  logger.error(observacao)
620
620
  console.print(observacao, style="bold red")
621
621
  return {"sucesso": False, "retorno": observacao}
622
-
623
- finally:
624
- await kill_process("EMSys")
@@ -32,7 +32,7 @@ from worker_automate_hub.utils.util import (
32
32
  is_window_open,
33
33
  is_window_open_by_class,
34
34
  itens_not_found_supplier,
35
- kill_process,
35
+ kill_all_emsys,
36
36
  login_emsys,
37
37
  select_documento_type,
38
38
  set_variable,
@@ -63,7 +63,7 @@ async def entrada_de_notas_505(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
63
63
  set_variable("timeout_multiplicador", multiplicador_timeout)
64
64
 
65
65
  # Fecha a instancia do emsys - caso esteja aberta
66
- await kill_process("EMSys")
66
+ await kill_all_emsys()
67
67
 
68
68
  # Download XML
69
69
  console.log("Realizando o download do XML..\n")
@@ -30,7 +30,7 @@ from worker_automate_hub.utils.util import (
30
30
  is_window_open,
31
31
  is_window_open_by_class,
32
32
  itens_not_found_supplier,
33
- kill_process,
33
+ kill_all_emsys,
34
34
  login_emsys,
35
35
  select_documento_type,
36
36
  set_variable,
@@ -61,7 +61,7 @@ async def entrada_de_notas_7139(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
61
61
  set_variable("timeout_multiplicador", multiplicador_timeout)
62
62
 
63
63
  # Fecha a instancia do emsys - caso esteja aberta
64
- await kill_process("EMSys")
64
+ await kill_all_emsys()
65
65
 
66
66
  # Download XML
67
67
  console.log("Realizando o download do XML..\n")
@@ -35,7 +35,7 @@ from worker_automate_hub.utils.util import (
35
35
  is_window_open,
36
36
  is_window_open_by_class,
37
37
  itens_not_found_supplier,
38
- kill_process,
38
+ kill_all_emsys,
39
39
  login_emsys,
40
40
  select_documento_type,
41
41
  set_variable,
@@ -66,7 +66,7 @@ async def entrada_de_notas_9(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoD
66
66
  set_variable("timeout_multiplicador", multiplicador_timeout)
67
67
 
68
68
  # Fecha a instancia do emsys - caso esteja aberta
69
- await kill_process("EMSys")
69
+ await kill_all_emsys()
70
70
 
71
71
  # Download XML
72
72
  console.log("Realizando o download do XML..\n")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: worker-automate-hub
3
- Version: 0.4.383
3
+ Version: 0.4.384
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
@@ -39,16 +39,16 @@ worker_automate_hub/tasks/jobs/ecac_estadual_sp.py,sha256=iS6za_nGCzBRVCXYYuUTIy
39
39
  worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=ORQbA4DCfyHJqjfvOCenc97QHvBCBlA3oMSzl59K6vg,55316
40
40
  worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=5Rqz_kf-399nEA3s1_69MGOAn6Mk0GbdAP_0EFzAcYw,16570
41
41
  worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=X6qeMEC1aH-0YKCe7aAEMmnstwhr89tkOVNnF1UBCVs,21131
42
- worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=mkAaQYDPd9QLz_LPn3AD6NjvWwr01z5NCzMIHg93cH0,24931
43
- worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=bAzQZD6EP7_eofC0GL45CLAqKwZ5N50Wzbphm3ZhoYs,32391
44
- worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=zwDQzPbqqw1RpjJkF3VSkMnqgrzjFAXLGq7xrFo5D0o,31459
45
- worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=RGYSCUwVIsdM3pRIOhezR0IKlfwfDFy_NPZO1auBXwk,31811
46
- worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=s6FVDaEer86EGM623IswqUTQEdTcusZRCrhB2vdxHf8,22719
42
+ worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=TfvGmH1__OGRx5oYordEJt-gpcETKA9OFhwHQD3yqs4,24928
43
+ worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=0cneKY6bQU5neo3TKlGynney_CoOB_J_dctFMYf26WM,32388
44
+ worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=cR1a7Q61adYuCMCRxH71mxVnORvkeBbKZ8_dsnUNQ-g,31456
45
+ worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=iaSmtWTWlazHDtGp22yTV5J5rHDhUCbEaCAnpU7UWyM,31808
46
+ worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=vFkDcgJ9uxrMMLYdeONCMxh6_evnhgF1Sun5HEHAWa4,22716
47
47
  worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=XkSEe6Y2S5Zf8Eq619dC_rPmzwKiNTRv3iYiZLokWdA,28772
48
- worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=Pls1zcdhgiU8csrtXGUq9m8rCZm2xmK45dld6N1MKdM,26598
49
- worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=G2EwCtsltWOAVg5iUg0VSp88OBJeI5U4122QfZORyp4,14493
50
- worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=Fp9hCyXqKY2o7Ijsd_tll5ZcR2KLxxlzdWeyGWnggcI,14187
51
- worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=04DzGNcuwd3-QOZ1vRXrlin5O7sF2Faa3JcIy4-Wpgw,42499
48
+ worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=ryl5AZ2617aROSVcS-N5wQIBlFQ1Bp0khUH9fP4DOzU,26542
49
+ worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=jIml8gjXPdI6_x7S9VVV8IrKZRF7_PTNOMnhNmYMDTU,14490
50
+ worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=8XP9G3n0PUeshbRWkWKOMnyUGRWspIolPZVqQTR3SMI,14184
51
+ worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=q9ORkSt9YuyKO-_xnq4kKQIqXfYTZkOUd-zSReM8Csg,42496
52
52
  worker_automate_hub/tasks/jobs/exemplo_processo.py,sha256=3-zxbb-9YHPmSA_K1Qgxp_FwSqg2QDjGBRCLxDZ8QoQ,3451
53
53
  worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py,sha256=Y-mKYcgX1kwcy_sOHvctn7clXnY3O3fohvOs7tKPMkM,9484
54
54
  worker_automate_hub/tasks/jobs/fidc_remessa_cobranca_cnab240.py,sha256=QBGm6eS5JghgNWNqZlk1g2a2iV8LnBLiOTBBL3Giet0,4181
@@ -67,7 +67,7 @@ worker_automate_hub/utils/updater.py,sha256=0LR6Xpe3HZk-xu-trH7vKRhP5FXp0nhp1qxt
67
67
  worker_automate_hub/utils/util.py,sha256=hUzQOnVYwvlrFzAv1p5Lt3s1dmW_77NZFuG77QQHKL4,119565
68
68
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=GsvN7XMWAmCFHqC0YMZsjsb0myL-7ahuzHN4jPNn0zc,27623
69
69
  worker_automate_hub/worker.py,sha256=vkl_x7gSo6nQlhSBLwRkGx6LEONnYptfBaGxOy1ZLsE,4634
70
- worker_automate_hub-0.4.383.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
71
- worker_automate_hub-0.4.383.dist-info/METADATA,sha256=f55pfW6IkZyt5wYdQhvQaGRYhGcZXxJd9aKnN9MOeRk,2895
72
- worker_automate_hub-0.4.383.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
73
- worker_automate_hub-0.4.383.dist-info/RECORD,,
70
+ worker_automate_hub-0.4.384.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
71
+ worker_automate_hub-0.4.384.dist-info/METADATA,sha256=md1JJTr3CaP0-4VSyViPLrz6uzMdJddGjSTL17lZlpA,2895
72
+ worker_automate_hub-0.4.384.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
73
+ worker_automate_hub-0.4.384.dist-info/RECORD,,