Skip to content

Commit ad387d1

Browse files
committed
typos and format
1 parent 07b1a3f commit ad387d1

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

O365/utils/query.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -429,14 +429,14 @@ def __or__(self, other: Optional[QueryBase]) -> CompositeFilter:
429429
class QueryBuilder:
430430

431431
_attribute_mapping = {
432-
'from': 'from/emailAddress/address',
433-
'to': 'toRecipients/emailAddress/address',
434-
'start': 'start/DateTime',
435-
'end': 'end/DateTime',
436-
'due': 'duedatetime/DateTime',
437-
'reminder': 'reminderdatetime/DateTime',
438-
'flag': 'flag/flagStatus',
439-
'body': 'body/content'
432+
"from": "from/emailAddress/address",
433+
"to": "toRecipients/emailAddress/address",
434+
"start": "start/DateTime",
435+
"end": "end/DateTime",
436+
"due": "duedatetime/DateTime",
437+
"reminder": "reminderdatetime/DateTime",
438+
"flag": "flag/flagStatus",
439+
"body": "body/content"
440440
}
441441

442442
def __init__(self, protocol: Union[Protocol, Type[Protocol]]):

O365/utils/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ def all(self, *, collection, word, attribute=None, func=None, operation=None, ne
12561256
inside the collection
12571257
:param str operation: the logical operation to apply to the
12581258
attribute inside the collection
1259-
:param bool negation: negate the funcion or operation inside the iterable
1259+
:param bool negation: negate the function or operation inside the iterable
12601260
:rtype: Query
12611261
"""
12621262

0 commit comments

Comments
 (0)