Skip to content

Commit

Permalink
Updated Child class docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeusina committed Aug 14, 2023
1 parent b6a1126 commit 96d25c8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions petersbugredu_wrap/types/child.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ class Child:
def __init__(self, firstname: str, surname: str, middlename: str, educations: list[Education],
action_payload: ActionPayload, hash_uid: str, identity: Identity, token: str):
"""
This class will store information about child as class parameters/
:param name:
Class represents Children API entity
:param firstname:
:param surname:
:param middlename:
:param education_id:
:param educations:
:param action_payload:
:param hash_uid:
:param identity:
:param token: JWT-Token for using methods
"""
self.middlename = middlename
self.firstname = firstname
Expand All @@ -35,7 +38,6 @@ def __init__(self, firstname: str, surname: str, middlename: str, educations: li
def get_teacher_list(self) -> list[Teacher]:
"""
Function to get list of teachers of concrete student
:param education_id: Student education id
:return: List of teachers
"""
education_id = self.educations[0].education_id
Expand Down

0 comments on commit 96d25c8

Please sign in to comment.