We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ecff91 commit 96b2ad3Copy full SHA for 96b2ad3
pydantic_scim2/base.py
@@ -10,5 +10,4 @@ class SCIM2Model(BaseModel):
10
11
12
def int_to_str(status: Optional[int]) -> Optional[str]:
13
- if status is not None:
14
- return str(status)
+ return None if status is None else str(status)
0 commit comments