uipath 2.0.31__py3-none-any.whl → 2.0.33__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/_portal_service.py +10 -13
- uipath/_cli/_runtime/_contracts.py +1 -1
- uipath/_cli/_runtime/_logging.py +28 -16
- uipath/_cli/cli_init.py +1 -1
- uipath/_services/actions_service.py +0 -17
- uipath/_services/assets_service.py +6 -2
- uipath/_services/queues_service.py +36 -15
- uipath/_uipath.py +13 -4
- uipath/models/__init__.py +3 -0
- uipath/models/errors.py +16 -0
- {uipath-2.0.31.dist-info → uipath-2.0.33.dist-info}/METADATA +5 -3
- {uipath-2.0.31.dist-info → uipath-2.0.33.dist-info}/RECORD +15 -14
- {uipath-2.0.31.dist-info → uipath-2.0.33.dist-info}/WHEEL +0 -0
- {uipath-2.0.31.dist-info → uipath-2.0.33.dist-info}/entry_points.txt +0 -0
- {uipath-2.0.31.dist-info → uipath-2.0.33.dist-info}/licenses/LICENSE +0 -0
|
@@ -145,19 +145,16 @@ class PortalService:
|
|
|
145
145
|
url_try_enable_first_run = f"{or_base_url}/api/StudioWeb/TryEnableFirstRun"
|
|
146
146
|
url_acquire_license = f"{or_base_url}/api/StudioWeb/AcquireLicense"
|
|
147
147
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
or acquire_license_response.status_code != 200
|
|
159
|
-
):
|
|
160
|
-
raise Exception("Failed to post auth")
|
|
148
|
+
try:
|
|
149
|
+
[try_enable_first_run_response, acquire_license_response] = [
|
|
150
|
+
requests.post(
|
|
151
|
+
url,
|
|
152
|
+
headers={"Authorization": f"Bearer {self.access_token}"},
|
|
153
|
+
)
|
|
154
|
+
for url in [url_try_enable_first_run, url_acquire_license]
|
|
155
|
+
]
|
|
156
|
+
except Exception:
|
|
157
|
+
pass
|
|
161
158
|
|
|
162
159
|
def has_initialized_auth(self):
|
|
163
160
|
try:
|
uipath/_cli/_runtime/_logging.py
CHANGED
|
@@ -51,8 +51,9 @@ class LogsInterceptor:
|
|
|
51
51
|
self.original_level = self.root_logger.level
|
|
52
52
|
self.original_handlers = list(self.root_logger.handlers)
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
self.
|
|
54
|
+
# Store system stdout/stderr
|
|
55
|
+
self.original_stdout = cast(TextIO, sys.stdout)
|
|
56
|
+
self.original_stderr = cast(TextIO, sys.stderr)
|
|
56
57
|
|
|
57
58
|
self.log_handler: Union[PersistentLogsHandler, logging.StreamHandler[TextIO]]
|
|
58
59
|
|
|
@@ -74,10 +75,6 @@ class LogsInterceptor:
|
|
|
74
75
|
self.logger = logging.getLogger("runtime")
|
|
75
76
|
self.patched_loggers: set[str] = set()
|
|
76
77
|
|
|
77
|
-
# Store system stdout/stderr
|
|
78
|
-
self.sys_stdout = cast(TextIO, sys.__stdout__)
|
|
79
|
-
self.sys_stderr = cast(TextIO, sys.__stderr__)
|
|
80
|
-
|
|
81
78
|
def _clean_all_handlers(self, logger: logging.Logger) -> None:
|
|
82
79
|
"""Remove ALL handlers from a logger except ours."""
|
|
83
80
|
handlers_to_remove = list(logger.handlers)
|
|
@@ -111,8 +108,6 @@ class LogsInterceptor:
|
|
|
111
108
|
|
|
112
109
|
def _redirect_stdout_stderr(self) -> None:
|
|
113
110
|
"""Redirect stdout and stderr to the logging system."""
|
|
114
|
-
self.original_stdout = sys.stdout
|
|
115
|
-
self.original_stderr = sys.stderr
|
|
116
111
|
|
|
117
112
|
class LoggerWriter:
|
|
118
113
|
def __init__(
|
|
@@ -129,15 +124,32 @@ class LogsInterceptor:
|
|
|
129
124
|
self.sys_file = sys_file # Store reference to system stdout/stderr
|
|
130
125
|
|
|
131
126
|
def write(self, message: str) -> None:
|
|
132
|
-
|
|
133
|
-
|
|
127
|
+
self.buffer += message
|
|
128
|
+
while "\n" in self.buffer:
|
|
129
|
+
line, self.buffer = self.buffer.split("\n", 1)
|
|
130
|
+
# Only log if the message is not empty and the level is sufficient
|
|
131
|
+
if line and self.level >= self.min_level:
|
|
132
|
+
# Use _log to avoid potential recursive logging if logging methods are overridden
|
|
133
|
+
self.logger._log(self.level, line, ())
|
|
134
134
|
|
|
135
135
|
def flush(self) -> None:
|
|
136
|
-
|
|
136
|
+
# Log any remaining content in the buffer on flush
|
|
137
|
+
if self.buffer and self.level >= self.min_level:
|
|
138
|
+
self.logger._log(self.level, self.buffer, ())
|
|
139
|
+
self.buffer = ""
|
|
137
140
|
|
|
138
141
|
def fileno(self) -> int:
|
|
139
142
|
# Return the file descriptor of the original system stdout/stderr
|
|
140
|
-
|
|
143
|
+
try:
|
|
144
|
+
return self.sys_file.fileno()
|
|
145
|
+
except Exception:
|
|
146
|
+
return -1
|
|
147
|
+
|
|
148
|
+
def isatty(self) -> bool:
|
|
149
|
+
return hasattr(self.sys_file, "isatty") and self.sys_file.isatty()
|
|
150
|
+
|
|
151
|
+
def writable(self) -> bool:
|
|
152
|
+
return True
|
|
141
153
|
|
|
142
154
|
# Set up stdout and stderr loggers with propagate=False
|
|
143
155
|
stdout_logger = logging.getLogger("stdout")
|
|
@@ -150,10 +162,10 @@ class LogsInterceptor:
|
|
|
150
162
|
|
|
151
163
|
# Use the min_level in the LoggerWriter to filter messages
|
|
152
164
|
sys.stdout = LoggerWriter(
|
|
153
|
-
stdout_logger, logging.INFO, self.numeric_min_level, self.
|
|
165
|
+
stdout_logger, logging.INFO, self.numeric_min_level, self.original_stdout
|
|
154
166
|
)
|
|
155
167
|
sys.stderr = LoggerWriter(
|
|
156
|
-
stderr_logger, logging.ERROR, self.numeric_min_level, self.
|
|
168
|
+
stderr_logger, logging.ERROR, self.numeric_min_level, self.original_stderr
|
|
157
169
|
)
|
|
158
170
|
|
|
159
171
|
def teardown(self) -> None:
|
|
@@ -174,12 +186,12 @@ class LogsInterceptor:
|
|
|
174
186
|
if handler not in self.root_logger.handlers:
|
|
175
187
|
self.root_logger.addHandler(handler)
|
|
176
188
|
|
|
189
|
+
self.log_handler.close()
|
|
190
|
+
|
|
177
191
|
if self.original_stdout and self.original_stderr:
|
|
178
192
|
sys.stdout = self.original_stdout
|
|
179
193
|
sys.stderr = self.original_stderr
|
|
180
194
|
|
|
181
|
-
self.log_handler.close()
|
|
182
|
-
|
|
183
195
|
def __enter__(self):
|
|
184
196
|
self.setup()
|
|
185
197
|
return self
|
uipath/_cli/cli_init.py
CHANGED
|
@@ -170,12 +170,6 @@ class ActionsService(FolderContext, BaseService):
|
|
|
170
170
|
"""
|
|
171
171
|
|
|
172
172
|
def __init__(self, config: Config, execution_context: ExecutionContext) -> None:
|
|
173
|
-
"""Initializes the ActionsService with configuration and execution context.
|
|
174
|
-
|
|
175
|
-
Args:
|
|
176
|
-
config: The configuration object containing API settings
|
|
177
|
-
execution_context: The execution context for the service
|
|
178
|
-
"""
|
|
179
173
|
super().__init__(config=config, execution_context=execution_context)
|
|
180
174
|
|
|
181
175
|
@traced(name="actions_create", run_type="uipath")
|
|
@@ -351,17 +345,6 @@ class ActionsService(FolderContext, BaseService):
|
|
|
351
345
|
async def _get_app_key_and_schema_async(
|
|
352
346
|
self, app_name: Optional[str], app_folder_path: Optional[str]
|
|
353
347
|
) -> Tuple[str, Optional[ActionSchema]]:
|
|
354
|
-
"""Retrieves an application's key and schema asynchronously.
|
|
355
|
-
|
|
356
|
-
Args:
|
|
357
|
-
app_name: The name of the application to retrieve
|
|
358
|
-
|
|
359
|
-
Returns:
|
|
360
|
-
Tuple[str, Optional[ActionSchema]]: A tuple containing the application key and schema
|
|
361
|
-
|
|
362
|
-
Raises:
|
|
363
|
-
Exception: If app_name is not provided
|
|
364
|
-
"""
|
|
365
348
|
if not app_name:
|
|
366
349
|
raise Exception("appName or appKey is required")
|
|
367
350
|
spec = _retrieve_app_key_spec(app_name=app_name)
|
|
@@ -188,13 +188,15 @@ class AssetsService(FolderContext, BaseService):
|
|
|
188
188
|
robot_asset, folder_key=folder_key, folder_path=folder_path
|
|
189
189
|
)
|
|
190
190
|
|
|
191
|
-
|
|
191
|
+
response = self.request(
|
|
192
192
|
spec.method,
|
|
193
193
|
url=spec.endpoint,
|
|
194
194
|
content=spec.content,
|
|
195
195
|
headers=spec.headers,
|
|
196
196
|
)
|
|
197
197
|
|
|
198
|
+
return response.json()
|
|
199
|
+
|
|
198
200
|
@traced(name="assets_update", run_type="uipath", hide_input=True, hide_output=True)
|
|
199
201
|
async def update_async(
|
|
200
202
|
self,
|
|
@@ -217,13 +219,15 @@ class AssetsService(FolderContext, BaseService):
|
|
|
217
219
|
robot_asset, folder_key=folder_key, folder_path=folder_path
|
|
218
220
|
)
|
|
219
221
|
|
|
220
|
-
|
|
222
|
+
response = await self.request_async(
|
|
221
223
|
spec.method,
|
|
222
224
|
url=spec.endpoint,
|
|
223
225
|
content=spec.content,
|
|
224
226
|
headers=spec.headers,
|
|
225
227
|
)
|
|
226
228
|
|
|
229
|
+
return response.json()
|
|
230
|
+
|
|
227
231
|
@property
|
|
228
232
|
def custom_headers(self) -> Dict[str, str]:
|
|
229
233
|
return self.folder_headers
|
|
@@ -29,7 +29,9 @@ class QueuesService(FolderContext, BaseService):
|
|
|
29
29
|
Response: HTTP response containing the list of queue items.
|
|
30
30
|
"""
|
|
31
31
|
spec = self._list_items_spec()
|
|
32
|
-
|
|
32
|
+
response = self.request(spec.method, url=spec.endpoint)
|
|
33
|
+
|
|
34
|
+
return response.json()
|
|
33
35
|
|
|
34
36
|
@traced(name="queues_list_items", run_type="uipath")
|
|
35
37
|
async def list_items_async(self) -> Response:
|
|
@@ -39,7 +41,8 @@ class QueuesService(FolderContext, BaseService):
|
|
|
39
41
|
Response: HTTP response containing the list of queue items.
|
|
40
42
|
"""
|
|
41
43
|
spec = self._list_items_spec()
|
|
42
|
-
|
|
44
|
+
response = await self.request_async(spec.method, url=spec.endpoint)
|
|
45
|
+
return response.json()
|
|
43
46
|
|
|
44
47
|
@traced(name="queues_create_item", run_type="uipath")
|
|
45
48
|
def create_item(self, item: Union[Dict[str, Any], QueueItem]) -> Response:
|
|
@@ -54,7 +57,8 @@ class QueuesService(FolderContext, BaseService):
|
|
|
54
57
|
Related Activity: [Add Queue Item](https://docs.uipath.com/ACTIVITIES/other/latest/workflow/add-queue-item)
|
|
55
58
|
"""
|
|
56
59
|
spec = self._create_item_spec(item)
|
|
57
|
-
|
|
60
|
+
response = self.request(spec.method, url=spec.endpoint, json=spec.json)
|
|
61
|
+
return response.json()
|
|
58
62
|
|
|
59
63
|
@traced(name="queues_create_item", run_type="uipath")
|
|
60
64
|
async def create_item_async(
|
|
@@ -71,7 +75,10 @@ class QueuesService(FolderContext, BaseService):
|
|
|
71
75
|
Related Activity: [Add Queue Item](https://docs.uipath.com/ACTIVITIES/other/latest/workflow/add-queue-item)
|
|
72
76
|
"""
|
|
73
77
|
spec = self._create_item_spec(item)
|
|
74
|
-
|
|
78
|
+
response = await self.request_async(
|
|
79
|
+
spec.method, url=spec.endpoint, json=spec.json
|
|
80
|
+
)
|
|
81
|
+
return response.json()
|
|
75
82
|
|
|
76
83
|
@traced(name="queues_create_items", run_type="uipath")
|
|
77
84
|
def create_items(
|
|
@@ -91,7 +98,8 @@ class QueuesService(FolderContext, BaseService):
|
|
|
91
98
|
Response: HTTP response containing the bulk operation result.
|
|
92
99
|
"""
|
|
93
100
|
spec = self._create_items_spec(items, queue_name, commit_type)
|
|
94
|
-
|
|
101
|
+
response = self.request(spec.method, url=spec.endpoint, json=spec.json)
|
|
102
|
+
return response.json()
|
|
95
103
|
|
|
96
104
|
@traced(name="queues_create_items", run_type="uipath")
|
|
97
105
|
async def create_items_async(
|
|
@@ -111,7 +119,10 @@ class QueuesService(FolderContext, BaseService):
|
|
|
111
119
|
Response: HTTP response containing the bulk operation result.
|
|
112
120
|
"""
|
|
113
121
|
spec = self._create_items_spec(items, queue_name, commit_type)
|
|
114
|
-
|
|
122
|
+
response = await self.request_async(
|
|
123
|
+
spec.method, url=spec.endpoint, json=spec.json
|
|
124
|
+
)
|
|
125
|
+
return response.json()
|
|
115
126
|
|
|
116
127
|
@traced(name="queues_create_transaction_item", run_type="uipath")
|
|
117
128
|
def create_transaction_item(
|
|
@@ -127,7 +138,8 @@ class QueuesService(FolderContext, BaseService):
|
|
|
127
138
|
Response: HTTP response containing the transaction item details.
|
|
128
139
|
"""
|
|
129
140
|
spec = self._create_transaction_item_spec(item, no_robot)
|
|
130
|
-
|
|
141
|
+
response = self.request(spec.method, url=spec.endpoint, json=spec.json)
|
|
142
|
+
return response.json()
|
|
131
143
|
|
|
132
144
|
@traced(name="queues_create_transaction_item", run_type="uipath")
|
|
133
145
|
async def create_transaction_item_async(
|
|
@@ -143,7 +155,10 @@ class QueuesService(FolderContext, BaseService):
|
|
|
143
155
|
Response: HTTP response containing the transaction item details.
|
|
144
156
|
"""
|
|
145
157
|
spec = self._create_transaction_item_spec(item, no_robot)
|
|
146
|
-
|
|
158
|
+
response = await self.request_async(
|
|
159
|
+
spec.method, url=spec.endpoint, json=spec.json
|
|
160
|
+
)
|
|
161
|
+
return response.json()
|
|
147
162
|
|
|
148
163
|
@traced(name="queues_update_progress_of_transaction_item", run_type="uipath")
|
|
149
164
|
def update_progress_of_transaction_item(
|
|
@@ -161,7 +176,8 @@ class QueuesService(FolderContext, BaseService):
|
|
|
161
176
|
Related Activity: [Set Transaction Progress](https://docs.uipath.com/activities/other/latest/workflow/set-transaction-progress)
|
|
162
177
|
"""
|
|
163
178
|
spec = self._update_progress_of_transaction_item_spec(transaction_key, progress)
|
|
164
|
-
|
|
179
|
+
response = self.request(spec.method, url=spec.endpoint, json=spec.json)
|
|
180
|
+
return response.json()
|
|
165
181
|
|
|
166
182
|
@traced(name="queues_update_progress_of_transaction_item", run_type="uipath")
|
|
167
183
|
async def update_progress_of_transaction_item_async(
|
|
@@ -179,7 +195,10 @@ class QueuesService(FolderContext, BaseService):
|
|
|
179
195
|
Related Activity: [Set Transaction Progress](https://docs.uipath.com/activities/other/latest/workflow/set-transaction-progress)
|
|
180
196
|
"""
|
|
181
197
|
spec = self._update_progress_of_transaction_item_spec(transaction_key, progress)
|
|
182
|
-
|
|
198
|
+
response = await self.request_async(
|
|
199
|
+
spec.method, url=spec.endpoint, json=spec.json
|
|
200
|
+
)
|
|
201
|
+
return response.json()
|
|
183
202
|
|
|
184
203
|
@traced(name="queues_complete_transaction_item", run_type="uipath")
|
|
185
204
|
def complete_transaction_item(
|
|
@@ -197,7 +216,8 @@ class QueuesService(FolderContext, BaseService):
|
|
|
197
216
|
Related Activity: [Set Transaction Status](https://docs.uipath.com/activities/other/latest/workflow/set-transaction-status)
|
|
198
217
|
"""
|
|
199
218
|
spec = self._complete_transaction_item_spec(transaction_key, result)
|
|
200
|
-
|
|
219
|
+
response = self.request(spec.method, url=spec.endpoint, json=spec.json)
|
|
220
|
+
return response.json()
|
|
201
221
|
|
|
202
222
|
@traced(name="queues_complete_transaction_item", run_type="uipath")
|
|
203
223
|
async def complete_transaction_item_async(
|
|
@@ -215,7 +235,10 @@ class QueuesService(FolderContext, BaseService):
|
|
|
215
235
|
Related Activity: [Set Transaction Status](https://docs.uipath.com/activities/other/latest/workflow/set-transaction-status)
|
|
216
236
|
"""
|
|
217
237
|
spec = self._complete_transaction_item_spec(transaction_key, result)
|
|
218
|
-
|
|
238
|
+
response = await self.request_async(
|
|
239
|
+
spec.method, url=spec.endpoint, json=spec.json
|
|
240
|
+
)
|
|
241
|
+
return response.json()
|
|
219
242
|
|
|
220
243
|
@property
|
|
221
244
|
def custom_headers(self) -> Dict[str, str]:
|
|
@@ -224,9 +247,7 @@ class QueuesService(FolderContext, BaseService):
|
|
|
224
247
|
def _list_items_spec(self) -> RequestSpec:
|
|
225
248
|
return RequestSpec(
|
|
226
249
|
method="GET",
|
|
227
|
-
endpoint=Endpoint(
|
|
228
|
-
"/orchestrator_/odata/Queues/UiPathODataSvc.GetQueueItems"
|
|
229
|
-
),
|
|
250
|
+
endpoint=Endpoint("/orchestrator_/odata/QueueItems"),
|
|
230
251
|
)
|
|
231
252
|
|
|
232
253
|
def _create_item_spec(self, item: Union[Dict[str, Any], QueueItem]) -> RequestSpec:
|
uipath/_uipath.py
CHANGED
|
@@ -2,6 +2,7 @@ from os import environ as env
|
|
|
2
2
|
from typing import Optional
|
|
3
3
|
|
|
4
4
|
from dotenv import load_dotenv
|
|
5
|
+
from pydantic import ValidationError
|
|
5
6
|
|
|
6
7
|
from ._config import Config
|
|
7
8
|
from ._execution_context import ExecutionContext
|
|
@@ -23,6 +24,7 @@ from ._utils.constants import (
|
|
|
23
24
|
ENV_UIPATH_ACCESS_TOKEN,
|
|
24
25
|
ENV_UNATTENDED_USER_ACCESS_TOKEN,
|
|
25
26
|
)
|
|
27
|
+
from .models.errors import BaseUrlMissingError, SecretMissingError
|
|
26
28
|
|
|
27
29
|
load_dotenv()
|
|
28
30
|
|
|
@@ -42,10 +44,17 @@ class UiPath:
|
|
|
42
44
|
or env.get(ENV_UIPATH_ACCESS_TOKEN)
|
|
43
45
|
)
|
|
44
46
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
try:
|
|
48
|
+
self._config = Config(
|
|
49
|
+
base_url=base_url_value, # type: ignore
|
|
50
|
+
secret=secret_value, # type: ignore
|
|
51
|
+
)
|
|
52
|
+
except ValidationError as e:
|
|
53
|
+
for error in e.errors():
|
|
54
|
+
if error["loc"][0] == "base_url":
|
|
55
|
+
raise BaseUrlMissingError() from e
|
|
56
|
+
elif error["loc"][0] == "secret":
|
|
57
|
+
raise SecretMissingError() from e
|
|
49
58
|
self._folders_service: Optional[FolderService] = None
|
|
50
59
|
|
|
51
60
|
setup_logging(debug)
|
uipath/models/__init__.py
CHANGED
|
@@ -3,6 +3,7 @@ from .actions import Action
|
|
|
3
3
|
from .assets import UserAsset
|
|
4
4
|
from .connections import Connection, ConnectionToken
|
|
5
5
|
from .context_grounding import ContextGroundingQueryResponse
|
|
6
|
+
from .errors import BaseUrlMissingError, SecretMissingError
|
|
6
7
|
from .exceptions import IngestionInProgressException
|
|
7
8
|
from .interrupt_models import (
|
|
8
9
|
CreateAction,
|
|
@@ -39,4 +40,6 @@ __all__ = [
|
|
|
39
40
|
"WaitAction",
|
|
40
41
|
"CreateAction",
|
|
41
42
|
"IngestionInProgressException",
|
|
43
|
+
"BaseUrlMissingError",
|
|
44
|
+
"SecretMissingError",
|
|
42
45
|
]
|
uipath/models/errors.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
class BaseUrlMissingError(Exception):
|
|
2
|
+
def __init__(
|
|
3
|
+
self,
|
|
4
|
+
message="Authentication required. Please run \033[1muipath auth\033[22m.",
|
|
5
|
+
):
|
|
6
|
+
self.message = message
|
|
7
|
+
super().__init__(self.message)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SecretMissingError(Exception):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
message="Authentication required. Please run \033[1muipath auth\033[22m.",
|
|
14
|
+
):
|
|
15
|
+
self.message = message
|
|
16
|
+
super().__init__(self.message)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.33
|
|
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
|
|
@@ -35,10 +35,12 @@ Description-Content-Type: text/markdown
|
|
|
35
35
|
[](https://img.shields.io/pypi/v/uipath)
|
|
36
36
|
[](https://pypi.org/project/uipath/)
|
|
37
37
|
|
|
38
|
-
A Python SDK that enables programmatic interaction with UiPath Platform services including processes, assets, buckets, context grounding, data services, jobs, and more. The package also features a CLI for creation, packaging, and deployment of automations to UiPath Platform.
|
|
38
|
+
A Python SDK that enables programmatic interaction with UiPath Cloud Platform services including processes, assets, buckets, context grounding, data services, jobs, and more. The package also features a CLI for creation, packaging, and deployment of automations to UiPath Cloud Platform.
|
|
39
39
|
|
|
40
40
|
Use the [UiPath LangChain SDK](https://github.com/UiPath/uipath-langchain-python) to pack and publish LangGraph Agents.
|
|
41
41
|
|
|
42
|
+
This [quickstart guide](https://uipath.github.io/uipath-python/) walks you through deploying your first agent to UiPath Cloud Platform.
|
|
43
|
+
|
|
42
44
|
## Table of Contents
|
|
43
45
|
|
|
44
46
|
- [Installation](#installation)
|
|
@@ -211,4 +213,4 @@ To properly use the CLI for packaging and publishing, your project should includ
|
|
|
211
213
|
|
|
212
214
|
### Setting Up a Development Environment
|
|
213
215
|
|
|
214
|
-
Please read [CONTRIBUTING.md](
|
|
216
|
+
Please read [CONTRIBUTING.md](https://github.com/UiPath/uipath-python/blob/main/CONTRIBUTING.md) before submitting a pull request.
|
|
@@ -2,13 +2,13 @@ uipath/__init__.py,sha256=IaeKItOOQXMa95avueJ3dAq-XcRHyZVNjcCGwlSB000,634
|
|
|
2
2
|
uipath/_config.py,sha256=pi3qxPzDTxMEstj_XkGOgKJqD6RTHHv7vYv8sS_-d5Q,92
|
|
3
3
|
uipath/_execution_context.py,sha256=JkmMH51ck4p-JQtgJeDvpBP-BZNIN_1h3Qlo8QrPr-w,2421
|
|
4
4
|
uipath/_folder_context.py,sha256=oxX7o8ilU9sA_vEKLr2sZZCHnvRwJ0_as-LOMc4hxc4,1908
|
|
5
|
-
uipath/_uipath.py,sha256=
|
|
5
|
+
uipath/_uipath.py,sha256=jbEKy98Dq2q-316lsS38lKhwgM390uLxzQYIl15HU2Y,3211
|
|
6
6
|
uipath/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
uipath/_cli/README.md,sha256=GLtCfbeIKZKNnGTCsfSVqRQ27V1btT1i2bSAyW_xZl4,474
|
|
8
8
|
uipath/_cli/__init__.py,sha256=vGz3vJHkUvgK9_lKdzqiwwHkge1TCALRiOzGGwyr-8E,1885
|
|
9
9
|
uipath/_cli/cli_auth.py,sha256=O-hbaYxLXBPXgnjW2gGa1lbvmVh1ui2-U9BzrLUU708,3707
|
|
10
10
|
uipath/_cli/cli_deploy.py,sha256=lnGwwhDDY6La0fj_-duqx9saGUvY2iNNW28rQCI3hsU,308
|
|
11
|
-
uipath/_cli/cli_init.py,sha256=
|
|
11
|
+
uipath/_cli/cli_init.py,sha256=Hk4R7dxTkRkSdo4gbp6QSKXe2jVdR5PBSDVjxCt7TO0,3834
|
|
12
12
|
uipath/_cli/cli_invoke.py,sha256=Fnoc5_4nWxac-FVxQL-Akrqd-yQb9BwLWSzR9p397Lw,3221
|
|
13
13
|
uipath/_cli/cli_new.py,sha256=uBWt44ZnNrq6oMYjYm4cCipmat2GRkcJ-g8YP_yP9-0,2024
|
|
14
14
|
uipath/_cli/cli_pack.py,sha256=FZr7P5WZvPkrP56fjn4dTONv76NuoEhVtQwzG3CxGQs,14667
|
|
@@ -19,14 +19,14 @@ uipath/_cli/spinner.py,sha256=bS-U_HA5yne11ejUERu7CQoXmWdabUD2bm62EfEdV8M,1107
|
|
|
19
19
|
uipath/_cli/_auth/_auth_server.py,sha256=GRdjXUcvZO2O2GecolFJ8uMv7_DUD_VXeBJpElqmtIQ,7034
|
|
20
20
|
uipath/_cli/_auth/_models.py,sha256=sYMCfvmprIqnZxStlD_Dxx2bcxgn0Ri4D7uwemwkcNg,948
|
|
21
21
|
uipath/_cli/_auth/_oidc_utils.py,sha256=WaX9jDlXrlX6yD8i8gsocV8ngjaT72Xd1tvsZMmSbco,2127
|
|
22
|
-
uipath/_cli/_auth/_portal_service.py,sha256=
|
|
22
|
+
uipath/_cli/_auth/_portal_service.py,sha256=dANFBaFFYbkprYHDLjCVxcD6bITAxZuyyW_GPpyyEvY,7160
|
|
23
23
|
uipath/_cli/_auth/_utils.py,sha256=9nb76xe5XmDZ0TAncp-_1SKqL6FdwRi9eS3C2noN1lY,1591
|
|
24
24
|
uipath/_cli/_auth/auth_config.json,sha256=NTb_ZZor5xEgya2QbK51GiTL5_yVqG_QpV4VYIp8_mk,342
|
|
25
25
|
uipath/_cli/_auth/index.html,sha256=ML_xDOcKs0ETYucufJskiYfWSvdrD_E26C0Qd3qpGj8,6280
|
|
26
26
|
uipath/_cli/_auth/localhost.crt,sha256=oGl9oLLOiouHubAt39B4zEfylFvKEtbtr_43SIliXJc,1226
|
|
27
27
|
uipath/_cli/_auth/localhost.key,sha256=X31VYXD8scZtmGA837dGX5l6G-LXHLo5ItWJhZXaz3c,1679
|
|
28
|
-
uipath/_cli/_runtime/_contracts.py,sha256=
|
|
29
|
-
uipath/_cli/_runtime/_logging.py,sha256=
|
|
28
|
+
uipath/_cli/_runtime/_contracts.py,sha256=Rxs-uEOA490fLPNimB8LqZW7KI-72O0BLY4Jm7Fa1ms,14316
|
|
29
|
+
uipath/_cli/_runtime/_logging.py,sha256=rmRBEHNMRK422o_TYk7h2sNfeGfaZdXC6-83VcO5o10,7903
|
|
30
30
|
uipath/_cli/_runtime/_runtime.py,sha256=K8lQjeUE-qXNshmt0UE2SNdbH-MA9goOSqsReJ-_NF4,9681
|
|
31
31
|
uipath/_cli/_templates/.psmdcp.template,sha256=C7pBJPt98ovEljcBvGtEUGoWjjQhu9jls1bpYjeLOKA,611
|
|
32
32
|
uipath/_cli/_templates/.rels.template,sha256=-fTcw7OA1AcymHr0LzBqbMAAtzZTRXLTNa_ljq087Jk,406
|
|
@@ -41,9 +41,9 @@ uipath/_cli/_utils/_parse_ast.py,sha256=3XVjnhJNnSfjXlitct91VOtqSl0l-sqDpoWww28m
|
|
|
41
41
|
uipath/_cli/_utils/_processes.py,sha256=3X03Zqgk3DasH4K9jkfIhb4pt6CJ1KgnrFta5FwEOes,1328
|
|
42
42
|
uipath/_services/__init__.py,sha256=VPbwLDsvN26nWZgvR-8_-tc3i0rk5doqjTJbSrK0nN4,818
|
|
43
43
|
uipath/_services/_base_service.py,sha256=3YClCoZBkVQGNJZGy-4NTk-HGsGA61XtwVQFYv9mwWk,7955
|
|
44
|
-
uipath/_services/actions_service.py,sha256=
|
|
44
|
+
uipath/_services/actions_service.py,sha256=PQ6HGEfX1vRBkFsjP2ykBRc9xOIf7wVKJC7Dkhka3HM,15623
|
|
45
45
|
uipath/_services/api_client.py,sha256=1hYLc_90dQzCGnqqirEHpPqvL3Gkv2sSKoeOV_iTmlk,2903
|
|
46
|
-
uipath/_services/assets_service.py,sha256=
|
|
46
|
+
uipath/_services/assets_service.py,sha256=4TsHd_b3VQZlN195ecrCHbQcaNew0GWEk90SFhvNJTU,9352
|
|
47
47
|
uipath/_services/buckets_service.py,sha256=m0HMWBkooUhjTtna_ZXcw4QOzKmaibuepWlC8wPGtlA,9330
|
|
48
48
|
uipath/_services/connections_service.py,sha256=bE-t-YS_C67bcyEA9xNwKqv5b0dN7qh0McZdGETcEAQ,7338
|
|
49
49
|
uipath/_services/connections_service.pyi,sha256=6OOnh0aCfxhETL8n_JZ6Xoe2BE3ST_7Vz-FgLZc53lM,2465
|
|
@@ -52,7 +52,7 @@ uipath/_services/folder_service.py,sha256=HtsBoBejvMuIZ-9gocAG9B8uKOFsAAD4WUozta
|
|
|
52
52
|
uipath/_services/jobs_service.py,sha256=MsJlu1egvHKZhHdammp4Xo9iJzceWquW4qIWT-nPBws,8214
|
|
53
53
|
uipath/_services/llm_gateway_service.py,sha256=ySg3sflIoXmY9K7txlSm7bkuI2qzBT0kAKmGlFBk5KA,12032
|
|
54
54
|
uipath/_services/processes_service.py,sha256=12tflrzTNvtA0xGteQwrIZ0s-jCTinTv7gktder5tRE,5659
|
|
55
|
-
uipath/_services/queues_service.py,sha256=
|
|
55
|
+
uipath/_services/queues_service.py,sha256=VaG3dWL2QK6AJBOLoW2NQTpkPfZjsqsYPl9-kfXPFzA,13534
|
|
56
56
|
uipath/_utils/__init__.py,sha256=y8asYKjU5j3v72TbgShEpUafAAJXJ6bngqdzXIl-Lhk,481
|
|
57
57
|
uipath/_utils/_endpoint.py,sha256=yYHwqbQuJIevpaTkdfYJS9CrtlFeEyfb5JQK5osTCog,2489
|
|
58
58
|
uipath/_utils/_infer_bindings.py,sha256=ysAftopcCBj4ojYyeVwbSl20qYhCDmqyldCinj6sICM,905
|
|
@@ -61,13 +61,14 @@ uipath/_utils/_request_override.py,sha256=_vibG78vEDWS3JKg2cJ5l6tpoBMLChUOauiqL1
|
|
|
61
61
|
uipath/_utils/_request_spec.py,sha256=iCtBLqtbWUpFG5g1wtIZBzSupKsfaRLiQFoFc_4B70Q,747
|
|
62
62
|
uipath/_utils/_user_agent.py,sha256=pVJkFYacGwaQBomfwWVAvBQgdBUo62e4n3-fLIajWUU,563
|
|
63
63
|
uipath/_utils/constants.py,sha256=xW-gbRasjdOwSj2rke4wfRCml69710oUaDNJcwFAZug,775
|
|
64
|
-
uipath/models/__init__.py,sha256=
|
|
64
|
+
uipath/models/__init__.py,sha256=U06ilfGlAR0Rflkuq608sR__hsyMN5KI_OsAFQf1qCs,1048
|
|
65
65
|
uipath/models/action_schema.py,sha256=lKDhP7Eix23fFvfQrqqNmSOiPyyNF6tiRpUu0VZIn_M,714
|
|
66
66
|
uipath/models/actions.py,sha256=ekSH4YUQR4KPOH-heBm9yOgOfirndx0In4_S4VYWeEU,2993
|
|
67
67
|
uipath/models/assets.py,sha256=8ZPImmJ-1u5KqdR1UBgZnGjSBW-Nr81Ruq_5Uav417A,1841
|
|
68
68
|
uipath/models/connections.py,sha256=perIqW99YEg_0yWZPdpZlmNpZcwY_toR1wkqDUBdAN0,2014
|
|
69
69
|
uipath/models/context_grounding.py,sha256=ak3cjlA90X1FceAAI0ry4jioTtK6Zxo0oqmKY_xs8bo,352
|
|
70
70
|
uipath/models/context_grounding_index.py,sha256=vHBu069j1Y1m5PydLj6uoVH0rNIxuOohKLknHn5KvQw,2508
|
|
71
|
+
uipath/models/errors.py,sha256=gPyU4sKYn57v03aOVqm97mnU9Do2e7bwMQwiSQVp9qc,461
|
|
71
72
|
uipath/models/exceptions.py,sha256=WEUw2_sh-aE0HDiqPoBZyh9KIk1BaDFY5O7Lzo8KRws,324
|
|
72
73
|
uipath/models/interrupt_models.py,sha256=UzuVTMVesI204YQ4qFQFaN-gN3kksddkrujofcaC7zQ,881
|
|
73
74
|
uipath/models/job.py,sha256=f9L6_kg_VP0dAYvdcz1DWEWzy4NZPdlpHREod0uNK1E,3099
|
|
@@ -78,8 +79,8 @@ uipath/tracing/__init__.py,sha256=GimSzv6qkCOlHOG1WtjYKJsZqcXpA28IgoXfR33JhiA,13
|
|
|
78
79
|
uipath/tracing/_otel_exporters.py,sha256=x0PDPmDKJcxashsuehVsSsqBCzRr6WsNFaq_3_HS5F0,3014
|
|
79
80
|
uipath/tracing/_traced.py,sha256=GFxOp73jk0vGTN_H7YZOOsEl9rVLaEhXGztMiYKIA-8,16634
|
|
80
81
|
uipath/tracing/_utils.py,sha256=5SwsTGpHkIouXBndw-u8eCLnN4p7LM8DsTCCuf2jJgs,10165
|
|
81
|
-
uipath-2.0.
|
|
82
|
-
uipath-2.0.
|
|
83
|
-
uipath-2.0.
|
|
84
|
-
uipath-2.0.
|
|
85
|
-
uipath-2.0.
|
|
82
|
+
uipath-2.0.33.dist-info/METADATA,sha256=a-Naq5cfMirA_LJr5Ew3f7G8LNaWNz3KEdRqziZBAi4,6303
|
|
83
|
+
uipath-2.0.33.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
84
|
+
uipath-2.0.33.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
|
|
85
|
+
uipath-2.0.33.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
|
|
86
|
+
uipath-2.0.33.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|