Skip to content

Commit 4bc83a2

Browse files
committed
py
1 parent 6ea0dac commit 4bc83a2

139 files changed

Lines changed: 142 additions & 142 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

public/examples/integrations/toolkits/asana/projects/get_project_by_id_example_call_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
TOOL_NAME = "Asana.GetProjectById"
77

8-
auth_response = client.tools.authorize(tool_name=TOOL_NAME)
8+
auth_response = client.tools.authorize(tool_name=TOOL_NAME, user_id=USER_ID)
99

1010
if auth_response.status != "completed":
1111
print(f"Click this link to authorize: {auth_response.url}")

public/examples/integrations/toolkits/asana/projects/list_projects_example_call_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
TOOL_NAME = "Asana.ListProjects"
77

8-
auth_response = client.tools.authorize(tool_name=TOOL_NAME)
8+
auth_response = client.tools.authorize(tool_name=TOOL_NAME, user_id=USER_ID)
99

1010
if auth_response.status != "completed":
1111
print(f"Click this link to authorize: {auth_response.url}")

public/examples/integrations/toolkits/asana/tags/create_tag_example_call_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
TOOL_NAME = "Asana.CreateTag"
77

8-
auth_response = client.tools.authorize(tool_name=TOOL_NAME)
8+
auth_response = client.tools.authorize(tool_name=TOOL_NAME, user_id=USER_ID)
99

1010
if auth_response.status != "completed":
1111
print(f"Click this link to authorize: {auth_response.url}")

public/examples/integrations/toolkits/asana/tags/list_tags_example_call_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
TOOL_NAME = "Asana.ListTags"
77

8-
auth_response = client.tools.authorize(tool_name=TOOL_NAME)
8+
auth_response = client.tools.authorize(tool_name=TOOL_NAME, user_id=USER_ID)
99

1010
if auth_response.status != "completed":
1111
print(f"Click this link to authorize: {auth_response.url}")

public/examples/integrations/toolkits/asana/tasks/attach_file_to_task_example_call_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
TOOL_NAME = "Asana.AttachFileToTask"
77

8-
auth_response = client.tools.authorize(tool_name=TOOL_NAME)
8+
auth_response = client.tools.authorize(tool_name=TOOL_NAME, user_id=USER_ID)
99

1010
if auth_response.status != "completed":
1111
print(f"Click this link to authorize: {auth_response.url}")

public/examples/integrations/toolkits/asana/tasks/create_task_example_call_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
TOOL_NAME = "Asana.CreateTask"
77

8-
auth_response = client.tools.authorize(tool_name=TOOL_NAME)
8+
auth_response = client.tools.authorize(tool_name=TOOL_NAME, user_id=USER_ID)
99

1010
if auth_response.status != "completed":
1111
print(f"Click this link to authorize: {auth_response.url}")

public/examples/integrations/toolkits/asana/tasks/get_subtasks_from_a_task_example_call_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
TOOL_NAME = "Asana.GetSubtasksFromATask"
77

8-
auth_response = client.tools.authorize(tool_name=TOOL_NAME)
8+
auth_response = client.tools.authorize(tool_name=TOOL_NAME, user_id=USER_ID)
99

1010
if auth_response.status != "completed":
1111
print(f"Click this link to authorize: {auth_response.url}")

public/examples/integrations/toolkits/asana/tasks/get_task_by_id_example_call_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
TOOL_NAME = "Asana.GetTaskById"
77

8-
auth_response = client.tools.authorize(tool_name=TOOL_NAME)
8+
auth_response = client.tools.authorize(tool_name=TOOL_NAME, user_id=USER_ID)
99

1010
if auth_response.status != "completed":
1111
print(f"Click this link to authorize: {auth_response.url}")

public/examples/integrations/toolkits/asana/tasks/get_tasks_without_id_example_call_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
TOOL_NAME = "Asana.SearchTasks"
77

8-
auth_response = client.tools.authorize(tool_name=TOOL_NAME)
8+
auth_response = client.tools.authorize(tool_name=TOOL_NAME, user_id=USER_ID)
99

1010
if auth_response.status != "completed":
1111
print(f"Click this link to authorize: {auth_response.url}")

public/examples/integrations/toolkits/asana/tasks/mark_task_as_completed_example_call_tool copy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
TOOL_NAME = "Asana.MarkTaskAsCompleted"
77

8-
auth_response = client.tools.authorize(tool_name=TOOL_NAME)
8+
auth_response = client.tools.authorize(tool_name=TOOL_NAME, user_id=USER_ID)
99

1010
if auth_response.status != "completed":
1111
print(f"Click this link to authorize: {auth_response.url}")

0 commit comments

Comments
 (0)