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

Commit 79f7e58

Browse files
Zhengpeng Huproppy
Zhengpeng Hu
authored andcommitted
google-assistant-sdk/googlesamples/grpc: add missing client type
Bug: 71805631 Change-Id: I8a2d42cf42e011375d460a53a03fac6eeaa99344
1 parent f00df5f commit 79f7e58

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

google-assistant-sdk/CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
=========
33

4+
0.4.2
5+
-----
6+
- Add client type for pushtotalk registration.
7+
48
0.4.1
59
-----
610
- Update outdated `hotword` sample.

google-assistant-sdk/googlesamples/assistant/grpc/pushtotalk.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,8 @@ def onoff(on):
388388
device_id = str(uuid.uuid1())
389389
payload = {
390390
'id': device_id,
391-
'model_id': device_model_id
391+
'model_id': device_model_id,
392+
'client_type': 'SDK_SERVICE'
392393
}
393394
session = google.auth.transport.requests.AuthorizedSession(
394395
credentials

google-assistant-sdk/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def samples_requirements():
3939

4040
setup(
4141
name='google-assistant-sdk',
42-
version='0.4.1',
42+
version='0.4.2',
4343
author='Google Assistant SDK team',
4444
author_email='[email protected]',
4545
description='Samples and Tools the Google Assistant SDK',

0 commit comments

Comments
 (0)