

def serialize(self, data):
    'Serialize object to a string.\n\n        :param data: object being serialized\n        :return: stringified JSON-object\n        '
    return jsonutils.dumps(self)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py BaseValidatorTest.serialize/VarMisuse@19/62 `data`->`self`