Skip to content

Commit 89e9808

Browse files
author
ruogu
committed
add param type suggestion for other methods in participant_management
1 parent eb3a08b commit 89e9808

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

dialogflow/participant_management.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
# [START dialogflow_create_participant]
26-
def create_participant(project_id, conversation_id, role):
26+
def create_participant(project_id: str, conversation_id: str, role: str):
2727
"""Creates a participant in a given conversation.
2828
2929
Args:
@@ -50,7 +50,9 @@ def create_participant(project_id, conversation_id, role):
5050

5151

5252
# [START dialogflow_analyze_content_text]
53-
def analyze_content_text(project_id, conversation_id, participant_id, text):
53+
def analyze_content_text(
54+
project_id: str, conversation_id: str, participant_id: str, text: str
55+
):
5456
"""Analyze text message content from a participant.
5557
5658
Args:
@@ -113,7 +115,9 @@ def analyze_content_text(project_id, conversation_id, participant_id, text):
113115

114116

115117
# [START dialogflow_analyze_content_audio]
116-
def analyze_content_audio(conversation_id, participant_id, audio_file_path):
118+
def analyze_content_audio(
119+
conversation_id: str, participant_id: str, audio_file_path: str
120+
):
117121
"""Analyze audio content for END_USER with audio files.
118122
119123
Args:

0 commit comments

Comments
 (0)