worker-automate-hub 0.5.40__tar.gz → 0.5.42__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/PKG-INFO +1 -1
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/pyproject.toml +1 -1
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/entrada_de_notas_505.py +15 -4
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/utils/util.py +1 -1
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/README.md +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/__init__.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/__init__.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/ahead_service.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/client.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/helpers/__init__.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/helpers/api_helpers.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/rdp_service.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/rpa_fila_service.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/rpa_historico_service.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/webhook_service.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/cli.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/config/__init__.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/config/settings.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/config.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/core/so_manipulation.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/decorators/__init__.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/decorators/deprecation.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/decorators/rate_limit.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/decorators/repeat.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/decorators/retry.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/decorators/singleton.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/decorators/timeit.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/__init__.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dao/__init__.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dao/rpa_configuracao.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dao/rpa_fila.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dao/rpa_historico.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dao/rpa_processo.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dao/rpa_robo.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dto/__init__.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dto/rpa_historico_request_dto.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dto/rpa_processo_entrada_dto.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dto/rpa_processo_rdp_dto.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dto/rpa_sistema_dto.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/__init__.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/__init__.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/coleta_dje_process.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/conexao_rdp.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/descartes.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/ecac_estadual_go.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/ecac_estadual_main.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/ecac_estadual_mt.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/ecac_estadual_sc.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/ecac_estadual_sp.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/ecac_federal.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/entrada_de_notas_15.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/entrada_de_notas_16.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/entrada_de_notas_207.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/entrada_de_notas_32.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/entrada_de_notas_33.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/entrada_de_notas_34.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/entrada_de_notas_36.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/entrada_de_notas_39.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/entrada_de_notas_500.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/entrada_de_notas_9.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/exemplo_processo.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/fechar_conexao_rdp.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/fidc_remessa_cobranca_cnab240.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/login_emsys.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/login_emsys_versao_especifica.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/playground.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/sped_fiscal.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/transferencias.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/task_definitions.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/task_executor.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/utils/__init__.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/utils/env.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/utils/get_creds_gworkspace.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/utils/logger.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/utils/toast.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/utils/updater.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/utils/utils_nfe_entrada.py +0 -0
- {worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/worker.py +0 -0
@@ -340,6 +340,17 @@ async def entrada_de_notas_505(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
|
|
340
340
|
await incluir_registro()
|
341
341
|
|
342
342
|
await worker_sleep(6)
|
343
|
+
|
344
|
+
# Verificando a existencia de erros
|
345
|
+
erro_pop_up = await is_window_open("Erro")
|
346
|
+
if erro_pop_up["IsOpened"] == True:
|
347
|
+
error_work = await error_after_xml_imported()
|
348
|
+
return RpaRetornoProcessoDTO(
|
349
|
+
sucesso=error_work.sucesso,
|
350
|
+
retorno=error_work.retorno,
|
351
|
+
status=error_work.status,
|
352
|
+
)
|
353
|
+
|
343
354
|
nf_imported = await check_nota_importada(nota.get("nfe"))
|
344
355
|
if nf_imported.sucesso == True:
|
345
356
|
await worker_sleep(3)
|
@@ -363,11 +374,11 @@ async def entrada_de_notas_505(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
|
|
363
374
|
)
|
364
375
|
else:
|
365
376
|
console.print("Erro ao lançar nota", style="bold red")
|
377
|
+
error_work = await error_after_xml_imported()
|
366
378
|
return RpaRetornoProcessoDTO(
|
367
|
-
sucesso=
|
368
|
-
retorno=
|
369
|
-
status=
|
370
|
-
tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
|
379
|
+
sucesso=error_work.sucesso,
|
380
|
+
retorno=error_work.retorno,
|
381
|
+
status=error_work.status,
|
371
382
|
)
|
372
383
|
|
373
384
|
except Exception as ex:
|
@@ -3375,7 +3375,7 @@ async def ultimo_dia_util_do_mes(data_atual):
|
|
3375
3375
|
|
3376
3376
|
async def e_ultimo_dia_util():
|
3377
3377
|
hoje = datetime.today()
|
3378
|
-
ultimo_dia_util = ultimo_dia_util_do_mes(hoje)
|
3378
|
+
ultimo_dia_util = await ultimo_dia_util_do_mes(hoje)
|
3379
3379
|
|
3380
3380
|
return hoje.date() == ultimo_dia_util.date()
|
3381
3381
|
|
File without changes
|
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/__init__.py
RENAMED
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/ahead_service.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/rdp_service.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/api/webhook_service.py
RENAMED
File without changes
|
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/config/__init__.py
RENAMED
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/config/settings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/decorators/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/decorators/repeat.py
RENAMED
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/decorators/retry.py
RENAMED
File without changes
|
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/decorators/timeit.py
RENAMED
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/__init__.py
RENAMED
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dao/__init__.py
RENAMED
File without changes
|
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dao/rpa_fila.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dao/rpa_robo.py
RENAMED
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/models/dto/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/__init__.py
RENAMED
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/jobs/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/tasks/task_executor.py
RENAMED
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/utils/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/utils/logger.py
RENAMED
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/utils/toast.py
RENAMED
File without changes
|
{worker_automate_hub-0.5.40 → worker_automate_hub-0.5.42}/worker_automate_hub/utils/updater.py
RENAMED
File without changes
|
File without changes
|
File without changes
|