forked from Github-Mirrors/canaille
refactor: delete an unused index layer in the memory backend
This commit is contained in:
parent
642e6fcd3f
commit
fa45ef6907
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class MemoryModel(Model):
|
|||
if not class_name:
|
||||
class_name = cls.__name__
|
||||
|
||||
return MemoryModel.indexes.setdefault(class_name, {}).setdefault("id", {})
|
||||
return MemoryModel.indexes.setdefault(class_name, {})
|
||||
|
||||
@classmethod
|
||||
def attribute_index(cls, attribute="id", class_name=None):
|
||||
|
|
Loading…
Reference in a new issue