uipath 2.0.56__tar.gz → 2.0.58__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.0.58/.github/workflows/cd.yml +87 -0
- {uipath-2.0.56 → uipath-2.0.58}/.github/workflows/ci.yml +4 -5
- {uipath-2.0.56 → uipath-2.0.58}/.github/workflows/commitlint.yml +6 -2
- uipath-2.0.58/.github/workflows/lint.yml +38 -0
- {uipath-2.0.56 → uipath-2.0.58}/.github/workflows/publish-dev.yml +14 -9
- {uipath-2.0.56 → uipath-2.0.58}/.github/workflows/publish-docs.yml +19 -10
- uipath-2.0.58/.github/workflows/test.yml +37 -0
- {uipath-2.0.56 → uipath-2.0.58}/PKG-INFO +1 -1
- uipath-2.0.58/docs/core/attachments.md +1 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/traced.md +1 -1
- {uipath-2.0.56 → uipath-2.0.58}/pyproject.toml +1 -1
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/attachments_service.py +236 -96
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/buckets_service.py +55 -145
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/context_grounding_service.py +9 -6
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/folder_service.py +21 -15
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/jobs_service.py +293 -58
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_utils/constants.py +3 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/telemetry/_constants.py +1 -1
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/tracing/_utils.py +6 -5
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_attachments_service.py +379 -21
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_buckets_service.py +1 -1
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_folder_service.py +82 -3
- uipath-2.0.58/tests/sdk/services/test_jobs_service.py +931 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/tracing/test_span_utils.py +1 -0
- {uipath-2.0.56 → uipath-2.0.58}/uv.lock +1 -1
- uipath-2.0.56/.github/workflows/build.yml +0 -58
- uipath-2.0.56/.github/workflows/cd.yml +0 -16
- uipath-2.0.56/.github/workflows/lint.yml +0 -36
- uipath-2.0.56/.github/workflows/test.yml +0 -42
- uipath-2.0.56/docs/core/attachments.md +0 -86
- uipath-2.0.56/tests/sdk/services/test_jobs_service.py +0 -475
- {uipath-2.0.56 → uipath-2.0.58}/.cursorrules +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/.editorconfig +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/.gitattributes +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/.github/workflows/slack.yml +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/.gitignore +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/.pre-commit-config.yaml +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/.python-version +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/.vscode/extensions.json +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/.vscode/settings.json +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/CONTRIBUTING.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/LICENSE +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/README.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/CONTRIBUTING.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/FAQ.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/assets/env-preparation-failed-dark.png +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/assets/env-preparation-failed-light.png +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/assets/favicon.png +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/assets/logo-dark.svg +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/assets/logo-light.svg +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/cli/index.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/actions.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/assets/cloud_env_var_dark.gif +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/assets/cloud_env_var_light.gif +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/assets/cloud_env_var_secret_dark.png +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/assets/cloud_env_var_secret_light.png +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/assets/copy_path_dark.png +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/assets/copy_path_light.png +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/assets.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/buckets.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/connections.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/context_grounding.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/environment_variables.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/getting_started.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/jobs.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/processes.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/core/queues.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/hooks.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/javascripts/extra.js +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/langchain/chat_models.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/langchain/context_grounding.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/langchain/human_in_the_loop.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/overrides/partials/actions.html +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/overrides/partials/logo.html +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/release_policy.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/docs/stylesheets/extra.css +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/justfile +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/mkdocs.yml +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/py.typed +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/__init__.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/README.md +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/__init__.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_auth/_auth_server.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_auth/_models.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_auth/_oidc_utils.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_auth/_portal_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_auth/_utils.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_auth/auth_config.json +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_auth/index.html +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_auth/localhost.crt +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_auth/localhost.key +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_runtime/_contracts.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_runtime/_logging.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_runtime/_runtime.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_templates/.psmdcp.template +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_templates/.rels.template +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_templates/[Content_Types].xml.template +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_templates/main.py.template +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_templates/package.nuspec.template +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_utils/_common.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_utils/_console.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_utils/_folders.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_utils/_input_args.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_utils/_parse_ast.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/_utils/_processes.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/cli_auth.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/cli_deploy.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/cli_init.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/cli_invoke.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/cli_new.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/cli_pack.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/cli_publish.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/cli_run.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/middlewares.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_cli/spinner.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_config.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_execution_context.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_folder_context.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/__init__.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/_base_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/actions_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/api_client.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/assets_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/connections_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/llm_gateway_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/processes_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_services/queues_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_uipath.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_utils/__init__.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_utils/_endpoint.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_utils/_infer_bindings.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_utils/_logs.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_utils/_read_overwrites.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_utils/_request_override.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_utils/_request_spec.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_utils/_url.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/_utils/_user_agent.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/__init__.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/action_schema.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/actions.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/assets.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/attachment.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/buckets.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/connections.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/context_grounding.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/context_grounding_index.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/errors.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/exceptions.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/interrupt_models.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/job.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/llm_gateway.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/processes.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/models/queues.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/py.typed +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/telemetry/__init__.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/telemetry/_track.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/tracing/__init__.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/tracing/_otel_exporters.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/src/uipath/tracing/_traced.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/__init__.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/conftest.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/mocks/pyproject.toml +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/mocks/simple_script.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/mocks/uipath-mock.json +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/mocks/uipath-simple-script-mock.json +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/test_init.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/test_invoke.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/test_new.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/test_pack.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/test_publish.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/test_run.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/utils/project_details.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/cli/utils/uipath_json.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/conftest.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/conftest.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_actions_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_api_client.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_assets_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_base_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_connections_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_context_grounding_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_llm_integration.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_llm_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_processes_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_queues_service.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/services/test_uipath_llm_integration.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/test_config.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/sdk/test_overwrites.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/tracing/test_otel_exporters.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/tracing/test_traced.py +0 -0
- {uipath-2.0.56 → uipath-2.0.58}/tests/tracing/test_tracing_manager.py +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
name: CD
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
paths:
|
|
9
|
+
- pyproject.toml
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
lint:
|
|
13
|
+
uses: ./.github/workflows/lint.yml
|
|
14
|
+
|
|
15
|
+
test:
|
|
16
|
+
uses: ./.github/workflows/test.yml
|
|
17
|
+
|
|
18
|
+
build:
|
|
19
|
+
name: Build
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
|
|
22
|
+
needs:
|
|
23
|
+
- lint
|
|
24
|
+
- test
|
|
25
|
+
|
|
26
|
+
if: ${{ github.repository == 'UiPath/uipath-python' }}
|
|
27
|
+
permissions:
|
|
28
|
+
contents: read
|
|
29
|
+
actions: write
|
|
30
|
+
|
|
31
|
+
steps:
|
|
32
|
+
- name: Checkout
|
|
33
|
+
uses: actions/checkout@v4
|
|
34
|
+
|
|
35
|
+
- name: Setup uv
|
|
36
|
+
uses: astral-sh/setup-uv@v5
|
|
37
|
+
with:
|
|
38
|
+
enable-cache: true
|
|
39
|
+
|
|
40
|
+
- name: Setup Python
|
|
41
|
+
uses: actions/setup-python@v5
|
|
42
|
+
with:
|
|
43
|
+
python-version-file: ".python-version"
|
|
44
|
+
|
|
45
|
+
- name: Install dependencies
|
|
46
|
+
run: uv sync --all-extras
|
|
47
|
+
|
|
48
|
+
- name: Replace connection string placeholder
|
|
49
|
+
run: |
|
|
50
|
+
originalfile="src/uipath/telemetry/_constants.py"
|
|
51
|
+
tmpfile=$(mktemp)
|
|
52
|
+
trap 'rm -f "$tmpfile"' EXIT
|
|
53
|
+
|
|
54
|
+
rsync -a --no-whole-file --ignore-existing "$originalfile" "$tmpfile"
|
|
55
|
+
envsubst '$CONNECTION_STRING' < "$originalfile" > "$tmpfile" && mv "$tmpfile" "$originalfile"
|
|
56
|
+
env:
|
|
57
|
+
CONNECTION_STRING: ${{ secrets.APPINS_CONNECTION_STRING }}
|
|
58
|
+
|
|
59
|
+
- name: Build
|
|
60
|
+
run: uv build
|
|
61
|
+
|
|
62
|
+
- name: Upload artifacts
|
|
63
|
+
uses: actions/upload-artifact@v4
|
|
64
|
+
with:
|
|
65
|
+
name: release-dists
|
|
66
|
+
path: dist/
|
|
67
|
+
|
|
68
|
+
pypi-publish:
|
|
69
|
+
name: Upload release to PyPI
|
|
70
|
+
runs-on: ubuntu-latest
|
|
71
|
+
environment: pypi
|
|
72
|
+
|
|
73
|
+
needs:
|
|
74
|
+
- build
|
|
75
|
+
permissions:
|
|
76
|
+
contents: read
|
|
77
|
+
id-token: write
|
|
78
|
+
|
|
79
|
+
steps:
|
|
80
|
+
- name: Retrieve release distributions
|
|
81
|
+
uses: actions/download-artifact@v4
|
|
82
|
+
with:
|
|
83
|
+
name: release-dists
|
|
84
|
+
path: dist/
|
|
85
|
+
|
|
86
|
+
- name: Publish package distributions to PyPI
|
|
87
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -4,16 +4,15 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
6
|
- main
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
- synchronize
|
|
7
|
+
paths-ignore:
|
|
8
|
+
- pyproject.toml
|
|
9
|
+
pull_request:
|
|
11
10
|
branches:
|
|
12
11
|
- main
|
|
13
12
|
|
|
14
13
|
jobs:
|
|
15
14
|
commit-lint:
|
|
16
|
-
if: ${{ github.event_name == '
|
|
15
|
+
if: ${{ github.event_name == 'pull_request' }}
|
|
17
16
|
uses: ./.github/workflows/commitlint.yml
|
|
18
17
|
|
|
19
18
|
lint:
|
|
@@ -7,13 +7,17 @@ jobs:
|
|
|
7
7
|
commitlint:
|
|
8
8
|
name: Commit Lint
|
|
9
9
|
runs-on: ubuntu-latest
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
10
12
|
|
|
11
13
|
steps:
|
|
12
|
-
-
|
|
14
|
+
- name: Checkout
|
|
15
|
+
uses: actions/checkout@v4
|
|
13
16
|
with:
|
|
14
17
|
fetch-depth: 0
|
|
15
18
|
|
|
16
|
-
-
|
|
19
|
+
- name: Setup Node
|
|
20
|
+
uses: actions/setup-node@v3
|
|
17
21
|
with:
|
|
18
22
|
node-version: 22
|
|
19
23
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: Lint
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
lint:
|
|
8
|
+
name: Lint
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
steps:
|
|
14
|
+
- name: Checkout
|
|
15
|
+
uses: actions/checkout@v4
|
|
16
|
+
|
|
17
|
+
- name: Setup uv
|
|
18
|
+
uses: astral-sh/setup-uv@v5
|
|
19
|
+
with:
|
|
20
|
+
enable-cache: true
|
|
21
|
+
|
|
22
|
+
- name: Setup Python
|
|
23
|
+
uses: actions/setup-python@v5
|
|
24
|
+
with:
|
|
25
|
+
python-version-file: ".python-version"
|
|
26
|
+
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: uv sync --all-extras
|
|
29
|
+
|
|
30
|
+
- name: Check static types
|
|
31
|
+
run: uv run mypy --config-file pyproject.toml .
|
|
32
|
+
|
|
33
|
+
- name: Check linting
|
|
34
|
+
run: uv run ruff check .
|
|
35
|
+
|
|
36
|
+
- name: Check formatting
|
|
37
|
+
run: uv run ruff format --check .
|
|
38
|
+
|
|
@@ -7,23 +7,29 @@ on:
|
|
|
7
7
|
jobs:
|
|
8
8
|
publish-dev:
|
|
9
9
|
runs-on: ubuntu-latest
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
pull-requests: write
|
|
10
13
|
|
|
11
14
|
# Only run if PR has the build:dev label
|
|
12
15
|
if: contains(github.event.pull_request.labels.*.name, 'build:dev')
|
|
13
16
|
|
|
14
17
|
steps:
|
|
15
|
-
-
|
|
18
|
+
- name: Checkout
|
|
19
|
+
uses: actions/checkout@v4
|
|
16
20
|
|
|
17
|
-
-
|
|
21
|
+
- name: Setup uv
|
|
22
|
+
uses: astral-sh/setup-uv@v5
|
|
23
|
+
with:
|
|
24
|
+
enable-cache: true
|
|
18
25
|
|
|
19
|
-
-
|
|
26
|
+
- name: Setup Python
|
|
27
|
+
uses: actions/setup-python@v5
|
|
20
28
|
with:
|
|
21
29
|
python-version-file: ".python-version"
|
|
22
30
|
|
|
23
|
-
- name:
|
|
24
|
-
run:
|
|
25
|
-
uv venv
|
|
26
|
-
uv sync --all-extras
|
|
31
|
+
- name: Install dependencies
|
|
32
|
+
run: uv sync --all-extras
|
|
27
33
|
|
|
28
34
|
- name: Replace connection string placeholder
|
|
29
35
|
run: |
|
|
@@ -124,7 +130,6 @@ jobs:
|
|
|
124
130
|
run: uv build
|
|
125
131
|
|
|
126
132
|
- name: Publish
|
|
127
|
-
run:
|
|
128
|
-
uv publish
|
|
133
|
+
run: uv publish
|
|
129
134
|
env:
|
|
130
135
|
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
|
@@ -1,29 +1,40 @@
|
|
|
1
1
|
name: Publish Docs
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
+
workflow_dispatch:
|
|
4
5
|
push:
|
|
5
6
|
branches:
|
|
6
7
|
- main
|
|
8
|
+
paths:
|
|
9
|
+
- "docs/**"
|
|
10
|
+
- "mkdocs.yml"
|
|
11
|
+
- "pyproject.toml"
|
|
7
12
|
repository_dispatch:
|
|
8
13
|
types: [publish-docs]
|
|
9
14
|
|
|
10
15
|
jobs:
|
|
11
16
|
publish-docs:
|
|
12
17
|
runs-on: ubuntu-latest
|
|
18
|
+
if: ${{ github.repository == 'UiPath/uipath-python' }}
|
|
19
|
+
permissions:
|
|
20
|
+
contents: write
|
|
13
21
|
|
|
14
22
|
steps:
|
|
15
|
-
-
|
|
23
|
+
- name: Checkout
|
|
24
|
+
uses: actions/checkout@v4
|
|
16
25
|
|
|
17
|
-
-
|
|
26
|
+
- name: Setup uv
|
|
27
|
+
uses: astral-sh/setup-uv@v5
|
|
28
|
+
with:
|
|
29
|
+
enable-cache: true
|
|
18
30
|
|
|
19
|
-
-
|
|
31
|
+
- name: Setup Python
|
|
32
|
+
uses: actions/setup-python@v5
|
|
20
33
|
with:
|
|
21
34
|
python-version-file: ".python-version"
|
|
22
35
|
|
|
23
|
-
- name:
|
|
24
|
-
run:
|
|
25
|
-
uv venv
|
|
26
|
-
uv sync --all-extras
|
|
36
|
+
- name: Install dependencies
|
|
37
|
+
run: uv sync --all-extras
|
|
27
38
|
|
|
28
39
|
- name: Clone plugins
|
|
29
40
|
run: |
|
|
@@ -35,6 +46,4 @@ jobs:
|
|
|
35
46
|
ln -s ../../plugins/uipath-langchain-python docs/plugins/uipath-langchain-python
|
|
36
47
|
|
|
37
48
|
- name: Publish Docs
|
|
38
|
-
run:
|
|
39
|
-
ls -la docs
|
|
40
|
-
uv run mkdocs gh-deploy --force
|
|
49
|
+
run: uv run mkdocs gh-deploy --force
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
name: Test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
test:
|
|
8
|
+
name: Test
|
|
9
|
+
runs-on: ${{ matrix.os }}
|
|
10
|
+
strategy:
|
|
11
|
+
matrix:
|
|
12
|
+
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
|
13
|
+
os: [ubuntu-latest, windows-latest]
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- name: Checkout
|
|
20
|
+
uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
- name: Setup uv
|
|
23
|
+
uses: astral-sh/setup-uv@v5
|
|
24
|
+
|
|
25
|
+
- name: Setup Python
|
|
26
|
+
uses: actions/setup-python@v5
|
|
27
|
+
with:
|
|
28
|
+
python-version-file: ".python-version"
|
|
29
|
+
|
|
30
|
+
- name: Install dependencies
|
|
31
|
+
run: uv sync --all-extras
|
|
32
|
+
|
|
33
|
+
- name: Run tests
|
|
34
|
+
run: uv run pytest
|
|
35
|
+
|
|
36
|
+
continue-on-error: true
|
|
37
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.58
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
::: uipath._services.attachments_service
|
|
@@ -9,7 +9,7 @@ You can view the traces of an Orchestrator job by going to the Jobs page, click
|
|
|
9
9
|
Apply the `@traced()` decorator to any function (sync, async, generator, or async generator) to automatically record its execution as a trace span.
|
|
10
10
|
|
|
11
11
|
```python hl_lines="3 7"
|
|
12
|
-
from uipath.tracing
|
|
12
|
+
from uipath.tracing import traced
|
|
13
13
|
|
|
14
14
|
@traced()
|
|
15
15
|
def my_function(x, y):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "uipath"
|
|
3
|
-
version = "2.0.
|
|
3
|
+
version = "2.0.58"
|
|
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"
|