https://prefect.io logo
Title
t

Tim Galvin

11/23/2022, 7:47 AM
Two questions. What is the collective noun for people who use Prefect? Is there a command that tries to communicate with an Orion server in a "hello world" sense to purely test for connectivity? I would like to perform an initial test up from before starting my python workflow. I have a self-hosted Orion server and the aim is purely to make sure this Orion server is accessible.
m

Mathijs Carlu

11/23/2022, 8:05 AM
We're all Prefectionists 🙂 I don't think there is a CLI command, but you could:
async with OrionClient(API_URL) as client:
result = await client.hello()
result2 = await client.api_healthcheck()
:prefect: 2
t

Tim Galvin

11/23/2022, 8:07 AM
Prefectionists is actually pretty awesome. I had seen a
hello
check available on the REST api side of things. Having a CLI entry point for this as a straight up test (say in a bash script where we test against an exit code) would be stellar
p

Peyton Runyan

11/24/2022, 3:24 PM
Hey Tim! If you've got feature requests, the best way to get it on our map and under evaluation is through an issue. Could you create one here: https://github.com/PrefectHQ/prefect/issues
I think something like
prefect cloud hello
and
prefect orion hello
could be reasonable additions
t

Tim Galvin

11/25/2022, 2:52 AM
Added an issue 🙂
❤️ 1
:thank-you: 1