eantyshev commented on code in PR #24751:
URL: https://github.com/apache/beam/pull/24751#discussion_r1056200637
##########
playground/infrastructure/datastore_client.py:
##########
@@ -258,7 +265,7 @@ def _to_snippet_entity(
"pipeOpts": self._get_pipeline_options(example),
"created": now,
"origin": origin,
- "numberOfFiles": 1,
+ "numberOfFiles": 1 + len(example.tag.files),
Review Comment:
The meaning of `files` differs in CI/CD and on the backend.
In CI/CD `files` corresponds to a field in `beam-playground` tag, therefore
it contains only import files.
The main file is not present here
But on the backend in RunCode request and GetPrecompiledObjectCode response
main file code is included in `files` too
--
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]