79222625

Date: 2024-11-25 10:30:18
Score: 1.5
Natty:
Report link

Assuming event is a dictionary or alike, you could use event.get('status') to retrieve a value or a None if the key-mapping doesn't exist.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Bjarke Kingo