def get_filters_for(doctype):
 config = get_notification_config()
 return config.get(u'for_doctype').get(doctype, {})

def get_filters_for ( doctype ) : config = get_notification_config ( ) return config . get ( u'for_doctype' ) . get ( doctype , { } )
get open filters for doctype .