(self)
return self._object_data
Returns dict from the first object of the resource data.
Returns dict from the first object of the resource data.
Returns dict from the first object of the resource data .
def _get_data(self):
        """Returns dict from the first object of the resource data."""
        if self._object_data:
            return self._object_data

        data = self.data
        objects = data.get('objects')
        if objects:
            self._object_data = objects[0]
        else:
            self._object_data = {}

        return self._object_data
def _get_data ( self ) : if self . _object_data : return self . _object_data data = self . data objects = data . get ( 'objects' ) if objects : self . _object_data = objects [ 0 ] else : self . _object_data = { } return self . _object_data