(self, refresh_cache=False)
return self.resource_data
Load resource data once and cache the result.

        Args:
            refresh_cache: Boolean indicating if to update cache.

        Returns:
            Dictionary with resource data.
Load resource data once and cache the result.
Load resource data once and cache the result .
def lazyload_data(self, refresh_cache=False):
        """Load resource data once and cache the result.

        Args:
            refresh_cache: Boolean indicating if to update cache.

        Returns:
            Dictionary with resource data.
        """
        if not self.resource_data or refresh_cache:
            self.resource_data = self.api.fetch_resource_data(self.resource_uri)
        return self.resource_data
def lazyload_data ( self , refresh_cache = False ) : if not self . resource_data or refresh_cache : self . resource_data = self . api . fetch_resource_data ( self . resource_uri ) return self . resource_data