medved/lib/data/Filter.py

20 lines
347 B
Python
Raw Normal View History

2018-04-02 22:41:10 +00:00
from lib import Loader
class Filter:
2018-04-02 23:47:50 +00:00
"""Base class for filters..? ehm, it should be part of storage, i think"""
2018-04-02 22:41:10 +00:00
def __init__(self):
self._not_exist = []
self._exist = []
self._equal = {}
self._not_equal = {}
def generate(self):
pass
def MongoFilter(filter):
def generate(self):
data = {}
#for i in
# dunno