Ejemplo n.º 1
0
 def make_assigment(self,
                    block_key=None,
                    title=None,
                    url=None,
                    date=None,
                    requires_file_access=False):
     """ Bundles given info into a namedtupled like get_course_assignments returns """
     return _Assignment(block_key, title, url, date, requires_file_access)
Ejemplo n.º 2
0
 def make_assigment(self,
                    block_key=None,
                    title=None,
                    url=None,
                    date=None,
                    contains_gated_content=False,
                    complete=False,
                    past_due=False,
                    assignment_type=None):
     """ Bundles given info into a namedtupled like get_course_assignments returns """
     return _Assignment(block_key, title, url, date, contains_gated_content,
                        complete, past_due, assignment_type)