Pub/Sub Lite: Qwik Start
The script giving some error for me at least. Note I have basic knowledge of python so I tried to my best to avoid errors but it didn't work.
Something Error: send_messages.py need to rename PublishMetadata to MessageMetadata
https://google.qwiklabs.com/focuses/15939?parent=catalog Error in Python3 script ImportError: cannot import name 'PublishMetadata' from 'google.cloud.pubsublite.types'
Obviously the same problem many others had - the script inside the lab isn't working properly, as you need to use MessageMetadata instead of PublishMetadata. I mean, these labs costs so might be a great idea to solve this instead of using points for non-working, bad tutorials.
python scripts has errors.
The import of PublishMetadata in send_message.py fails on run time. The correct import is MessageMetadata. Also have to correct that when it is called into the code.