fix/metal_archives #10
@ -46,7 +46,7 @@ class Collection(Generic[T]):
|
||||
def _map_element(self, __object: T, from_map: bool = False):
|
||||
self._contains_ids.add(__object.id)
|
||||
|
||||
for name, value in __object.indexing_values:
|
||||
for name, value in (*__object.indexing_values, ('id', __object.id)):
|
||||
if value is None or value == __object._inner._default_values.get(name):
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user