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

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

src/d/y/dycapo-HEAD/rest/wrappers/trip.py   dycapo(Download)
            participation.save()
            if trip.active:
                server.driver.startTrip(trip, author)
            return trip
        return result.to_xmlrpc() #rest.utils.extract_result_from_response(result)
                result = server.driver.finishTrip(trip, current_user)
            elif not trip.active and data['active']:
                result = server.driver.startTrip(trip, current_user)
            else:
                return piston.utils.rc.FORBIDDEN