def doc2norm_unittest(cls, doc): return DictTool.keys2excluded(doc, [cls.Field.CREATED_AT])
def doc2id_excluded(cls, doc): return DictTool.keys2excluded(doc, [cls.Field._ID])
def doc2meta_keys_removed(cls, doc): return DictTool.keys2excluded(doc, cls.meta_keys())
def config2kwargs(cls, config): return DictTool.keys2excluded( config, [cls.Field.CACHE, cls.Field.SELF2CACHE])