github-actions[bot] commented on code in PR #40641:
URL: https://github.com/apache/beam/pull/40641#discussion_r4299868454


##########
examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb:
##########
@@ -725,8 +725,6 @@
       "source": [
         "## Extracting and sending comments to Pub/Sub\n",
         "YouTube API provides an interface for accessing YouTube data. First, 
we need to enable YouTube API on the Google Cloud Console project. After that, 
we need to create a credential, which will further provide an API key. This API 
key, along with a video ID can be used to access data of that YouTube video. 
The Publisher created earlier is used to publish each comment to Pub/Sub.\n",

Review Comment:
   **🔴 Critical**: Removing the subsequent lines makes this the last element in 
the `source` JSON array, leaving an invalid trailing comma that breaks JSON 
parsing for this notebook.
   
   ```suggestion
           "YouTube API provides an interface for accessing YouTube data. 
First, we need to enable YouTube API on the Google Cloud Console project. After 
that, we need to create a credential, which will further provide an API key. 
This API key, along with a video ID can be used to access data of that YouTube 
video. The Publisher created earlier is used to publish each comment to 
Pub/Sub.\n"
   ```



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