Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Get a method dict from a method

src/p/y/py2json-HEAD/py2json/test/test_py2json.py   py2json(Download)
 
        json_smd = Py2JSON(Foo)
        assert json_smd._get_method_schema(Foo().foo) == {'target': 'foo', 'parameters': [{'default': 'this is a string', 'optional': False, 'type': 'string', 'name': 'param'}]}
 
    def test_get_class_schema(self):