Skip to content

Commit 4f8e618

Browse files
Merge pull request #260 from UiPath/chore/adjust-docs
Chore/adjust docs
2 parents bda6921 + f013841 commit 4f8e618

4 files changed

Lines changed: 8 additions & 59 deletions

File tree

docs/how_to_contribute.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--8<--
2+
CONTRIBUTING.md
3+
--8<--

mkdocs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ theme:
3434
logo: assets/uipath-logo.svg
3535

3636
nav:
37-
- Home: index.md
37+
- Home:
38+
- index.md
39+
- How To Contribute: how_to_contribute.md
3840
- Langchain:
39-
- plugins/uipath-langchain-python/Readme.md
41+
- plugins/uipath-langchain-python/README.md
4042
- Chat models: plugins/uipath-langchain-python/docs/chat_models.md
4143
- Context Grounding Chain: plugins/uipath-langchain-python/docs/context_grounding_chain.md
4244
- Context Grounding Retriever: plugins/uipath-langchain-python/docs/context_grounding_retriever.md

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"
3-
version = "2.0.4.dev3"
3+
version = "2.0.4.dev4"
44
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.10"

src/uipath/_services/actions_service.py

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,6 @@ def _create_spec(
1919
app_key: str = "",
2020
app_version: int = -1,
2121
) -> 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-
"""
3422
field_list = []
3523
outcome_list = []
3624
if action_schema:
@@ -113,14 +101,6 @@ def _create_spec(
113101

114102

115103
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-
"""
124104
return RequestSpec(
125105
method="GET",
126106
endpoint=Endpoint("/orchestrator_/tasks/GenericTasks/GetTaskDataByKey"),
@@ -129,15 +109,6 @@ def _retrieve_action_spec(action_key: str) -> RequestSpec:
129109

130110

131111
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-
"""
141112
return RequestSpec(
142113
method="POST",
143114
endpoint=Endpoint(
@@ -150,17 +121,6 @@ def _assign_task_spec(task_key: str, assignee: str) -> RequestSpec:
150121

151122

152123
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-
"""
164124
tenant_id = os.getenv(ENV_TENANT_ID, None)
165125
if not tenant_id:
166126
raise Exception(f"{ENV_TENANT_ID} env var is not set")
@@ -357,17 +317,6 @@ async def __get_app_key_and_schema_async(
357317
def __get_app_key_and_schema(
358318
self, app_name: str
359319
) -> 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-
"""
371320
if not app_name:
372321
raise Exception("appName or appKey is required")
373322

@@ -392,9 +341,4 @@ def __get_app_key_and_schema(
392341

393342
@property
394343
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-
"""
400344
return self.folder_headers

0 commit comments

Comments
 (0)