mirror of
https://github.com/Code-For-Groningen/temmies.git
synced 2025-07-05 12:44:58 +02:00
Done for today. Time to write some issues so I can remember where to start from tomorrow.
This commit is contained in:
@ -5,10 +5,11 @@ from Base import Base
|
||||
from Exercise import Exercise
|
||||
from requests import Session
|
||||
|
||||
|
||||
class Assignment(Base):
|
||||
def __init__(self, url:str, name:str, session:Session, parent):
|
||||
super().__init__()
|
||||
self.download = Downloadable(url, name, session, self)
|
||||
super().__init__(url, name, session, parent)
|
||||
self.download = Downloadable(name, session, self)
|
||||
|
||||
def __str__(self):
|
||||
return f"Assignment {self.name} in course {self.parent.name}"
|
||||
|
Reference in New Issue
Block a user