def get_resource_item(self, instance, **kwargs):
        kwargs.setdefault('endpoint', self)
        #if 'datatap' not in kwargs:
        #    kwargs['datatap'] = self.get_datatap()
        return self.get_resource_item_class()(instance=instance, **kwargs)
Wraps an object in a resource item
dataset/ETHPy150Open zbyte64/django-hyperadmin/hyperadmin/endpoints.py/BaseEndpoint.get_resource_item