@web.asynchronous
    @gen.engine
    def get(self, *args, **kwargs):
        # Create the model and fetch its data
        self.model = self.get_model(kwargs.get('id'))
        result = yield self.model.fetch()

        # If model is not found, return 404
        if not result:
            LOGGER.debug('Not found')
            self.not_found()
            return

        # Stub to check for read permissions
        if not self.has_read_permission():
            LOGGER.debug('Permission denied')
            self.permission_denied()
            return

        # Add the headers and return the content as JSON
        self.add_headers()
        self.finish(self.model_json())
Test the permutation works on a list of length 1
dataset/ETHPy150Open gmr/tinman/tinman/handlers/mixins.py/ModelAPIMixin.get--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/tests/test_testingutils.py/TestPermutations.test1ElementList