The passthru object cache.
| 96 | |
| 97 | |
| 98 | class NoCache(Cache): |
| 99 | """ |
| 100 | The passthru object cache. |
| 101 | """ |
| 102 | |
| 103 | def get(self, id): |
| 104 | return None |
| 105 | |
| 106 | def getf(self, id): |
| 107 | return None |
| 108 | |
| 109 | def put(self, id, object): |
| 110 | pass |
| 111 | |
| 112 | def putf(self, id, fp): |
| 113 | pass |
| 114 | |
| 115 | |
| 116 | class FileCache(Cache): |