| Conditions | 2 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | from django_redis.cache import RedisCache as PlainRedisCache |
||
| 9 | @property |
||
| 10 | def __client(self): |
||
| 11 | try: |
||
| 12 | return self.client.get_client() |
||
| 13 | except Exception as exc: |
||
| 14 | raise NotImplementedError( |
||
| 15 | "RedisCache doesn't have a raw client: %r. " |
||
| 16 | "Use 'redis_cache.client.DefaultClient' as the CLIENT_CLASS !" % exc |
||
| 17 | ) |
||
| 27 |