def get_schedule(oid): ctx = DBContext() return ctx.get('cm_schedule', oid)
def get_function(oid): context = DBContext() return context.get("um_function", oid)
def get_auth(oid): context = DBContext() return context.get("um_auth", oid)
def get_menu(oid): context = DBContext() return context.get("um_menu", oid)