File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -636,6 +636,9 @@ class Query:
636
636
'flag' : 'flag/flagStatus' ,
637
637
'body' : 'body/content'
638
638
}
639
+ _select_mapping = {
640
+ "meetingMessageType" : "microsoft.graph.eventMessage/meetingMessageType" ,
641
+ }
639
642
640
643
def __init__ (self , attribute = None , * , protocol ):
641
644
""" Build a query to apply OData filters
@@ -685,6 +688,7 @@ def select(self, *attributes):
685
688
if '/' in attribute :
686
689
# only parent attribute can be selected
687
690
attribute = attribute .split ('/' )[0 ]
691
+ attribute = self ._get_select_mapping (attribute )
688
692
self ._selects .add (attribute )
689
693
else :
690
694
if self ._attribute :
@@ -860,6 +864,10 @@ def _get_mapping(self, attribute):
860
864
return attribute
861
865
return None
862
866
867
+ def _get_select_mapping (self , attribute ):
868
+ mapping = self ._select_mapping .get (attribute )
869
+ return mapping or attribute
870
+
863
871
@fluent
864
872
def new (self , attribute , operation = ChainOperator .AND ):
865
873
""" Combine with a new query
You can’t perform that action at this time.
0 commit comments