daria-malkova commented on a change in pull request #16617:
URL: https://github.com/apache/beam/pull/16617#discussion_r792478037



##########
File path: playground/infrastructure/helper.py
##########
@@ -331,6 +333,17 @@ def _validate(tag: dict, supported_categories: List[str]) 
-> bool:
             category,
             category)
         valid = False
+
+  # check that context line's value is integer
+  context_line = tag.get(TagFields.context_line)
+  if not isinstance(context_line, int):
+      logging.error(
+          "tag's field context_line is incorrect: %s \n"
+          "context_line variable should be integer format, "
+          "but tag contains: %s",

Review comment:
       do we have to make this multi-lines error?




-- 
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]


Reply via email to