We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50f6dde commit b81adb2Copy full SHA for b81adb2
docs/examples/snippets.rst
@@ -90,7 +90,7 @@ Iterate over all the investigations and print their title and status.
90
91
for inv in xc.investigations:
92
s = "Investigation ID: {inv_id} Title: {inv_title} Status: {inv_status}"
93
- status = "OPEN" if inv.decision is not None else "CLOSED"
+ status = "OPEN" if inv.decision is None else "CLOSED"
94
print(s.format(inv_id=inv.id, inv_title=inv.title, inv_status=status))
95
96
.. _snippet list comments:
0 commit comments