def get_targets():
 logs = NodeLog.find((((((((((Q('action', 'eq', 'registration_initiated') | Q('action', 'eq', 'registration_approved')) | Q('action', 'eq', 'registration_cancelled')) | Q('action', 'eq', 'retraction_initiated')) | Q('action', 'eq', 'retraction_approved')) | Q('action', 'eq', 'retraction_cancelled')) | Q('action', 'eq', 'embargo_initiated')) | Q('action', 'eq', 'embargo_approved')) | Q('action', 'eq', 'embargo_completed')) | Q('action', 'eq', 'embargo_cancelled')))
 return logs

def get_targets ( ) : logs = NodeLog . find ( ( ( ( ( ( ( ( ( ( Q ( 'action' , 'eq' , 'registration_initiated' ) | Q ( 'action' , 'eq' , 'registration_approved' ) ) | Q ( 'action' , 'eq' , 'registration_cancelled' ) ) | Q ( 'action' , 'eq' , 'retraction_initiated' ) ) | Q ( 'action' , 'eq' , 'retraction_approved' ) ) | Q ( 'action' , 'eq' , 'retraction_cancelled' ) ) | Q ( 'action' , 'eq' , 'embargo_initiated' ) ) | Q ( 'action' , 'eq' , 'embargo_approved' ) ) | Q ( 'action' , 'eq' , 'embargo_completed' ) ) | Q ( 'action' , 'eq' , 'embargo_cancelled' ) ) ) return logs
get addongithubnodesettings records with authorization and a non-null webhook .