experimental/schoology/schoolopy/main.py
def update_update(self, update, user_id=None, section_id=None, group_id=None):
        """
        Helper function for updating an update in any realm.

        :param update: Update object to post.
        :param *_id: ID of realm.
        """
        if user_id:
            return self.update_district_update(update, district_id)
        elif section_id:
            return self.update_section_update(update, section_id)
        elif group_id:
            return self.update_group_update(update, group_id)
        else:
            raise TypeError('Realm id property required.')

        Helper function for updating an update in any realm.

        :param update: Update object to post.
        :param *_id: ID of realm.
        
Helper function for updating an update in any realm.
Helper function for updating an update in any realm .
def update_update(self, update, user_id=None, section_id=None, group_id=None):
        if user_id:
            return self.update_district_update(update, district_id)
        elif section_id:
            return self.update_section_update(update, section_id)
        elif group_id:
            return self.update_group_update(update, group_id)
        else:
            raise TypeError('Realm id property required.')
def update_update ( self , update , user_id = None , section_id = None , group_id = None ) : if user_id : return self . update_district_update ( update , district_id ) elif section_id : return self . update_section_update ( update , section_id ) elif group_id : return self . update_group_update ( update , group_id ) else : raise TypeError ( 'Realm id property required.' )
Helper function for updating an update in any realm.
Helper function for updating an update in any realm .
"""
        Helper function for updating an update in any realm.

        :param update: Update object to post.
        :param *_id: ID of realm.
        """
self
update
Update object to post.
Update object to post .
user_id
section_id
group_id
*_id
ID of realm.
ID of realm .