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 from the docstring useful if the class uses outside
variables not params, the docstring must be restructured text

src/p/y/py2json-HEAD/py2json/test/test_py2json.py   py2json(Download)
                print 'bar'
        json_smd = Py2JSON(Foo)
        assert json_smd._get_docstring_method(name='foo', docstring=Foo().foo.__doc__) == {'target': 'foo', 'parameters': [{'type': 'string', 'optional': False, 'name': 'param', 'description': 'this is the coolest function ever'}]}
 
    def test_get_method_schema(self):