FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

new Commands · robquant/python-webuntis@1b8955f · GitHub

Commit 1b8955f

Browse files
committed
new Commands
1 parent f589e0c commit 1b8955f

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

‎webuntis/objects.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,8 +734,10 @@ class StudentsList(ListResult):
734734
_itemclass = StudentObject
735735

736736

737-
'''
737+
"""
738738
@TODO: need additional rights
739+
"""
740+
739741
class ExamTypeObject(Result):
740742
"""Represents an Exam Type."""
741743

@@ -756,4 +758,4 @@ class AbsenceObject(Result):
756758
class AbsencesList(ListResult):
757759
"""A list of absences."""
758760
_itemclass = AbsenceObject
759-
'''
761+

‎webuntis/objects.pyi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ class TimegridObject(ListResult):
417417

418418
"""
419419
@TODO: need additional rights
420+
"""
420421

421422
class ExamTypeObject(Result):
422423
...
@@ -454,4 +455,3 @@ class AbsencesList(ListResult):
454455
def __getitem__(self, i: int) -> AbsenceObject:
455456
...
456457

457-
"""

‎webuntis/session.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,8 @@ def students(self):
333333

334334
'''
335335
@TODO: need additional rights
336+
'''
337+
336338
@result_wrapper
337339
def examTypes(self):
338340
"""Information about the Exam types.
@@ -369,8 +371,8 @@ def exams(self, start, end, examTypeId=0):
369371
'examTypeId': examTypeId
370372
}
371373

372-
return objects.ExamList, 'getExams', parameters
373-
'''
374+
return objects.ExamsList, 'getExams', parameters
375+
374376

375377
@result_wrapper
376378
def timetableWithAbsences(self, start, end):

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL