[python] how do i specify the automation API equiv...
# automation-api
h
[python] how do i specify the automation API equivalents of
--debug --logflow --verbose 9
?
l
r
You should be able to get most (maybe all?) of the same information from the event log’s `DiagEvent`s
h
@red-match-15116 example code please? i'm using python3 with azure-native
r
I don’t have exact example code in python, but basically you’ll want to do something like here: https://github.com/pulumi/pulumi/blob/master/sdk/python/lib/test/automation/test_local_workspace.py#L505 But instead of a summaryEvent, you’ll want to look at the `DiagnosticEvent`s - which are defined in this file The most straightforward thing you could do is to just do
on_event=print
to print all the events to stdout.