damccorm commented on code in PR #24751:
URL: https://github.com/apache/beam/pull/24751#discussion_r1057663545


##########
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:
   ```suggestion
                   "numberOfFiles": 1 + len(example.tag.files), // add 1 since 
example.tag only contains import files, not the main file
   ```



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