From 05409f7b9841a63d1e888eed20a1a1359fc2354f Mon Sep 17 00:00:00 2001 From: "promptless[bot]" Date: Thu, 21 May 2026 17:46:02 +0000 Subject: [PATCH] Update flash login flow docs and Python version requirements - Document new copy-paste API key flow for flash login (user copies key from browser and pastes into CLI prompt instead of automatic polling) - Remove --timeout flag documentation (no longer used) - Update Python version requirements to "3.10 or later" across quickstart, overview, build-app, and tutorial pages (removes "Python 3.13 coming soon") --- flash/apps/build-app.mdx | 2 +- flash/cli/login.mdx | 10 ++++------ flash/overview.mdx | 2 +- flash/quickstart.mdx | 2 +- tutorials/flash/build-rest-api-with-load-balancer.mdx | 2 +- tutorials/flash/image-generation-with-sdxl.mdx | 2 +- tutorials/flash/text-generation-with-transformers.mdx | 2 +- 7 files changed, 10 insertions(+), 12 deletions(-) diff --git a/flash/apps/build-app.mdx b/flash/apps/build-app.mdx index 894f08a6..f7762593 100644 --- a/flash/apps/build-app.mdx +++ b/flash/apps/build-app.mdx @@ -14,7 +14,7 @@ If you haven't already, we recommend starting with the [Quickstart](/flash/quick - You've [created a Runpod account](/get-started/manage-accounts). - You've [created a Runpod API key](/get-started/api-keys). -- You've installed [Python 3.10, 3.11, or 3.12](https://www.python.org/downloads/). Python 3.13 support is coming soon. +- You've installed [Python 3.10 or later](https://www.python.org/downloads/). ## Step 1: Initialize a new project diff --git a/flash/cli/login.mdx b/flash/cli/login.mdx index 3dddc586..4149fff1 100644 --- a/flash/cli/login.mdx +++ b/flash/cli/login.mdx @@ -17,14 +17,16 @@ Authenticate with Runpod (opens browser automatically): flash login ``` -The command opens your default browser to the Runpod authorization page. After you approve the request, your API key is saved locally for future CLI operations. +The command opens your default browser to the Runpod authorization page. After you approve the request, you'll copy the API key from the browser and paste it into the CLI prompt. ## How it works 1. Flash generates an authorization request. 2. Your browser opens to the Runpod console authorization page. 3. You approve the request in your browser. -4. Flash saves your API key to `~/.runpod/config.toml`. +4. The browser displays your API key. +5. You copy the key and paste it into the CLI prompt. +6. Flash saves your API key to `~/.runpod/config.toml`. ## Flags @@ -32,10 +34,6 @@ The command opens your default browser to the Runpod authorization page. After y Don't automatically open the browser. Instead, manually copy the authorization URL and open it yourself. - -Maximum time in seconds to wait for authorization. Default is 600 seconds (10 minutes). - - Force re-authentication even if credentials already exist. By default, `flash login` skips the browser flow when it finds existing credentials. diff --git a/flash/overview.mdx b/flash/overview.mdx index 1597e346..8275c89c 100644 --- a/flash/overview.mdx +++ b/flash/overview.mdx @@ -50,7 +50,7 @@ Flash requires a Runpod account with a verified email address. ### Install Flash -Flash requires [Python 3.10, 3.11, or 3.12](https://www.python.org/downloads/) and runs natively on macOS and Linux. Windows users can run Flash through [WSL2](/flash/windows-wsl2). Python 3.13 support is coming soon. +Flash requires [Python 3.10 or later](https://www.python.org/downloads/) and runs natively on macOS and Linux. Windows users can run Flash through [WSL2](/flash/windows-wsl2). Install Flash using `pip` or `uv`: diff --git a/flash/quickstart.mdx b/flash/quickstart.mdx index f6541737..62c781c3 100644 --- a/flash/quickstart.mdx +++ b/flash/quickstart.mdx @@ -10,7 +10,7 @@ This quickstart gets you running GPU workloads on Runpod in minutes. You'll exec - [Runpod account](/get-started/manage-accounts) with a verified email address. - [An API key](/get-started/api-keys) with **All** access permissions to your Runpod account. -- [Python 3.10, 3.11, or 3.12](https://www.python.org/downloads/) installed. Python 3.13 support is coming soon. +- [Python 3.10 or later](https://www.python.org/downloads/) installed. - [uv](https://docs.astral.sh/uv/) installed. ## Step 1: Install Flash diff --git a/tutorials/flash/build-rest-api-with-load-balancer.mdx b/tutorials/flash/build-rest-api-with-load-balancer.mdx index 214a8fc8..4f92c9fd 100644 --- a/tutorials/flash/build-rest-api-with-load-balancer.mdx +++ b/tutorials/flash/build-rest-api-with-load-balancer.mdx @@ -11,7 +11,7 @@ This tutorial shows you how to build a REST API using Flash load-balanced endpoi - You've [created a Runpod account](/get-started/manage-accounts) - You've [created a Runpod API key](/get-started/api-keys) -- You've installed [Python 3.10, 3.11, or 3.12](https://www.python.org/downloads/). Python 3.13 support is coming soon. +- You've installed [Python 3.10 or later](https://www.python.org/downloads/). - You've completed the [Flash quickstart](/flash/quickstart) or are familiar with Flash basics ## What you'll build diff --git a/tutorials/flash/image-generation-with-sdxl.mdx b/tutorials/flash/image-generation-with-sdxl.mdx index c093d08e..e1472f48 100644 --- a/tutorials/flash/image-generation-with-sdxl.mdx +++ b/tutorials/flash/image-generation-with-sdxl.mdx @@ -15,7 +15,7 @@ This tutorial shows you how to build an image generation script using Flash and - You've [created a Runpod account](/get-started/manage-accounts). - You've [created a Runpod API key](/get-started/api-keys). -- You've installed [Python 3.10, 3.11, or 3.12](https://www.python.org/downloads/). Python 3.13 support is coming soon. +- You've installed [Python 3.10 or later](https://www.python.org/downloads/). - You've completed the [Flash quickstart](/flash/quickstart) or are familiar with Flash basics. ## What you'll build diff --git a/tutorials/flash/text-generation-with-transformers.mdx b/tutorials/flash/text-generation-with-transformers.mdx index af15cf26..d20113cc 100644 --- a/tutorials/flash/text-generation-with-transformers.mdx +++ b/tutorials/flash/text-generation-with-transformers.mdx @@ -11,7 +11,7 @@ This tutorial shows you how to build a text generation script using Flash and Hu - You've [created a Runpod account](/get-started/manage-accounts). - You've [created a Runpod API key](/get-started/api-keys). -- You've installed [Python 3.10, 3.11, or 3.12](https://www.python.org/downloads/). Python 3.13 support is coming soon. +- You've installed [Python 3.10 or later](https://www.python.org/downloads/). - You've completed the [Flash quickstart](/flash/quickstart) or are familiar with Flash basics. ## What you'll build