Skip to content

Commit a2f466f

Browse files
committed
Update to correct get_filter_by_attribute docs
1 parent d8a1bd5 commit a2f466f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

O365/utils/query.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def get_filter_by_attribute(self, attribute: str) -> Optional[str]:
3939
"""
4040
Returns a filter value by attribute name. It will match the attribute to the start of each filter attribute
4141
and return the first found.
42+
4243
:param attribute: the attribute you want to search
4344
:return: The value applied to that attribute or None
4445
"""

O365/utils/utils.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,13 @@ def close_group(self):
13081308
return self
13091309

13101310
def get_filter_by_attribute(self, attribute):
1311-
""" Returns a filter word applied to an attribute """
1311+
"""
1312+
Returns a filter value by attribute name. It will match the attribute to the start of each filter attribute
1313+
and return the first found.
1314+
1315+
:param attribute: the attribute you want to search
1316+
:return: The value applied to that attribute or None
1317+
"""
13121318

13131319
attribute = attribute.lower()
13141320

0 commit comments

Comments
 (0)