Open crispindev opened 5 years ago
Just changing the send_sensor_data.py script to from google.cloud import pubsub_v1
Line 89: publisher = pubsub_v1.PublisherClient()
Fixes the error.
Also publisher.get_topic(event_type) should be replaced by publisher.get_topic(topic=event_type)
Hi Team,
I keep getting a PublicherClient() Error when trying to run the python send_sensor_data.py script.
I tried the virtualenv set up and it did not run. Have not tried to downgrade the PubSub version but if this is being used for all demos it would be great to have it up to date! best Cris