misc: add __repr__ to lazy parts (#73761)

This commit is contained in:
Frédéric Péters 2023-01-23 19:29:58 +01:00 committed by Gitea
parent 3b61fb5874
commit d5e62bd94a
1 changed files with 4 additions and 0 deletions

View File

@ -161,6 +161,10 @@ class LazyEvolutionList(list):
self._load()
return super().__add__(values)
def __repr__(self):
self._load()
return super().__repr__()
def __contains__(self, value):
self._load()
return super().__contains__(value)