hankehly commented on code in PR #30981:
URL: https://github.com/apache/airflow/pull/30981#discussion_r1181363972
##########
airflow/providers/google/cloud/hooks/pubsub.py:
##########
@@ -144,25 +146,27 @@ def _validate_messages(messages) -> None:
try:
b64decode(message["data"])
warnings.warn(
+ "During message validation, the 'data' field was
successfully decoded as base64. "
Review Comment:
Just because the input can be decoded as a base64-encoded string doesn't
mean it is a base64-encoded string. I took the liberty of adding a clarifying
message to the warning.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]