Use TheMovieDB v3 api
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#-----------------------
|
||||
# Name: cache_null.py
|
||||
# Python Library
|
||||
# Author: Raymond Wagner
|
||||
# Purpose: Null caching engine for debugging purposes
|
||||
#-----------------------
|
||||
|
||||
from cache_engine import CacheEngine
|
||||
|
||||
class NullEngine( CacheEngine ):
|
||||
"""Non-caching engine for debugging."""
|
||||
name = 'null'
|
||||
def configure(self): pass
|
||||
def get(self, date): return []
|
||||
def put(self, key, value, lifetime): return []
|
||||
def expire(self, key): pass
|
||||
|
||||
Reference in New Issue
Block a user