Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/t/u/tuskar-HEAD/tuskar/api/controllers/v1/rack.py   tuskar(Download)
    def post(self, rack):
        """Create a new Rack."""
        try:
            result = pecan.request.dbapi.create_rack(rack)
            links = [Link.build('self', pecan.request.host_url, 'racks', result.id)]