(op)
return op.get('metadata', {}).get('events', [])
Return the array of events for the operation.
Return the array of events for the operation.
Return the array of events for the operation .
def get_events(op):
  """Return the array of events for the operation."""
  return op.get('metadata', {}).get('events', [])
def get_events ( op ) : return op . get ( 'metadata' , { } ) . get ( 'events' , [ ] )