prefect.cli.events
stream(format=typer.Option(StreamFormat.json, '--format', help='Output format (json or text)'), output_file=typer.Option(None, '--output-file', help='File to write events to'), account=typer.Option(False, '--account', help='Stream events for entire account, including audit logs'), run_once=typer.Option(False, '--run-once', help='Stream only one event'))
async
Subscribes to the event stream of a workspace, printing each event
as it is received. By default, events are printed as JSON, but can be
printed as text by passing --format text
.
Source code in src/prefect/cli/events.py
27 28 29 30 31 32 33 34 35 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 |
|