We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fb188b commit 50612d5Copy full SHA for 50612d5
O365/utils/utils.py
@@ -636,9 +636,6 @@ class Query:
636
'flag': 'flag/flagStatus',
637
'body': 'body/content'
638
}
639
- _select_mapping = {
640
- "meetingMessageType": "microsoft.graph.eventMessage/meetingMessageType",
641
- }
642
643
def __init__(self, attribute=None, *, protocol):
644
""" Build a query to apply OData filters
@@ -865,8 +862,11 @@ def _get_mapping(self, attribute):
865
862
return None
866
863
867
864
def _get_select_mapping(self, attribute):
868
- mapping = self._select_mapping.get(attribute)
869
- return mapping or attribute
+ if attribute in ["meetingMessageType"]:
+ return (
+ f"{self.protocol.keyword_data_store['event_message_type']}/{attribute}"
+ )
+ return attribute
870
871
@fluent
872
def new(self, attribute, operation=ChainOperator.AND):
0 commit comments