You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
trying to run stream listener to consume messages in sync. got this error.
async message listener is working. trying to get messages in bulk to process them at once.
/code-envs/python/py39_dn001/lib/python3.9/site-packages/factiva/news/stream/listener.py in _pull_pubsub_messages(self, pubsub_client, pubsub_request, subscription_path, callback, ack_enabled)
225
226 """
--> 227 pubsub_messages = pubsub_client.pull(request=pubsub_request)
228 if pubsub_messages and pubsub_messages.received_messages:
229 for message in pubsub_messages.received_messages:
/code-envs/python/py39_dn001/lib/python3.9/site-packages/google/cloud/pubsub_v1/_gapic.py in <lambda>(self, *a, **kw)
38 return staticmethod(functools.wraps(wrapped_fx)(fx))
39 else:
---> 40 fx = lambda self, *a, **kw: wrapped_fx(self.api, *a, **kw) # noqa
41 return functools.wraps(wrapped_fx)(fx)
42
TypeError: pull() got an unexpected keyword argument 'request'
The text was updated successfully, but these errors were encountered:
Hi there,
trying to run stream listener to consume messages in sync. got this error.
async message listener is working. trying to get messages in bulk to process them at once.
The text was updated successfully, but these errors were encountered: