Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Commit 44a5ad7

Browse files
committed
Merge branch 'master' of github.com:googlesamples/assistant-sdk-python into merge-github
Change-Id: Ic80818ae6035d4c11feae7c46abdf2b4eae50220
2 parents e49fb09 + ea0431b commit 44a5ad7

File tree

1 file changed

+3
-2
lines changed
  • google-assistant-sdk/googlesamples/assistant/library

1 file changed

+3
-2
lines changed

google-assistant-sdk/googlesamples/assistant/library/hotword.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def process_event(event, device_id):
5555
5656
Args:
5757
event(event.Event): The current event to process.
58+
device_id(str): The device ID of the new instance.
5859
"""
5960
if event.type == EventType.ON_CONVERSATION_TURN_STARTED:
6061
print()
@@ -80,8 +81,8 @@ def register_device(project_id, credentials, device_model_id, device_id):
8081
credentials(google.oauth2.credentials.Credentials): The Google
8182
OAuth2 credentials of the user to associate the device
8283
instance with.
83-
device_model_id: The registered device model ID.
84-
device_id: The device ID of the new instance.
84+
device_model_id(str): The registered device model ID.
85+
device_id(str): The device ID of the new instance.
8586
"""
8687
base_url = '/'.join([DEVICE_API_URL, 'projects', project_id, 'devices'])
8788
device_url = '/'.join([base_url, device_id])

0 commit comments

Comments
 (0)