Spaces:
Running
on
T4
Running
on
T4
Update ordered_multimap.py
Browse files- ordered_multimap.py +1 -1
ordered_multimap.py
CHANGED
@@ -14,7 +14,7 @@ class OrderedMultiIndexMapWeakRef:
|
|
14 |
|
15 |
def insert(self, id, text, title: str, sub_title: str):
|
16 |
self.data.append(text)
|
17 |
-
self.ids.append(id)
|
18 |
self.index_list.append(WeakValueDictionary({'title': StringWrapper(title), 'sub_title': StringWrapper(sub_title)}))
|
19 |
|
20 |
def all_ids(self):
|
|
|
14 |
|
15 |
def insert(self, id, text, title: str, sub_title: str):
|
16 |
self.data.append(text)
|
17 |
+
self.ids.append(id.int)
|
18 |
self.index_list.append(WeakValueDictionary({'title': StringWrapper(title), 'sub_title': StringWrapper(sub_title)}))
|
19 |
|
20 |
def all_ids(self):
|