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/location.py   dycapo(Download)
            if username:
                person = server.models.Person.objects.get(username=username)
                result = server.common.getPosition(user,person)
                return rest.utils.extract_result_from_response(result)
            return server.models.Location.objects.all()
            if username:
                person = server.models.Person.objects.get(username=username)
                result = server.common.getPosition(user,person)
                return rest.utils.extract_result_from_response(result)
            return server.models.Location.objects.all()