def test_json_dumps(): class TestClass: pass float_value = 1.3 adict = dict(test=TestClass, normal=float_value) json_dumps(adict)
def __repr__(self): rep = { "plugin_type": self.plugin_type, "path": self.absolute_import_path, } rep.update(self.properties) return json_dumps(rep)
def __repr__(self): rep = {"plugin_type": self.plugin_type, "path": self.absolute_import_path} rep.update(self.properties) return json_dumps(rep)