uipath 2.1.125__py3-none-any.whl → 2.1.126__py3-none-any.whl
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/_cli/_auth/_auth_service.py +2 -2
- uipath/_cli/_auth/_url_utils.py +3 -6
- uipath/_cli/_utils/_common.py +0 -1
- uipath/_resources/SDK_REFERENCE.md +133 -0
- {uipath-2.1.125.dist-info → uipath-2.1.126.dist-info}/METADATA +1 -1
- {uipath-2.1.125.dist-info → uipath-2.1.126.dist-info}/RECORD +9 -9
- {uipath-2.1.125.dist-info → uipath-2.1.126.dist-info}/WHEEL +0 -0
- {uipath-2.1.125.dist-info → uipath-2.1.126.dist-info}/entry_points.txt +0 -0
- {uipath-2.1.125.dist-info → uipath-2.1.126.dist-info}/licenses/LICENSE +0 -0
|
@@ -19,7 +19,7 @@ from uipath.models.auth import TokenData
|
|
|
19
19
|
class AuthService:
|
|
20
20
|
def __init__(
|
|
21
21
|
self,
|
|
22
|
-
environment: str,
|
|
22
|
+
environment: Optional[str],
|
|
23
23
|
*,
|
|
24
24
|
force: bool,
|
|
25
25
|
client_id: Optional[str] = None,
|
|
@@ -34,7 +34,7 @@ class AuthService:
|
|
|
34
34
|
self._client_secret = client_secret
|
|
35
35
|
self._base_url = base_url
|
|
36
36
|
self._tenant = tenant
|
|
37
|
-
self._domain = resolve_domain(self._base_url, environment
|
|
37
|
+
self._domain = resolve_domain(self._base_url, environment)
|
|
38
38
|
self._scope = scope
|
|
39
39
|
|
|
40
40
|
def authenticate(self) -> None:
|
uipath/_cli/_auth/_url_utils.py
CHANGED
|
@@ -7,9 +7,7 @@ from .._utils._console import ConsoleLogger
|
|
|
7
7
|
console = ConsoleLogger()
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
def resolve_domain(
|
|
11
|
-
base_url: Optional[str], environment: Optional[str], force: bool = False
|
|
12
|
-
) -> str:
|
|
10
|
+
def resolve_domain(base_url: Optional[str], environment: Optional[str]) -> str:
|
|
13
11
|
"""Resolve the UiPath domain, giving priority to base_url when valid.
|
|
14
12
|
|
|
15
13
|
Args:
|
|
@@ -27,10 +25,9 @@ def resolve_domain(
|
|
|
27
25
|
if domain:
|
|
28
26
|
return domain
|
|
29
27
|
|
|
30
|
-
|
|
31
|
-
if not base_url or not force:
|
|
28
|
+
if environment is None:
|
|
32
29
|
uipath_url = os.getenv("UIPATH_URL")
|
|
33
|
-
if uipath_url
|
|
30
|
+
if uipath_url:
|
|
34
31
|
parsed = urlparse(uipath_url)
|
|
35
32
|
if parsed.scheme and parsed.netloc:
|
|
36
33
|
domain = f"{parsed.scheme}://{parsed.netloc}"
|
uipath/_cli/_utils/_common.py
CHANGED
|
@@ -70,6 +70,129 @@ sdk.assets.update_async(robot_asset: uipath.models.assets.UserAsset, folder_key:
|
|
|
70
70
|
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
+
### Attachments
|
|
74
|
+
|
|
75
|
+
Attachments service
|
|
76
|
+
|
|
77
|
+
```python
|
|
78
|
+
# Delete an attachment.
|
|
79
|
+
sdk.attachments.delete(key: uuid.UUID, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
|
|
80
|
+
|
|
81
|
+
# Delete an attachment asynchronously.
|
|
82
|
+
sdk.attachments.delete_async(key: uuid.UUID, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
|
|
83
|
+
|
|
84
|
+
# Download an attachment.
|
|
85
|
+
sdk.attachments.download(key: uuid.UUID, destination_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> str
|
|
86
|
+
|
|
87
|
+
# Download an attachment asynchronously.
|
|
88
|
+
sdk.attachments.download_async(key: uuid.UUID, destination_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> str
|
|
89
|
+
|
|
90
|
+
# Upload a file or content to UiPath as an attachment.
|
|
91
|
+
sdk.attachments.upload(name: str, content: Union[str, bytes, NoneType]=None, source_path: Optional[str]=None, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> uuid.UUID
|
|
92
|
+
|
|
93
|
+
# Upload a file or content to UiPath as an attachment asynchronously.
|
|
94
|
+
sdk.attachments.upload_async(name: str, content: Union[str, bytes, NoneType]=None, source_path: Optional[str]=None, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> uuid.UUID
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Buckets
|
|
99
|
+
|
|
100
|
+
Buckets service
|
|
101
|
+
|
|
102
|
+
```python
|
|
103
|
+
# Create a new bucket.
|
|
104
|
+
sdk.buckets.create(name: str, description: Optional[str]=None, identifier: Optional[str]=None, folder_path: Optional[str]=None, folder_key: Optional[str]=None) -> uipath.models.buckets.Bucket
|
|
105
|
+
|
|
106
|
+
# Async version of create().
|
|
107
|
+
sdk.buckets.create_async(name: str, description: Optional[str]=None, identifier: Optional[str]=None, folder_path: Optional[str]=None, folder_key: Optional[str]=None) -> uipath.models.buckets.Bucket
|
|
108
|
+
|
|
109
|
+
# Delete a file from a bucket.
|
|
110
|
+
sdk.buckets.delete(name: Optional[str]=None, key: Optional[str]=None, blob_file_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
|
|
111
|
+
|
|
112
|
+
# Delete a file from a bucket asynchronously.
|
|
113
|
+
sdk.buckets.delete_async(name: Optional[str]=None, key: Optional[str]=None, blob_file_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
|
|
114
|
+
|
|
115
|
+
# Download a file from a bucket.
|
|
116
|
+
sdk.buckets.download(name: Optional[str]=None, key: Optional[str]=None, blob_file_path: str, destination_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
|
|
117
|
+
|
|
118
|
+
# Download a file from a bucket asynchronously.
|
|
119
|
+
sdk.buckets.download_async(name: Optional[str]=None, key: Optional[str]=None, blob_file_path: str, destination_path: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
|
|
120
|
+
|
|
121
|
+
# Check if bucket exists.
|
|
122
|
+
sdk.buckets.exists(name: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> bool
|
|
123
|
+
|
|
124
|
+
# Async version of exists().
|
|
125
|
+
sdk.buckets.exists_async(name: str, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> bool
|
|
126
|
+
|
|
127
|
+
# Get files using OData GetFiles API (Studio-compatible).
|
|
128
|
+
sdk.buckets.get_files(name: Optional[str]=None, key: Optional[str]=None, prefix: str="", recursive: bool=False, file_name_glob: Optional[str]=None, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> typing.Iterator[uipath.models.buckets.BucketFile]
|
|
129
|
+
|
|
130
|
+
# Async version of get_files().
|
|
131
|
+
sdk.buckets.get_files_async(name: Optional[str]=None, key: Optional[str]=None, prefix: str="", recursive: bool=False, file_name_glob: Optional[str]=None, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> typing.AsyncIterator[uipath.models.buckets.BucketFile]
|
|
132
|
+
|
|
133
|
+
# List buckets with auto-pagination.
|
|
134
|
+
sdk.buckets.list(folder_path: Optional[str]=None, folder_key: Optional[str]=None, name: Optional[str]=None) -> typing.Iterator[uipath.models.buckets.Bucket]
|
|
135
|
+
|
|
136
|
+
# Async version of list() with auto-pagination.
|
|
137
|
+
sdk.buckets.list_async(folder_path: Optional[str]=None, folder_key: Optional[str]=None, name: Optional[str]=None) -> typing.AsyncIterator[uipath.models.buckets.Bucket]
|
|
138
|
+
|
|
139
|
+
# List files in a bucket.
|
|
140
|
+
sdk.buckets.list_files(name: Optional[str]=None, key: Optional[str]=None, prefix: str="", folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> typing.Iterator[uipath.models.buckets.BucketFile]
|
|
141
|
+
|
|
142
|
+
# List files in a bucket asynchronously.
|
|
143
|
+
sdk.buckets.list_files_async(name: Optional[str]=None, key: Optional[str]=None, prefix: str="", folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> typing.AsyncIterator[uipath.models.buckets.BucketFile]
|
|
144
|
+
|
|
145
|
+
# Retrieve bucket information by its name.
|
|
146
|
+
sdk.buckets.retrieve(name: Optional[str]=None, key: Optional[str]=None, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> uipath.models.buckets.Bucket
|
|
147
|
+
|
|
148
|
+
# Asynchronously retrieve bucket information by its name.
|
|
149
|
+
sdk.buckets.retrieve_async(name: Optional[str]=None, key: Optional[str]=None, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> uipath.models.buckets.Bucket
|
|
150
|
+
|
|
151
|
+
# Upload a file to a bucket.
|
|
152
|
+
sdk.buckets.upload(key: Optional[str]=None, name: Optional[str]=None, blob_file_path: str, content_type: Optional[str]=None, source_path: Optional[str]=None, content: Union[str, bytes, NoneType]=None, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
|
|
153
|
+
|
|
154
|
+
# Upload a file to a bucket asynchronously.
|
|
155
|
+
sdk.buckets.upload_async(key: Optional[str]=None, name: Optional[str]=None, blob_file_path: str, content_type: Optional[str]=None, source_path: Optional[str]=None, content: Union[str, bytes, NoneType]=None, folder_key: Optional[str]=None, folder_path: Optional[str]=None) -> None
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Connections
|
|
160
|
+
|
|
161
|
+
Connections service
|
|
162
|
+
|
|
163
|
+
```python
|
|
164
|
+
# Lists all connections with optional filtering.
|
|
165
|
+
sdk.connections.list(name: Optional[str]=None, folder_path: Optional[str]=None, folder_key: Optional[str]=None, connector_key: Optional[str]=None, skip: Optional[int]=None, top: Optional[int]=None) -> typing.List[uipath.models.connections.Connection]
|
|
166
|
+
|
|
167
|
+
# Asynchronously lists all connections with optional filtering.
|
|
168
|
+
sdk.connections.list_async(name: Optional[str]=None, folder_path: Optional[str]=None, folder_key: Optional[str]=None, connector_key: Optional[str]=None, skip: Optional[int]=None, top: Optional[int]=None) -> typing.List[uipath.models.connections.Connection]
|
|
169
|
+
|
|
170
|
+
# Synchronously retrieve connection API metadata.
|
|
171
|
+
sdk.connections.metadata(element_instance_id: int, tool_path: str, schema_mode: bool=True) -> uipath.models.connections.ConnectionMetadata
|
|
172
|
+
|
|
173
|
+
# Asynchronously retrieve connection API metadata.
|
|
174
|
+
sdk.connections.metadata_async(element_instance_id: int, tool_path: str, schema_mode: bool=True) -> uipath.models.connections.ConnectionMetadata
|
|
175
|
+
|
|
176
|
+
# Retrieve connection details by its key.
|
|
177
|
+
sdk.connections.retrieve(key: str) -> uipath.models.connections.Connection
|
|
178
|
+
|
|
179
|
+
# Asynchronously retrieve connection details by its key.
|
|
180
|
+
sdk.connections.retrieve_async(key: str) -> uipath.models.connections.Connection
|
|
181
|
+
|
|
182
|
+
# Retrieve event payload from UiPath Integration Service.
|
|
183
|
+
sdk.connections.retrieve_event_payload(event_args: uipath.models.connections.EventArguments) -> typing.Dict[str, typing.Any]
|
|
184
|
+
|
|
185
|
+
# Retrieve event payload from UiPath Integration Service.
|
|
186
|
+
sdk.connections.retrieve_event_payload_async(event_args: uipath.models.connections.EventArguments) -> typing.Dict[str, typing.Any]
|
|
187
|
+
|
|
188
|
+
# Retrieve an authentication token for a connection.
|
|
189
|
+
sdk.connections.retrieve_token(key: str, token_type: <enum 'ConnectionTokenType="direct") -> uipath.models.connections.ConnectionToken
|
|
190
|
+
|
|
191
|
+
# Asynchronously retrieve an authentication token for a connection.
|
|
192
|
+
sdk.connections.retrieve_token_async(key: str, token_type: <enum 'ConnectionTokenType="direct") -> uipath.models.connections.ConnectionToken
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
|
|
73
196
|
### Context Grounding
|
|
74
197
|
|
|
75
198
|
Context Grounding service
|
|
@@ -193,6 +316,16 @@ sdk.entities.update_records_async(entity_key: str, records: List[Any], schema: O
|
|
|
193
316
|
|
|
194
317
|
```
|
|
195
318
|
|
|
319
|
+
### Folders
|
|
320
|
+
|
|
321
|
+
Folders service
|
|
322
|
+
|
|
323
|
+
```python
|
|
324
|
+
# Retrieve the folder key by folder path with pagination support.
|
|
325
|
+
sdk.folders.retrieve_key(folder_path: str) -> typing.Optional[str]
|
|
326
|
+
|
|
327
|
+
```
|
|
328
|
+
|
|
196
329
|
### Jobs
|
|
197
330
|
|
|
198
331
|
Jobs service
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.126
|
|
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
|
|
@@ -24,11 +24,11 @@ uipath/_cli/cli_run.py,sha256=-pSuoPEfT-NzOmxLgNUtMvkYY-Lhk-dO5qv6UZkmkKU,4797
|
|
|
24
24
|
uipath/_cli/middlewares.py,sha256=tb0c4sU1SCYi0PNs956Qmk24NDk0C0mBfVQmTcyORE0,5000
|
|
25
25
|
uipath/_cli/spinner.py,sha256=bS-U_HA5yne11ejUERu7CQoXmWdabUD2bm62EfEdV8M,1107
|
|
26
26
|
uipath/_cli/_auth/_auth_server.py,sha256=v_b8KNwn0tAv8jxpeKdllOVzl31q9AcdwpE_koAK_w4,7235
|
|
27
|
-
uipath/_cli/_auth/_auth_service.py,sha256=
|
|
27
|
+
uipath/_cli/_auth/_auth_service.py,sha256=oWFfyTWBWdIFltnwZZS9iIpbBB373zljyPhb-EsjyFY,5414
|
|
28
28
|
uipath/_cli/_auth/_models.py,sha256=kWhqd5FqBo_oi3DW2x1IaJHsEloXq0I24f-pX5zb_O4,753
|
|
29
29
|
uipath/_cli/_auth/_oidc_utils.py,sha256=VEXnri7KinOdZMEPGYUf4mUZpCvSwmIL8TUBx6WhxDU,6446
|
|
30
30
|
uipath/_cli/_auth/_portal_service.py,sha256=fWnHGwd60Q_mrNEeENibqe5wv4ixp-yrG7X4XrXsXNk,8022
|
|
31
|
-
uipath/_cli/_auth/_url_utils.py,sha256
|
|
31
|
+
uipath/_cli/_auth/_url_utils.py,sha256=G_tCA5AAwSnsJakpstwv18Q1ryvx1UG0PSYwOYv5Hj8,2768
|
|
32
32
|
uipath/_cli/_auth/_utils.py,sha256=To4Ara_UF4g7nzUfKqFA11lTjhQWIZWNm4xwa5nNKmU,896
|
|
33
33
|
uipath/_cli/_auth/auth_config_25_10.json,sha256=o8J5BBFwiEtjZLHpJ_64lvnTeYeRIHaJ-Bhg0QvcUX8,521
|
|
34
34
|
uipath/_cli/_auth/auth_config_cloud.json,sha256=o8J5BBFwiEtjZLHpJ_64lvnTeYeRIHaJ-Bhg0QvcUX8,521
|
|
@@ -86,7 +86,7 @@ uipath/_cli/_templates/[Content_Types].xml.template,sha256=bYsKDz31PkIF9QksjgAY_
|
|
|
86
86
|
uipath/_cli/_templates/custom_evaluator.py.template,sha256=OuYQb8ScAOK7Qwz4FYwdETlC2NonEhLF5DXGnsYOzHg,2313
|
|
87
87
|
uipath/_cli/_templates/main.py.template,sha256=QB62qX5HKDbW4lFskxj7h9uuxBITnTWqu_DE6asCwcU,476
|
|
88
88
|
uipath/_cli/_templates/package.nuspec.template,sha256=YZyLc-u_EsmIoKf42JsLQ55OGeFmb8VkIU2VF7DFbtw,359
|
|
89
|
-
uipath/_cli/_utils/_common.py,sha256=
|
|
89
|
+
uipath/_cli/_utils/_common.py,sha256=LVI36jMFbF-6isAoyKmEDwOew-CAxZt2_kmJ-dO6NNA,4606
|
|
90
90
|
uipath/_cli/_utils/_console.py,sha256=scvnrrFoFX6CE451K-PXKV7UN0DUkInbOtDZ5jAdPP0,10070
|
|
91
91
|
uipath/_cli/_utils/_constants.py,sha256=AXeVidtHUFiODrkB2BCX_bqDL-bUzRg-Ieh1-2cCrGA,1374
|
|
92
92
|
uipath/_cli/_utils/_debug.py,sha256=zamzIR4VgbdKADAE4gbmjxDsbgF7wvdr7C5Dqp744Oc,1739
|
|
@@ -109,7 +109,7 @@ uipath/_resources/AGENTS.md,sha256=nRQNAVeEBaBvuMzXw8uXtMnGebLClUgwIMlgb8_qU9o,1
|
|
|
109
109
|
uipath/_resources/CLAUDE.md,sha256=kYsckFWTVe948z_fNWLysCHvi9_YpchBXl3s1Ek03lU,10
|
|
110
110
|
uipath/_resources/CLI_REFERENCE.md,sha256=PNVZINTXDSW4XN8QtxV3kS2WLreR7UyLfSso1_VXWBg,6758
|
|
111
111
|
uipath/_resources/REQUIRED_STRUCTURE.md,sha256=3laqGiNa3kauJ7jRI1d7w_fWKUDkqYBjcTT_6_8FAGk,1417
|
|
112
|
-
uipath/_resources/SDK_REFERENCE.md,sha256=
|
|
112
|
+
uipath/_resources/SDK_REFERENCE.md,sha256=qYsI1ap3OZ55wy7yk49YksgunEO1f2rtNSvQQynp058,27218
|
|
113
113
|
uipath/_services/__init__.py,sha256=_LNy4u--VlhVtTO66bULbCoBjyJBTuyh9jnzjWrv-h4,1140
|
|
114
114
|
uipath/_services/_base_service.py,sha256=6yGNEZ-px6lVR9l4wiMr8NDSeLrZU6nmjUlRp3lMDi8,5665
|
|
115
115
|
uipath/_services/actions_service.py,sha256=2RPMR-hFMsOlqEyjIf3aF7-lrf57jdrSD0pBjj0Kyko,16040
|
|
@@ -224,8 +224,8 @@ uipath/tracing/_utils.py,sha256=emsQRgYu-P1gj1q7XUPJD94mOa12JvhheRkuZJpLd9Y,1505
|
|
|
224
224
|
uipath/utils/__init__.py,sha256=VD-KXFpF_oWexFg6zyiWMkxl2HM4hYJMIUDZ1UEtGx0,105
|
|
225
225
|
uipath/utils/_endpoints_manager.py,sha256=tnF_FiCx8qI2XaJDQgYkMN_gl9V0VqNR1uX7iawuLp8,8230
|
|
226
226
|
uipath/utils/dynamic_schema.py,sha256=w0u_54MoeIAB-mf3GmwX1A_X8_HDrRy6p998PvX9evY,3839
|
|
227
|
-
uipath-2.1.
|
|
228
|
-
uipath-2.1.
|
|
229
|
-
uipath-2.1.
|
|
230
|
-
uipath-2.1.
|
|
231
|
-
uipath-2.1.
|
|
227
|
+
uipath-2.1.126.dist-info/METADATA,sha256=Umc-QEHEH74tS4WbseveiLgf31w4y1Iv-uRRHaKic9g,6626
|
|
228
|
+
uipath-2.1.126.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
229
|
+
uipath-2.1.126.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
|
|
230
|
+
uipath-2.1.126.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
|
|
231
|
+
uipath-2.1.126.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|