uipath 2.1.79__tar.gz → 2.1.81__tar.gz
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 uipath might be problematic. Click here for more details.
- {uipath-2.1.79 → uipath-2.1.81}/PKG-INFO +1 -1
- {uipath-2.1.79 → uipath-2.1.81}/pyproject.toml +1 -1
- uipath-2.1.81/samples/asset-modifier-agent/.env.example +1 -0
- uipath-2.1.81/samples/asset-modifier-agent/README.md +112 -0
- uipath-2.1.81/samples/asset-modifier-agent/input.json +4 -0
- uipath-2.1.81/samples/asset-modifier-agent/main.py +80 -0
- uipath-2.1.81/samples/asset-modifier-agent/pyproject.toml +9 -0
- uipath-2.1.81/samples/asset-modifier-agent/uv.lock +1267 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/calculator/main.py +2 -2
- uipath-2.1.81/src/uipath/_cli/_auth/_auth_service.py +144 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_auth/_models.py +0 -11
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_auth/_oidc_utils.py +30 -1
- uipath-2.1.81/src/uipath/_cli/_auth/_portal_service.py +230 -0
- uipath-2.1.81/src/uipath/_cli/_auth/_url_utils.py +85 -0
- uipath-2.1.81/src/uipath/_cli/_auth/_utils.py +28 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/_models/_output.py +17 -14
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/_runtime.py +203 -102
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_runtime/_runtime.py +3 -1
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_common.py +3 -3
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/cli_auth.py +2 -2
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/cli_eval.py +2 -2
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/__init__.py +2 -0
- uipath-2.1.79/src/uipath/_cli/_auth/_client_credentials.py → uipath-2.1.81/src/uipath/_services/external_application_service.py +49 -54
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_uipath.py +9 -15
- uipath-2.1.81/src/uipath/_utils/_auth.py +82 -0
- uipath-2.1.81/src/uipath/models/auth.py +14 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_auth.py +13 -10
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_portal_service_ensure_valid_token.py +26 -20
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_portal_service_refresh_token.py +104 -77
- uipath-2.1.81/tests/sdk/services/test_external_application_service.py +112 -0
- {uipath-2.1.79 → uipath-2.1.81}/uv.lock +897 -897
- uipath-2.1.79/src/uipath/_cli/_auth/_auth_service.py +0 -164
- uipath-2.1.79/src/uipath/_cli/_auth/_portal_service.py +0 -262
- uipath-2.1.79/src/uipath/_cli/_auth/_url_utils.py +0 -51
- uipath-2.1.79/src/uipath/_cli/_auth/_utils.py +0 -51
- {uipath-2.1.79 → uipath-2.1.81}/.cursorrules +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.editorconfig +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.gitattributes +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/labeler.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/workflows/auto-label.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/workflows/cd.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/workflows/ci.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/workflows/commitlint.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/workflows/integration_tests.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/workflows/lint.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/workflows/publish-dev.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/workflows/publish-docs.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/workflows/slack.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/workflows/test-uipath-langchain.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/workflows/test-uipath-llamaindex.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.github/workflows/test.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.gitignore +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.pre-commit-config.yaml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.python-version +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.vscode/extensions.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.vscode/launch.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/.vscode/settings.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/CONTRIBUTING.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/LICENSE +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/README.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/CONTRIBUTING.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/FAQ.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/assets/env-preparation-failed-dark.png +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/assets/env-preparation-failed-light.png +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/assets/favicon.png +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/assets/llms.txt +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/assets/logo-dark.svg +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/assets/logo-light.svg +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/cli/index.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/actions.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/assets/cloud_env_var_dark.gif +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/assets/cloud_env_var_light.gif +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/assets/cloud_env_var_secret_dark.png +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/assets/cloud_env_var_secret_light.png +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/assets/copy_path_dark.png +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/assets/copy_path_light.png +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/assets.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/attachments.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/buckets.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/connections.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/context_grounding.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/documents.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/documents_models.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/environment_variables.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/getting_started.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/jobs.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/llm_gateway.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/processes.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/queues.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/core/traced.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/hooks.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/index.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/javascripts/extra.js +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/overrides/main.html +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/overrides/partials/actions.html +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/overrides/partials/logo.html +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/release_policy.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/sample_images/google-ADK-agent/agent-output.png +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/docs/stylesheets/extra.css +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/justfile +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/mkdocs.yml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/py.typed +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/calculator/README.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/calculator/evals/eval-sets/default.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/calculator/evals/evaluators/equality.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/calculator/evals/evaluators/llm-as-a-judge.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/calculator/pyproject.toml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/event-trigger/.python-version +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/event-trigger/README.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/event-trigger/main.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/event-trigger/pyproject.toml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/google-ADK-agent/.env.example +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/google-ADK-agent/README.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/google-ADK-agent/input.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/google-ADK-agent/multi_tool_agent/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/google-ADK-agent/multi_tool_agent/agent.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/google-ADK-agent/pyproject.toml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/samples/google-ADK-agent/uv.lock +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/scripts/debug_test.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/scripts/lint_httpx_client.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/README.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_auth/_auth_server.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_auth/auth_config.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_auth/index.html +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_auth/localhost.crt +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_auth/localhost.key +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_dev/_terminal/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_dev/_terminal/_components/_chat.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_dev/_terminal/_components/_details.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_dev/_terminal/_components/_history.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_dev/_terminal/_components/_json_input.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_dev/_terminal/_components/_new.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_dev/_terminal/_models/_execution.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_dev/_terminal/_models/_messages.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_dev/_terminal/_styles/terminal.tcss +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_dev/_terminal/_utils/_chat.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_dev/_terminal/_utils/_exporter.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_dev/_terminal/_utils/_logger.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/_console_progress_reporter.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/_evaluator_factory.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/_models/_evaluation_set.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/_models/_evaluator.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/_models/_evaluator_base_params.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/_models/_exceptions.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/_models/_mocks.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/_models/_sw_reporting.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/_progress_reporter.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/mocks/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/mocks/llm_mocker.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/mocks/mocker.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/mocks/mocker_factory.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/mocks/mockito_mocker.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_evals/mocks/mocks.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_push/sw_file_handler.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_runtime/_contracts.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_runtime/_escalation.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_runtime/_hitl.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_runtime/_logging.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_runtime/_script_executor.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_templates/.psmdcp.template +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_templates/.rels.template +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_templates/[Content_Types].xml.template +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_templates/main.py.template +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_templates/package.nuspec.template +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_console.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_constants.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_debug.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_eval_set.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_folders.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_input_args.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_parse_ast.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_processes.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_project_files.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_studio_project.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_tracing.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/_utils/_uv_helpers.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/cli_deploy.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/cli_dev.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/cli_init.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/cli_invoke.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/cli_new.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/cli_pack.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/cli_publish.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/cli_pull.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/cli_push.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/cli_run.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/middlewares.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_cli/spinner.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_config.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_events/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_events/_event_bus.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_events/_events.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_execution_context.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_folder_context.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_resources/AGENTS.md +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/_base_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/actions_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/api_client.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/assets_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/attachments_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/buckets_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/connections_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/context_grounding_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/documents_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/entities_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/folder_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/jobs_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/llm_gateway_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/processes_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_services/queues_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_utils/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_utils/_endpoint.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_utils/_infer_bindings.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_utils/_logs.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_utils/_read_overwrites.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_utils/_request_override.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_utils/_request_spec.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_utils/_ssl_context.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_utils/_url.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_utils/_user_agent.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/_utils/constants.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/agent/_utils.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/agent/conversation/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/agent/conversation/async_stream.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/agent/conversation/citation.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/agent/conversation/content.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/agent/conversation/conversation.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/agent/conversation/event.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/agent/conversation/exchange.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/agent/conversation/message.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/agent/conversation/meta.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/agent/conversation/tool.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/agent/models/agent.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/_helpers/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/_helpers/helpers.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/evaluators/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/evaluators/base_evaluator.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/evaluators/deterministic_evaluator_base.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/evaluators/exact_match_evaluator.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/evaluators/json_similarity_evaluator.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/evaluators/llm_as_judge_evaluator.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/evaluators/trajectory_evaluator.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/mocks/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/mocks/mockable.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/models/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/eval/models/models.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/action_schema.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/actions.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/assets.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/attachment.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/buckets.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/connections.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/context_grounding.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/context_grounding_index.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/documents.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/entities.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/errors.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/exceptions.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/interrupt_models.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/job.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/llm_gateway.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/processes.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/models/queues.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/py.typed +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/telemetry/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/telemetry/_constants.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/telemetry/_track.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/tracing/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/tracing/_otel_exporters.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/tracing/_traced.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/tracing/_utils.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/utils/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/src/uipath/utils/_endpoints_manager.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/apicalls-testcase/main.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/apicalls-testcase/pyproject.toml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/apicalls-testcase/run.sh +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/apicalls-testcase/src/assert.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/basic-testcase/main.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/basic-testcase/pyproject.toml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/basic-testcase/run.sh +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/basic-testcase/src/assert.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/common/validate_output.sh +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/langchain-cross/agent.mermaid +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/langchain-cross/langgraph.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/langchain-cross/pyproject.toml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/langchain-cross/run.sh +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/langchain-cross/src/assert.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/langchain-cross/src/main.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/llamaindex-cross/agent.mermaid +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/llamaindex-cross/llama_index.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/llamaindex-cross/pyproject.toml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/llamaindex-cross/run.sh +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/llamaindex-cross/src/assert.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/testcases/llamaindex-cross/src/main.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/__init__.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/agent/models/test_agent.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/conftest.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/eval/mocks/test_mocks.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/evaluators/test_json_similarity_evaluator.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/mocks/bindings_script.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/mocks/pyproject.toml +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/mocks/simple_script.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/mocks/uipath-mock.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/mocks/uipath-simple-script-mock.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_hitl.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_init.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_init_agents_md.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_input_args.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_invoke.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_new.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_pack.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_publish.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_pull.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_push.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_run.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/test_utils.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/utils/common.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/utils/project_details.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/cli/utils/uipath_json.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/conftest.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/conftest.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_actions_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_api_client.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_assets_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_attachments_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_base_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_buckets_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_connections_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_context_grounding_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_documents_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_entities_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_folder_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_jobs_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_llm_integration.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_llm_schema_cleanup.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_llm_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_processes_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_queues_service.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/test_uipath_llm_integration.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/tests_data/documents_service/create_validation_action_response.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/tests_data/documents_service/extraction_response.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/services/tests_data/documents_service/validated_result.json +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/test_bindings_inference.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/test_config.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/sdk/test_overwrites.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/tracing/test_otel_exporters.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/tracing/test_span_utils.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/tracing/test_traced.py +0 -0
- {uipath-2.1.79 → uipath-2.1.81}/tests/tracing/test_tracing_manager.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.81
|
|
4
4
|
Summary: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools.
|
|
5
5
|
Project-URL: Homepage, https://uipath.com
|
|
6
6
|
Project-URL: Repository, https://github.com/UiPath/uipath-python
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "uipath"
|
|
3
|
-
version = "2.1.
|
|
3
|
+
version = "2.1.81"
|
|
4
4
|
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
|
|
5
5
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
6
6
|
requires-python = ">=3.10"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
UIPATH_CLIENT_SECRET=
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# UiPath Coded Agent: Asset Value Checker
|
|
2
|
+
|
|
3
|
+
This project demonstrates how to create a Python-based UiPath Coded Agent that connects as an External Application to UiPath Orchestrator, retrieves an asset, and validates its IntValue against custom rules.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
The agent uses the UiPath Python SDK to:
|
|
8
|
+
|
|
9
|
+
* Connect to UiPath Orchestrator as an external application
|
|
10
|
+
* Authenticate via the Client Credentials flow (Client ID + Client Secret)
|
|
11
|
+
* Retrieve a specific asset from a given folder
|
|
12
|
+
* Check whether the asset has an integer value and validate it against a range (100–1000)
|
|
13
|
+
* Return a descriptive message with the validation result
|
|
14
|
+
|
|
15
|
+
## Prerequisites
|
|
16
|
+
|
|
17
|
+
* [UV package manager](https://docs.astral.sh/uv/) installed
|
|
18
|
+
* UiPath Orchestrator access
|
|
19
|
+
* An External Application configured in UiPath with the `OR.Assets` scope
|
|
20
|
+
|
|
21
|
+
You can learn how to create and setup your own External Application from the [UiPath documentation](https://docs.uipath.com/automation-cloud/automation-cloud/latest/admin-guide/managing-external-applications).
|
|
22
|
+
|
|
23
|
+
## Setup
|
|
24
|
+
|
|
25
|
+
### Step 1: Create and Activate Virtual Environment
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
uv venv
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Activate the virtual environment:
|
|
32
|
+
- **Windows**: `.venv\Scripts\activate`
|
|
33
|
+
- **Linux/Mac**: `source .venv/bin/activate`
|
|
34
|
+
|
|
35
|
+
### Step 2: Install Dependencies
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
uv sync
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Step 3: Configure the Application
|
|
42
|
+
|
|
43
|
+
1. **Edit `main.py`** (lines 13, 16) and replace the placeholder values:
|
|
44
|
+
- `UIPATH_CLIENT_ID`: Replace `"EXTERNAL_APP_CLIENT_ID_HERE"` with your External Application's Client ID
|
|
45
|
+
- `UIPATH_URL`: Replace `"base_url"` with your Orchestrator URL (e.g., `"https://cloud.uipath.com/your_org/your_tenant"`)
|
|
46
|
+
|
|
47
|
+
2. **Set Environment Variables**
|
|
48
|
+
|
|
49
|
+
Create a `.env` file in the project directory or set the environment variable:
|
|
50
|
+
```bash
|
|
51
|
+
UIPATH_CLIENT_SECRET=your-client-secret-here
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Step 4: Initialize the Agent
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
uv run uipath init
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Step 5: Prepare Input Data
|
|
61
|
+
|
|
62
|
+
Format your `input.json` file with the following structure:
|
|
63
|
+
|
|
64
|
+
```json
|
|
65
|
+
{
|
|
66
|
+
"asset_name": "test-asset",
|
|
67
|
+
"folder_path": "TestFolder"
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Input Parameters:**
|
|
72
|
+
- `asset_name`: The name of the UiPath asset to validate
|
|
73
|
+
- `folder_path`: The folder path in Orchestrator where the asset is located
|
|
74
|
+
|
|
75
|
+
### Step 6: Run the Agent
|
|
76
|
+
|
|
77
|
+
Execute the agent locally:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
uipath run --input-file input.json
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## How It Works
|
|
84
|
+
|
|
85
|
+
When this agent runs, it will:
|
|
86
|
+
|
|
87
|
+
1. Load input values (`asset_name` and `folder_path`)
|
|
88
|
+
2. Connect to Orchestrator using Client Credentials authentication
|
|
89
|
+
3. Retrieve the specified asset from the given folder
|
|
90
|
+
4. Validate the asset's IntValue against the allowed range (100–1000)
|
|
91
|
+
5. Return a descriptive message with the validation result
|
|
92
|
+
|
|
93
|
+
**Possible Outputs:**
|
|
94
|
+
- "Asset not found." — Asset doesn't exist
|
|
95
|
+
- "Asset does not have an IntValue." — Asset exists but has no integer value
|
|
96
|
+
- "Asset '<name>' has a valid IntValue: <value>" — IntValue is within range
|
|
97
|
+
- "Asset '<name>' has an out-of-range IntValue: <value>" — IntValue is outside range
|
|
98
|
+
|
|
99
|
+
## Publish Your Coded Agent
|
|
100
|
+
|
|
101
|
+
Once tested locally, publish your agent to Orchestrator:
|
|
102
|
+
|
|
103
|
+
1. Pack the agent:
|
|
104
|
+
```bash
|
|
105
|
+
uipath pack
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
2. Publish to Orchestrator:
|
|
109
|
+
```bash
|
|
110
|
+
uipath publish
|
|
111
|
+
```
|
|
112
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import dataclasses
|
|
2
|
+
import dotenv
|
|
3
|
+
import logging
|
|
4
|
+
import os
|
|
5
|
+
|
|
6
|
+
from typing import Optional
|
|
7
|
+
from uipath import UiPath
|
|
8
|
+
from uipath.tracing import traced
|
|
9
|
+
|
|
10
|
+
dotenv.load_dotenv()
|
|
11
|
+
logger = logging.getLogger(__name__)
|
|
12
|
+
|
|
13
|
+
UIPATH_CLIENT_ID = "EXTERNAL_APP_CLIENT_ID_HERE"
|
|
14
|
+
UIPATH_CLIENT_SECRET = os.getenv("UIPATH_CLIENT_SECRET")
|
|
15
|
+
UIPATH_SCOPE = "OR.Assets"
|
|
16
|
+
UIPATH_URL = "base_url"
|
|
17
|
+
|
|
18
|
+
uipath = UiPath(
|
|
19
|
+
client_id=UIPATH_CLIENT_ID,
|
|
20
|
+
client_secret=UIPATH_CLIENT_SECRET,
|
|
21
|
+
scope=UIPATH_SCOPE,
|
|
22
|
+
base_url=UIPATH_URL
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
@dataclasses.dataclass
|
|
26
|
+
class AgentInput:
|
|
27
|
+
"""Input data structure for the UiPath agent.
|
|
28
|
+
|
|
29
|
+
Attributes:
|
|
30
|
+
asset_name (str): The name of the UiPath asset.
|
|
31
|
+
folder_path (str): The folder path where the asset is located.
|
|
32
|
+
"""
|
|
33
|
+
asset_name: str
|
|
34
|
+
folder_path: str
|
|
35
|
+
|
|
36
|
+
def get_asset(name: str, folder_path: str) -> Optional[object]:
|
|
37
|
+
"""Retrieve an asset from UiPath.
|
|
38
|
+
|
|
39
|
+
Args:
|
|
40
|
+
name (str): The asset name.
|
|
41
|
+
folder_path (str): The UiPath folder path.
|
|
42
|
+
|
|
43
|
+
Returns:
|
|
44
|
+
Optional[object]: The asset object if found, else None.
|
|
45
|
+
"""
|
|
46
|
+
return uipath.assets.retrieve(name=name, folder_path=folder_path)
|
|
47
|
+
|
|
48
|
+
def check_asset(asset: object) -> str:
|
|
49
|
+
"""Check if an asset's IntValue is within a valid range.
|
|
50
|
+
|
|
51
|
+
Args:
|
|
52
|
+
asset (object): The asset object.
|
|
53
|
+
|
|
54
|
+
Returns:
|
|
55
|
+
str: Result message depending on asset state.
|
|
56
|
+
"""
|
|
57
|
+
if asset is None:
|
|
58
|
+
return "Asset not found."
|
|
59
|
+
|
|
60
|
+
int_value = getattr(asset, "int_value", None)
|
|
61
|
+
if int_value is None:
|
|
62
|
+
return "Asset does not have an IntValue."
|
|
63
|
+
|
|
64
|
+
if 100 <= int_value <= 1000:
|
|
65
|
+
return f"Asset '{asset.name}' has a valid IntValue: {int_value}"
|
|
66
|
+
else:
|
|
67
|
+
return f"Asset '{asset.name}' has an out-of-range IntValue: {int_value}"
|
|
68
|
+
|
|
69
|
+
@traced()
|
|
70
|
+
def main(input: AgentInput) -> str:
|
|
71
|
+
"""Main entry point for the agent.
|
|
72
|
+
|
|
73
|
+
Args:
|
|
74
|
+
input (AgentInput): The input containing asset details.
|
|
75
|
+
|
|
76
|
+
Returns:
|
|
77
|
+
str: Message with the result of the asset check.
|
|
78
|
+
"""
|
|
79
|
+
asset = get_asset(input.asset_name, input.folder_path)
|
|
80
|
+
return check_asset(asset)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "asset-checker-agent"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
description = "UiPath agent to validate asset values via External Application integration with Orchestrator."
|
|
5
|
+
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
|
|
6
|
+
dependencies = [
|
|
7
|
+
"uipath>=2.1.45",
|
|
8
|
+
]
|
|
9
|
+
requires-python = ">=3.10"
|