worker-automate-hub 0.4.330__tar.gz → 0.4.332__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/PKG-INFO +1 -1
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/pyproject.toml +1 -1
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/util.py +16 -17
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/README.md +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/__init__.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/api/__init__.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/api/ahead_service.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/api/client.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/api/helpers/__init__.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/api/helpers/api_helpers.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/api/rpa_historico_service.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/cli.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/config/__init__.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/config/settings.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/config.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/core/so_manipulation.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/decorators/__init__.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/decorators/deprecation.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/decorators/rate_limit.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/decorators/repeat.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/decorators/retry.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/decorators/singleton.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/decorators/timeit.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/models/__init__.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/models/dao/__init__.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/models/dao/rpa_configuracao.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/models/dao/rpa_historico.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/models/dao/rpa_processo.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/models/dto/__init__.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/models/dto/rpa_historico_request_dto.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/models/dto/rpa_processo_entrada_dto.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/models/dto/rpa_sistema_dto.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/__init__.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/__init__.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/coleta_dje_process.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/conexao_rdp.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/descartes.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/ecac_estadual_go.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/ecac_estadual_main.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/ecac_estadual_mt.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/ecac_estadual_sc.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/ecac_estadual_sp.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/ecac_federal.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/entrada_de_notas_15.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/entrada_de_notas_16.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/entrada_de_notas_207.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/entrada_de_notas_32.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/entrada_de_notas_33.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/entrada_de_notas_34.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/entrada_de_notas_36.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/entrada_de_notas_39.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/entrada_de_notas_500.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/entrada_de_notas_505.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/entrada_de_notas_9.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/exemplo_processo.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/fidc_remessa_cobranca_cnab240.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/login_emsys.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/playground.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/sped_fiscal.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/jobs/transferencias.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/task_definitions.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/task_executor.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/__init__.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/env.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/get_creds_gworkspace.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/logger.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/toast.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/updater.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/utils_nfe_entrada.py +0 -0
- {worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/worker.py +0 -0
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/util.py
RENAMED
@@ -2332,29 +2332,21 @@ async def error_after_xml_imported() -> RpaRetornoProcessoDTO:
|
|
2332
2332
|
|
2333
2333
|
if "Mensagem do Banco de Dados" in control_text:
|
2334
2334
|
capturar_proxima_mensagem = True
|
2335
|
-
|
2336
|
-
elif
|
2335
|
+
|
2336
|
+
elif capturar_proxima_mensagem:
|
2337
2337
|
control_text = control_text.replace("\n", "").replace("\r","")
|
2338
2338
|
return RpaRetornoProcessoDTO(
|
2339
2339
|
sucesso=False,
|
2340
|
-
retorno=f"
|
2341
|
-
status=RpaHistoricoStatusEnum.
|
2340
|
+
retorno=f"Erro do banco de dados: {control_text} \n",
|
2341
|
+
status=RpaHistoricoStatusEnum.Falha,
|
2342
2342
|
)
|
2343
2343
|
|
2344
|
-
elif
|
2345
|
-
|
2346
|
-
return RpaRetornoProcessoDTO(
|
2344
|
+
elif "XML já foi importado anteriormente" in control_text:
|
2345
|
+
return RpaRetornoProcessoDTO(
|
2347
2346
|
sucesso=False,
|
2348
|
-
retorno=f"Nota descartada
|
2347
|
+
retorno=f"Nota descartada {control_text}... \n",
|
2349
2348
|
status=RpaHistoricoStatusEnum.Descartado,
|
2350
2349
|
)
|
2351
|
-
else:
|
2352
|
-
control_text = control_text.replace("\n", "").replace("\r","")
|
2353
|
-
return RpaRetornoProcessoDTO(
|
2354
|
-
sucesso=False,
|
2355
|
-
retorno=f"Erro do banco de dados: {control_text}",
|
2356
|
-
status=RpaHistoricoStatusEnum.Falha,
|
2357
|
-
)
|
2358
2350
|
|
2359
2351
|
else:
|
2360
2352
|
control_text = control_text.replace("\n", "").replace("\r","")
|
@@ -2378,10 +2370,17 @@ async def error_before_persist_record() -> RpaRetornoProcessoDTO:
|
|
2378
2370
|
for control in all_controls_from_error:
|
2379
2371
|
control_text = control.window_text()
|
2380
2372
|
|
2381
|
-
if
|
2373
|
+
if "que a data de entrada" in control_text:
|
2374
|
+
return RpaRetornoProcessoDTO(
|
2375
|
+
sucesso=False,
|
2376
|
+
retorno=f"Erro ao incluir registro, As datas das parcelas não podem ser menores que a data de entrada da nota: {control_text} \n",
|
2377
|
+
status=RpaHistoricoStatusEnum.Falha,
|
2378
|
+
)
|
2379
|
+
|
2380
|
+
elif capturar_proxima_mensagem:
|
2382
2381
|
return RpaRetornoProcessoDTO(
|
2383
2382
|
sucesso=False,
|
2384
|
-
retorno=f"
|
2383
|
+
retorno=f"Erro ao incluir registro: {control_text} \n",
|
2385
2384
|
status=RpaHistoricoStatusEnum.Falha,
|
2386
2385
|
)
|
2387
2386
|
except:
|
File without changes
|
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/api/__init__.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/api/ahead_service.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/api/client.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/config/__init__.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/config/settings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/decorators/repeat.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/decorators/retry.py
RENAMED
File without changes
|
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/decorators/timeit.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/models/__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
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/tasks/__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.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/__init__.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/env.py
RENAMED
File without changes
|
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/logger.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/toast.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.330 → worker_automate_hub-0.4.332}/worker_automate_hub/utils/updater.py
RENAMED
File without changes
|
File without changes
|
File without changes
|