prefect.server.events.jinja_filters
ui_resource_events_url(ctx, obj)
Given a Resource or Model, return a UI link to the events page
filtered for that resource. If an unsupported object is provided,
return None
.
Currently supports Automation, Resource, Deployment, Flow, FlowRun, TaskRun, and WorkQueue objects. Within a Resource, deployment, flow, flow-run, task-run, and work-queue are supported.
Source code in src/prefect/server/events/jinja_filters.py
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
|
ui_url(ctx, obj)
Return the UI URL for the given object.
Source code in src/prefect/server/events/jinja_filters.py
30 31 32 33 |
|