File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ def check_mutability_issues(
363363 if original_val is not None and replacement_value is not None :
364364 cls .check_mutability_issues (original_val , replacement_value )
365365
366- def mark_with_schema (self ) -> None :
366+ def set_complex_attribute_urns (self ) -> None :
367367 """Navigate through attributes and sub-attributes of type ComplexAttribute, and mark them with a '_schema' attribute.
368368
369369 '_schema' will later be used by 'get_attribute_urn'.
@@ -472,7 +472,7 @@ def model_serializer_exclude_none(
472472 self , handler : SerializerFunctionWrapHandler , info : SerializationInfo
473473 ) -> dict [str , Any ]:
474474 """Remove `None` values inserted by the :meth:`~scim2_models.base.BaseModel.scim_serializer`."""
475- self .mark_with_schema ()
475+ self .set_complex_attribute_urns ()
476476 result = handler (self )
477477 return {key : value for key , value in result .items () if value is not None }
478478
You can’t perform that action at this time.
0 commit comments