Skip to content

Commit

Permalink
Added LessonEntry 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 7415ef9 commit a39e022
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions petersbugredu_wrap/types/lesson_entry.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
from petersbugredu_wrap.types.identity import Identity
from petersbugredu_wrap.types.task import Task


class LessonEntry:
def __init__(self, identity: Identity, number: int, datetime_from: str, datetime_to: str, subject_id: int,
subject_name: str, content_name: str, content_description, content_additional_material,
tasks: list[Task], estimates: list, action_payload):
"""
Class represents lesson entry in API
:param identity:
:param number:
:param datetime_from:
:param datetime_to:
:param subject_id:
:param subject_name:
:param content_name:
:param content_description:
:param content_additional_material:
:param tasks:
:param estimates:
:param action_payload:
"""

self.action_payload = action_payload
self.estimates = estimates
self.tasks = tasks
self.content_additional_material = content_additional_material
self.content_description = content_description
self.content_name = content_name
self.subject_name = subject_name
self.subject_id = subject_id
self.datetime_to = datetime_to
self.datetime_from = datetime_from
self.number = number
self.identity = identity
raise NotImplementedError

0 comments on commit a39e022

Please sign in to comment.