def get_redis(self):
        if self._redis is None:
            self._redis = get_redis_connection(
                server_name=self.redis_server
            )
        return self._redis
Media defined as a dynamic property instead of an inner class.
dataset/ETHPy150Open tschellenbach/Stream-Framework/stream_framework/storage/redis/structures/base.py/RedisCache.get_redis--crossover with--dataset/ETHPy150Open digi604/django-smart-selects/smart_selects/widgets.py/ChainedSelect.media