CBSE-8974 mentions the code in this doc is wrong. Note the CamelCase in
print("Reported execution time: "
|
+ result.metaData().metrics().executionTime())
|
for instance.
Also - the code itself is broken - see PYCBC-977. Update this with working code, once 1040 is fixed.