[
https://issues.apache.org/jira/browse/BEAM-13743?focusedWorklogId=716395&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-716395
]
ASF GitHub Bot logged work on BEAM-13743:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 27/Jan/22 12:21
Start Date: 27/Jan/22 12:21
Worklog Time Spent: 10m
Work Description: pavel-avilov commented on a change in pull request
#16617:
URL: https://github.com/apache/beam/pull/16617#discussion_r793551523
##########
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:
@daria-malkova multi-lines error because the errors written above are
also in this style.
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 716395)
Time Spent: 50m (was: 40m)
> Add context line for examples
> -----------------------------
>
> Key: BEAM-13743
> URL: https://issues.apache.org/jira/browse/BEAM-13743
> Project: Beam
> Issue Type: Sub-task
> Components: beam-playground
> Reporter: Pavel Avilov
> Assignee: Pavel Avilov
> Priority: P2
> Labels: beam-playground-backend, beam-playground-sprint-8
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Add a field _context_line_ for the example on the searching examples step for
> the CI/CD step.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)