Feat: add post student
This commit is contained in:
@@ -29,5 +29,5 @@ class Student:
|
||||
def to_tuple(self) -> tuple:
|
||||
return (self.id, self.name, self.tribe.name)
|
||||
|
||||
def to_dict(self) -> dict:
|
||||
def to_dict(self, full_tribe=False) -> dict:
|
||||
return {"id": self.id, "name": self.name, "tribe_name": self.tribe.name}
|
||||
|
||||
Reference in New Issue
Block a user