def get_integration_controller(service_name):
 try:
  return frappe.get_doc(u'{0} Settings'.format(service_name))
 except Exception:
  frappe.throw(_(u'Module {service} not found'.format(service=service_name)))

def get_integration_controller ( service_name ) : try : return frappe . get_doc ( u'{0} Settings' . format ( service_name ) ) except Exception : frappe . throw ( _ ( u'Module {service} not found' . format ( service = service_name ) ) )
returns integration controller module from app_name .