uipath 2.0.4.dev3__py3-none-any.whl → 2.0.4.dev5__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.

@@ -19,18 +19,6 @@ def _create_spec(
19
19
  app_key: str = "",
20
20
  app_version: int = -1,
21
21
  ) -> RequestSpec:
22
- """Creates a request specification for creating a new action task.
23
-
24
- Args:
25
- title: The title of the action task
26
- data: Optional dictionary containing input data for the action
27
- action_schema: Optional schema defining the action's inputs, outputs, and outcomes
28
- app_key: The unique identifier of the application
29
- app_version: The version of the application
30
-
31
- Returns:
32
- RequestSpec: A specification for creating an action task
33
- """
34
22
  field_list = []
35
23
  outcome_list = []
36
24
  if action_schema:
@@ -113,14 +101,6 @@ def _create_spec(
113
101
 
114
102
 
115
103
  def _retrieve_action_spec(action_key: str) -> RequestSpec:
116
- """Creates a request specification for retrieving an action by its key.
117
-
118
- Args:
119
- action_key: The unique identifier of the action to retrieve
120
-
121
- Returns:
122
- RequestSpec: A specification for retrieving an action
123
- """
124
104
  return RequestSpec(
125
105
  method="GET",
126
106
  endpoint=Endpoint("/orchestrator_/tasks/GenericTasks/GetTaskDataByKey"),
@@ -129,15 +109,6 @@ def _retrieve_action_spec(action_key: str) -> RequestSpec:
129
109
 
130
110
 
131
111
  def _assign_task_spec(task_key: str, assignee: str) -> RequestSpec:
132
- """Creates a request specification for assigning a task to a user.
133
-
134
- Args:
135
- task_key: The unique identifier of the task
136
- assignee: The username or email of the user to assign the task to
137
-
138
- Returns:
139
- RequestSpec: A specification for assigning a task
140
- """
141
112
  return RequestSpec(
142
113
  method="POST",
143
114
  endpoint=Endpoint(
@@ -150,17 +121,6 @@ def _assign_task_spec(task_key: str, assignee: str) -> RequestSpec:
150
121
 
151
122
 
152
123
  def _retrieve_app_key_spec(app_name: str) -> RequestSpec:
153
- """Creates a request specification for retrieving an application's key by its name.
154
-
155
- Args:
156
- app_name: The name of the application to retrieve
157
-
158
- Returns:
159
- RequestSpec: A specification for retrieving an application key
160
-
161
- Raises:
162
- Exception: If the tenant ID environment variable is not set
163
- """
164
124
  tenant_id = os.getenv(ENV_TENANT_ID, None)
165
125
  if not tenant_id:
166
126
  raise Exception(f"{ENV_TENANT_ID} env var is not set")
@@ -357,17 +317,6 @@ class ActionsService(FolderContext, BaseService):
357
317
  def __get_app_key_and_schema(
358
318
  self, app_name: str
359
319
  ) -> Tuple[str, Optional[ActionSchema]]:
360
- """Retrieves an application's key and schema synchronously.
361
-
362
- Args:
363
- app_name: The name of the application to retrieve
364
-
365
- Returns:
366
- Tuple[str, Optional[ActionSchema]]: A tuple containing the application key and schema
367
-
368
- Raises:
369
- Exception: If app_name is not provided
370
- """
371
320
  if not app_name:
372
321
  raise Exception("appName or appKey is required")
373
322
 
@@ -392,9 +341,4 @@ class ActionsService(FolderContext, BaseService):
392
341
 
393
342
  @property
394
343
  def custom_headers(self) -> Dict[str, str]:
395
- """Gets the custom headers required for folder context.
396
-
397
- Returns:
398
- Dict[str, str]: A dictionary of custom headers
399
- """
400
344
  return self.folder_headers
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.0.4.dev3
3
+ Version: 2.0.4.dev5
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
@@ -36,7 +36,7 @@ uipath/_cli/_utils/_input_args.py,sha256=pyQhEcQXHdFHYTVNzvfWp439aii5StojoptnmCv
36
36
  uipath/_cli/_utils/_parse_ast.py,sha256=3XVjnhJNnSfjXlitct91VOtqSl0l-sqDpoWww28mMc0,20663
37
37
  uipath/_services/__init__.py,sha256=VPbwLDsvN26nWZgvR-8_-tc3i0rk5doqjTJbSrK0nN4,818
38
38
  uipath/_services/_base_service.py,sha256=3YClCoZBkVQGNJZGy-4NTk-HGsGA61XtwVQFYv9mwWk,7955
39
- uipath/_services/actions_service.py,sha256=JiQlOoAEWQBqCf7s68G0y5JOBbSvauqaDEiZe4YJwas,13718
39
+ uipath/_services/actions_service.py,sha256=HMOzbmzj7sO6w63KMuRjvZYl3L3gttzyJhzV5BcaC5U,11881
40
40
  uipath/_services/api_client.py,sha256=1hYLc_90dQzCGnqqirEHpPqvL3Gkv2sSKoeOV_iTmlk,2903
41
41
  uipath/_services/assets_service.py,sha256=OdnhlHfEmwA0SQqkXO4XHl3bV26QLgIxj6sFycseZ0g,8647
42
42
  uipath/_services/buckets_service.py,sha256=JeSFoEOBeGi-i_aevaMAyu5gpauq1KC_JkANRTmyxEs,8655
@@ -69,8 +69,8 @@ uipath/models/job.py,sha256=f9L6_kg_VP0dAYvdcz1DWEWzy4NZPdlpHREod0uNK1E,3099
69
69
  uipath/models/llm_gateway.py,sha256=0sl5Wtve94V14H3AHwmJSoXAhoc-Fai3wJxP8HrnBPg,1994
70
70
  uipath/models/processes.py,sha256=Atvfrt6X4TYST3iA62jpS_Uxc3hg6uah11p-RaKZ6dk,2029
71
71
  uipath/models/queues.py,sha256=N_s0GKucbyjh0RnO8SxPk6wlRgvq8KIIYsfaoIY46tM,6446
72
- uipath-2.0.4.dev3.dist-info/METADATA,sha256=S9IY-cxM4k4MG2MYIUyGAiVcV3e-JRLLDKUScqO5wI4,5801
73
- uipath-2.0.4.dev3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
74
- uipath-2.0.4.dev3.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
75
- uipath-2.0.4.dev3.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
76
- uipath-2.0.4.dev3.dist-info/RECORD,,
72
+ uipath-2.0.4.dev5.dist-info/METADATA,sha256=l_FMN1rFDuJdArJy7ujohS7qkd6OK4Thz3rpy_MYelc,5801
73
+ uipath-2.0.4.dev5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
74
+ uipath-2.0.4.dev5.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
75
+ uipath-2.0.4.dev5.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
76
+ uipath-2.0.4.dev5.dist-info/RECORD,,