File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 66
77log = logging .getLogger (__name__ )
88
9+
910class Group (ApiComponent ):
1011 """ A Microsoft O365 group """
1112
@@ -104,6 +105,7 @@ def get_group_owners(self):
104105
105106 return [self .member_constructor (parent = self , ** {self ._cloud_data_key : lst }) for lst in data .get ('value' , [])]
106107
108+
107109class Groups (ApiComponent ):
108110 """ A microsoft groups class
109111 In order to use the API following permissions are required.
Original file line number Diff line number Diff line change @@ -725,8 +725,7 @@ def send(self, save_to_sent_folder=True):
725725 if not response :
726726 return False
727727
728- self .object_id = 'sent_message' if not self .object_id \
729- else self .object_id
728+ self .object_id = 'sent_message' if not self .object_id else self .object_id
730729 self .__is_draft = False
731730
732731 return True
Original file line number Diff line number Diff line change 1010MAX_BATCH_CHAT_MESSAGES = 50
1111MAX_BATCH_CHATS = 50
1212
13+
1314class Availability (Enum ):
1415 """Valid values for Availability."""
1516
You can’t perform that action at this time.
0 commit comments