Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event is None when using Compound Trigger to trigger Deployment #16399

Open
thoec opened this issue Dec 16, 2024 · 0 comments
Open

Event is None when using Compound Trigger to trigger Deployment #16399

thoec opened this issue Dec 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@thoec
Copy link

thoec commented Dec 16, 2024

Bug summary

I want to use a compound event trigger to trigger a Deployment and passing along the triggering events. Triggering the Deployment works, but, I can not get it to work passing parameters with data from the events to the Triggered Deployment. See the compound trigger example here: https://docs.prefect.io/v3/automate/events/automations-triggers#define-triggers-in-prefect-yaml. When I reference {{ event }} I just get None{{ event }} works fine for my other Deployments which are triggered by a single event. So, my Deployment is triggered. But with None as parameter instead of the actual events triggering the Deployment.

Version info

Version:             3.1.6
API version:         0.8.4
Python version:      3.11.10
Git commit:          6bfce9e8
Built:               Wed, Dec 11, 2024 10:46 AM
OS/Arch:             linux/x86_64
Profile:             ephemeral
Server type:         server
Pydantic version:    2.10.3
Integrations:
  prefect-docker:    0.6.2
  prefect-kubernetes: 0.5.3

Additional context

Using Prefect server docker image: prefecthq/prefect:3.1.5-python3.11 (both for Prefect server and Deployment)

Attached prefect.yaml (please rename it, was not allowed to attach a yaml file for some reason...)
prefect.json

@thoec thoec added the bug Something isn't working label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant