7 lines
132 B
Python

async def _get_params(sor, name):
ps = await sor.R('params', {'params_name': name})
if len(ps) > 0:
return ps[0].params_value