Skip to content

Commit 97060b0

Browse files
committed
fixed select
1 parent 060561b commit 97060b0

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

O365/utils/query.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -713,11 +713,7 @@ def select(self, *attributes: str) -> SelectFilter:
713713
"""
714714
select = SelectFilter()
715715
for attribute in attributes:
716-
attribute = self.protocol.convert_case(attribute)
717-
if "/" in attribute:
718-
# only parent attribute can be selected
719-
attribute = attribute.split("/")[0]
720-
select.append(attribute)
716+
select.append(self.protocol.convert_case(attribute))
721717
return select
722718

723719
def expand(self, relationship: str, select: Optional[SelectFilter] = None) -> ExpandFilter:

0 commit comments

Comments
 (0)