Skip to content

Commit b234632

Browse files
committed
doc: indicate that invalid serialization attribute parameters are ignored
1 parent 7a7a044 commit b234632

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scim2_models/rfc7643/resource.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,9 @@ def model_dump(
336336
messages. Pass :data:`None` to get the default Pydantic behavior.
337337
:param attributes: A multi-valued list of strings indicating the names of resource
338338
attributes to return in the response, overriding the set of attributes that
339-
would be returned by default.
339+
would be returned by default. Invalid values are ignored.
340340
:param excluded_attributes: A multi-valued list of strings indicating the names of resource
341-
attributes to be removed from the default set of attributes to return.
341+
attributes to be removed from the default set of attributes to return. Invalid values are ignored.
342342
"""
343343
dump_kwargs = self._prepare_model_dump(
344344
scim_ctx, attributes, excluded_attributes, **kwargs
@@ -362,9 +362,9 @@ def model_dump_json(
362362
messages. Pass :data:`None` to get the default Pydantic behavior.
363363
:param attributes: A multi-valued list of strings indicating the names of resource
364364
attributes to return in the response, overriding the set of attributes that
365-
would be returned by default.
365+
would be returned by default. Invalid values are ignored.
366366
:param excluded_attributes: A multi-valued list of strings indicating the names of resource
367-
attributes to be removed from the default set of attributes to return.
367+
attributes to be removed from the default set of attributes to return. Invalid values are ignored.
368368
"""
369369
dump_kwargs = self._prepare_model_dump(
370370
scim_ctx, attributes, excluded_attributes, **kwargs

0 commit comments

Comments
 (0)