Skip to content

Commit 415dafc

Browse files
Updated to use the new http stream activate api. (#48)
1 parent 675663d commit 415dafc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

awsiot/greengrass_discovery.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ def on_connection_completed(conn_future):
7373
http_stream = connection.request(
7474
request=request,
7575
on_body=on_incoming_body)
76-
76+
77+
http_stream.activate()
7778
http_stream.completion_future.add_done_callback(on_request_complete)
7879

7980
except Exception as e:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
setup(
1919
name='awsiotsdk',
20-
version='1.0.5',
20+
version='1.0.6',
2121
description='AWS IoT SDK based on the AWS Common Runtime',
2222
author='AWS SDK Common Runtime Team',
2323
url='https://github.com/aws/aws-iot-device-sdk-python-v2',
2424
packages = ['awsiot'],
2525
install_requires=[
26-
'awscrt==0.5.11',
26+
'awscrt==0.5.12',
2727
'futures;python_version<"3.2"',
2828
'typing;python_version<"3.5"',
2929
],

0 commit comments

Comments
 (0)