Skip to content

Commit

Permalink
Added MarkEntry class(usage not implemented yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeusina committed Aug 14, 2023
1 parent ecf9963 commit 7415ef9
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions petersbugredu_wrap/types/mark_entry.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
class MarkEntry:
def __init__(self, id: int, education_id: int, lesson_id: int, subject_id: int, subject_name: str, date: str,
estimate_value_code: str, estimate_value_name: str, estimate_comment: str):
"""
Class represents mark entry in API
:param id:
:param education_id:
:param lesson_id:
:param subject_id:
:param subject_name:
:param date:
:param estimate_value_code:
:param estimate_value_name:
:param estimate_comment:
"""
self.estimate_comment = estimate_comment
self.estimate_value_name = estimate_value_name
self.estimate_value_code = estimate_value_code
self.date = date
self.subject_name = subject_name
self.subject_id = subject_id
self.lesson_id = lesson_id
self.id = id
self.education_id = education_id
raise NotImplementedError

0 comments on commit 7415ef9

Please sign in to comment.