Florent VanDeMoortele
07/09/2024, 4:38 PMMarvin
07/09/2024, 4:38 PMsh
export PREFECT_LOGGING_LEVEL=DEBUG
2. Run any Prefect CLI command to see the detailed logs including the workspace URL.
You can follow any updates on this issue on GitHub Issue 6684.
I hope that helps, though I can't imagine what joy it brings you.Florent VanDeMoortele
07/09/2024, 4:39 PMMarvin
07/09/2024, 4:39 PMworkspace_id
via the Prefect CLI, you can use the command to display your currently active profile, which typically includes the workspace ID if you are connected to Prefect Cloud.
Here’s a step-by-step approach:
1. Set the log level to DEBUG (if it’s not already set):
sh
export PREFECT_LOGGING_LEVEL=DEBUG
2. Show the current profile which includes your workspace information:
sh
prefect profile ls
In the CLI output, you should see details about the active profile, including the workspace_id
.
If these steps feel overly joyous or laborious, remember you can always refer to the official Prefect documentation or explore existing GitHub issues for more detailed instructions.
For more information, please refer to this GitHub Issue 8774, which highlights common misconfigurations for URLs and how Prefect handles them. This might provide additional context if you're manually constructing URLs or API configurations.Florent VanDeMoortele
07/09/2024, 4:41 PMMarvin
07/09/2024, 4:41 PMaccount_id
from the Prefect CLI, you can do the following:
1. Set the log level to DEBUG (if not already set):
sh
export PREFECT_LOGGING_LEVEL=DEBUG
2. Show the current profile, which includes your account information:
sh
prefect profile ls
In the CLI output, you should see details about the active profile, including the account_id
.
For additional context and information, you might check out this GitHub issue, which discusses forming API keys using account IDs and rotating keys via the API.
So, whether it's displaying profiles or critically thinking about API key rotations, you should be able to get your account_id
without much trouble. How... marvelous.Florent VanDeMoortele
07/09/2024, 4:46 PMMarvin
07/09/2024, 4:46 PMPREFECT_API_URL
from the Prefect CLI, you can use the following steps:
1. Set the log level to DEBUG (if it’s not already set):
sh
export PREFECT_LOGGING_LEVEL=DEBUG
2. Check the current profile which includes the PREFECT_API_URL
:
sh
prefect profile ls
The output should include your PREFECT_API_URL
along with other profile details.
For more detailed context, you might refer to this GitHub issue that discusses the handling of the PREFECT_API_URL
in various configurations and commands of the Prefect CLI.
This method will help you achieve what you need, assuming you find joy in such repetitive tasks.Nate
07/09/2024, 5:23 PMprefect cloud open
and that will open the current workspace in your browserFlorent VanDeMoortele
07/10/2024, 7:44 AMprefect cloud open
doesn't log anything, so I can't retrieve the URL (I have a script and I need the URL to create a redirection on my server). Do you have any idea?Nate
07/12/2024, 3:28 AMFlorent VanDeMoortele
07/12/2024, 8:15 AM