We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4973882 commit e049d03Copy full SHA for e049d03
1 file changed
scim2_tester/filling.py
@@ -175,6 +175,12 @@ def fill_with_random_values(
175
176
fix_primary_attributes(obj)
177
178
+ # Ensure reference consistency for all complex sub-attributes
179
+ for field_name in type(obj).model_fields:
180
+ child = getattr(obj, field_name, None)
181
+ if child is not None:
182
+ fix_reference_values_in_value(child)
183
+
184
return obj
185
186
0 commit comments