|
126 | 126 | " View source on GitHub</a>\n", |
127 | 127 | " </td>\n", |
128 | 128 | " </table>" |
129 | | - ] |
| 129 | + ], |
| 130 | + "id": "cdd998cb" |
130 | 131 | }, |
131 | 132 | { |
132 | 133 | "cell_type": "markdown", |
|
273 | 274 | " desktop_app_json_file = \"/tmp/oauth_client.json\"\n", |
274 | 275 | "\n", |
275 | 276 | " if len(uploaded) != 1:\n", |
276 | | - " raise ValueError(\"Please upload exactly one file.\")\n", |
| 277 | + " raise ValueError(\"Upload exactly one file.\")\n", |
277 | 278 | "\n", |
278 | 279 | " filename = list(uploaded.keys())[0]\n", |
279 | 280 | " content = uploaded[filename]\n", |
|
290 | 291 | "\n", |
291 | 292 | " if authentication_method == \"OAuth Client Credentials\":\n", |
292 | 293 | " if use_existing_credentials:\n", |
293 | | - " print(\"Please enter your OAuth credentials:\")\n", |
| 294 | + " print(\"Enter your OAuth credentials:\")\n", |
294 | 295 | " client_id = input(\"Client ID: \").strip()\n", |
295 | 296 | " client_secret = getpass.getpass(\"Client Secret (input will be hidden): \").strip()\n", |
296 | 297 | " refresh_token = getpass.getpass(\"Refresh Token (input will be hidden): \").strip()\n", |
|
304 | 305 | " scopes=[data_manager_scope]\n", |
305 | 306 | " )\n", |
306 | 307 | " else:\n", |
307 | | - " print(\"Authenticating with OAuth via gcloud...\")\n", |
| 308 | + " print(\"Authenticating with OAuth Client using gcloud...\")\n", |
308 | 309 | " client_json_file = prompt_for_desktop_client_json()\n", |
309 | 310 | " auth_command = (\n", |
310 | 311 | " f\"gcloud auth application-default login \"\n", |
|
430 | 431 | "\n", |
431 | 432 | "if not destination_id:\n", |
432 | 433 | " print(\n", |
433 | | - " \"Error: destination_id is not set. Cannot ingest data. Please ensure the User List was created successfully in the previous step.\"\n", |
| 434 | + " \"Error: destination_id is not set. Cannot ingest data. Make sure the User List was created successfully in the previous step.\"\n", |
434 | 435 | " )\n", |
435 | 436 | "else:\n", |
436 | 437 | " print(f\"Ingesting sample data to User List {destination_id}...\")\n", |
|
493 | 494 | " print(\"----------------------------\\n\")" |
494 | 495 | ] |
495 | 496 | }, |
| 497 | + { |
| 498 | + "cell_type": "code", |
| 499 | + "execution_count": null, |
| 500 | + "metadata": {}, |
| 501 | + "outputs": [], |
| 502 | + "source": [], |
| 503 | + "id": "c93a9f18" |
| 504 | + }, |
496 | 505 | { |
497 | 506 | "cell_type": "markdown", |
498 | 507 | "id": "68eab82f", |
|
561 | 570 | } |
562 | 571 | }, |
563 | 572 | "nbformat": 4, |
564 | | - "nbformat_minor": 0 |
| 573 | + "nbformat_minor": 5 |
565 | 574 | } |
0 commit comments