config = getConfig('.') DBPools(config.databases) dbname = get_module_dbname('cms') async with db.sqlorContext(dbname) as sor: data = {'id': getID()} v = params_kw.get('org_id', None) if v is not None: data['org_id'] = v v = params_kw.get('content_type', None) if v is not None: data['content_type'] = v v = params_kw.get('category_id', None) if v is not None: data['category_id'] = v v = params_kw.get('title', None) if v is not None: data['title'] = v v = params_kw.get('subtitle', None) if v is not None: data['subtitle'] = v v = params_kw.get('summary_text', None) if v is not None: data['summary_text'] = v v = params_kw.get('body', None) if v is not None: data['body'] = v v = params_kw.get('image_url', None) if v is not None: data['image_url'] = v v = params_kw.get('tags', None) if v is not None: data['tags'] = v v = params_kw.get('sort_order', None) if v is not None: data['sort_order'] = v v = params_kw.get('status', None) if v is not None: data['status'] = v v = params_kw.get('extra_json', None) if v is not None: data['extra_json'] = v await sor.C('cms_content', data) return {'widgettype': 'Message', 'options': {'text': 'εˆ›ε»ΊζˆεŠŸ', 'messagetype': 'success'}}