Scenario: Duplicate: Fix data traversal and duplicate method.

This commit is contained in:
parouby committed 2025-09-15 10:11:44 +02:00
1 parent 9043b6e2a3
commit 303f6bb35b
5 files changed
+35 -3

No files matched your search

+7
View File
@@ -99,6 +99,13 @@ class Reach(SQLSubModel):
return ok
def _data_traversal(self,
predicate=lambda obj, data: True,
modifier=lambda obj, data: None,
data={}):
for p in self._profiles:
p._data_traversal(predicate, modifier, data)
def profile(self, i):
"""Returns profile at index i