Skip to content

Commit 4789645

Browse files
committed
doc: remove explicit types
1 parent 6a2a26f commit 4789645

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

scim2_models/messages/search_request.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ def validate_sort_by_syntax(cls, v: Optional[str]) -> Optional[str]:
7171
"""Validate syntax of sort_by attribute path.
7272
7373
:param v: The sort_by attribute path to validate
74-
:type v: Optional[str]
7574
:return: The validated sort_by attribute path
76-
:rtype: Optional[str]
7775
:raises ValueError: If sort_by attribute path has invalid syntax
7876
"""
7977
if v is None:

scim2_models/reference.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ def get_types(cls, type_annotation: Any) -> list[str]:
6161
"""Get reference types from a type annotation.
6262
6363
:param type_annotation: Type annotation to extract reference types from
64-
:type type_annotation: Any
6564
:return: List of reference type strings
66-
:rtype: list[str]
6765
"""
6866
first_arg = get_args(type_annotation)[0]
6967
types = (

scim2_models/utils.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,7 @@ def _validate_scim_path_syntax(path: str) -> bool:
103103
"""Check if path syntax is valid according to RFC 7644 simplified rules.
104104
105105
:param path: The path to validate
106-
:type path: str
107106
:return: True if path syntax is valid, False otherwise
108-
:rtype: bool
109107
"""
110108
if not path or not path.strip():
111109
return False
@@ -135,9 +133,7 @@ def _validate_scim_urn_syntax(path: str) -> bool:
135133
"""Validate URN-based path format.
136134
137135
:param path: The URN path to validate
138-
:type path: str
139136
:return: True if URN path format is valid, False otherwise
140-
:rtype: bool
141137
"""
142138
# Basic URN validation: should start with urn:
143139
if not path.startswith("urn:"):

0 commit comments

Comments
 (0)