mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-14 21:35:03 -05:00
22 lines
371 B
Python
22 lines
371 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
'''
|
||
|
Single-process in-memory store.
|
||
|
|
||
|
The shove psuedo-URL for a simple store is:
|
||
|
|
||
|
simple://
|
||
|
'''
|
||
|
|
||
|
from shove import BaseStore, SimpleBase
|
||
|
|
||
|
|
||
|
class SimpleStore(SimpleBase, BaseStore):
|
||
|
|
||
|
'''Single-process in-memory store.'''
|
||
|
|
||
|
def __init__(self, engine, **kw):
|
||
|
super(SimpleStore, self).__init__(engine, **kw)
|
||
|
|
||
|
|
||
|
__all__ = ['SimpleStore']
|