experimental/schoology/schoolopy/main.py
def delete_discussion(self, comment_id, post_id, district_id=None, school_id=None, section_id=None, group_id=None):
        """
        Delete discussions in any realm.

        :param comment_id: ID of the comment to delete.
        :param post_id: ID of the post on which the comment is written.
        :param *_id: ID of realm.
        """
        if district_id:
            self.delete_district_discussion(discussion_id, district_id)
        elif school_id:
            self.delete_school_discussion(discussion_id, school_id)
        elif section_id:
            self.delete_section_discussion(discussion_id, section_id)
        elif group_id:
            self.delete_group_discussion(discussion_id, group_id)
        else:
            raise TypeError('Realm id property required.')

        Delete discussions in any realm.

        :param comment_id: ID of the comment to delete.
        :param post_id: ID of the post on which the comment is written.
        :param *_id: ID of realm.
        
Delete discussions in any realm.
Delete discussions in any realm .
def delete_discussion(self, comment_id, post_id, district_id=None, school_id=None, section_id=None, group_id=None):
        if district_id:
            self.delete_district_discussion(discussion_id, district_id)
        elif school_id:
            self.delete_school_discussion(discussion_id, school_id)
        elif section_id:
            self.delete_section_discussion(discussion_id, section_id)
        elif group_id:
            self.delete_group_discussion(discussion_id, group_id)
        else:
            raise TypeError('Realm id property required.')
def delete_discussion ( self , comment_id , post_id , district_id = None , school_id = None , section_id = None , group_id = None ) : if district_id : self . delete_district_discussion ( discussion_id , district_id ) elif school_id : self . delete_school_discussion ( discussion_id , school_id ) elif section_id : self . delete_section_discussion ( discussion_id , section_id ) elif group_id : self . delete_group_discussion ( discussion_id , group_id ) else : raise TypeError ( 'Realm id property required.' )
Delete discussions in any realm.
Delete discussions in any realm .
"""
        Delete discussions in any realm.

        :param comment_id: ID of the comment to delete.
        :param post_id: ID of the post on which the comment is written.
        :param *_id: ID of realm.
        """
self
comment_id
ID of the comment to delete.
ID of the comment to delete .
post_id
ID of the post on which the comment is written.
ID of the post on which the comment is written .
district_id
school_id
section_id
group_id
*_id
ID of realm.
ID of realm .