Пример #1
0
def test_json_dumps():
    class TestClass:
        pass

    float_value = 1.3
    adict = dict(test=TestClass, normal=float_value)
    json_dumps(adict)
Пример #2
0
 def __repr__(self):
     rep = {
         "plugin_type": self.plugin_type,
         "path": self.absolute_import_path,
     }
     rep.update(self.properties)
     return json_dumps(rep)
Пример #3
0
 def __repr__(self):
     rep = {"plugin_type": self.plugin_type,
            "path": self.absolute_import_path}
     rep.update(self.properties)
     return json_dumps(rep)