Skip to content

Commit 94ee1ce

Browse files
Merge branch 'main' into feat/add-trace-manager-cleanup
2 parents fb87976 + 77f40df commit 94ee1ce

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

packages/uipath-platform/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-platform"
3-
version = "0.1.8"
3+
version = "0.1.10"
44
description = "HTTP client library for programmatic access to UiPath Platform"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

packages/uipath-platform/src/uipath/platform/common/_config.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
from functools import cached_property
33
from pathlib import Path
4+
from typing import Any
45

56
from pydantic import BaseModel
67

@@ -183,12 +184,12 @@ def reset(self) -> None:
183184
# Invalidate cached_property by removing from instance __dict__
184185
self.__dict__.pop("_internal_arguments", None)
185186

186-
def _read_internal_argument(self, key: str) -> str | None:
187+
def _read_internal_argument(self, key: str) -> Any:
187188
internal_args = self._internal_arguments
188189
return internal_args.get(key) if internal_args else None
189190

190191
@cached_property
191-
def _internal_arguments(self) -> dict[str, str] | None:
192+
def _internal_arguments(self) -> dict[str, Any] | None:
192193
import json
193194

194195
try:

packages/uipath-platform/src/uipath/platform/documents/_documents_service.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2299,6 +2299,11 @@ async def create_validate_classification_action_async(
22992299
operation_id=operation_id,
23002300
)
23012301

2302+
@resource_override(
2303+
resource_type="bucket",
2304+
resource_identifier="storage_bucket_name",
2305+
folder_identifier="action_folder",
2306+
)
23022307
@traced(name="documents_create_validate_extraction_action", run_type="uipath")
23032308
def create_validate_extraction_action(
23042309
self,
@@ -2360,6 +2365,11 @@ def create_validate_extraction_action(
23602365
operation_id=operation_id,
23612366
)
23622367

2368+
@resource_override(
2369+
resource_type="bucket",
2370+
resource_identifier="storage_bucket_name",
2371+
folder_identifier="action_folder",
2372+
)
23632373
@traced(name="documents_create_validate_extraction_action_async", run_type="uipath")
23642374
async def create_validate_extraction_action_async(
23652375
self,

packages/uipath-platform/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/uipath/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)