Nils
10/10/2024, 12:45 PMprefect automations ls
Bianca Hoch
10/10/2024, 3:44 PMVersion: 3.0.4
API version: 0.8.4
Python version: 3.11.4
Git commit: c068d7e2
Built: Tue, Oct 1, 2024 11:54 AM
OS/Arch: darwin/arm64
Profile: local
Server type: server
Pydantic version: 2.9.2
Bianca Hoch
10/10/2024, 3:45 PMBianca Hoch
10/10/2024, 3:47 PMPREFECT_API_URL
set to communicate with your server? If you're hosting it locally, it should be PREFECT_API_URL='<http://127.0.0.1:4200/api>'
Bianca Hoch
10/10/2024, 3:48 PMprefect profile inspect
should help you confirm thatNils
10/10/2024, 4:51 PMPREFECT_API_URL
is set correctly. I'm also able to deploy flows to the (self-hosted) server so I don't think that's the problem. When I go to the Automations and check the network traffic I see that the api/automations/filter
endpoint retrieves the created automations. They just don't show up in UI 😐Bianca Hoch
10/10/2024, 5:55 PMNils
10/11/2024, 9:39 AMNils
10/11/2024, 10:51 AMNils
10/11/2024, 11:54 AMNils
10/11/2024, 12:02 PMactions=[
prefect.events.actions.CallWebhook(
block_document_id="XXXXX"
)
]
How would I need to add a CallWebhook
action when creating an automation via the Python SDK?