aboutsummaryrefslogtreecommitdiff
path: root/umosapi/utils.py
blob: bd5f655eddfc7f0b2a8391273e1d8babc5f6f4ca (plain)
1
2
3
4
5
6
7
8
9
from bson.json_util import dumps
from json import loads


def sanitize(uobjects):
    """
    Simply transform a list of uobject into a list of uobject stringised
    """
    return loads(dumps(uobjects))