Skip to content

Commit

Permalink
Clarification in task 1 for parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ReTeam Labs committed May 5, 2020
1 parent 113f56b commit 856e5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ We are not happy with the bland text of the reminders and we'd like them to have

In the file `src/reminder.py` you fill find the base class `PrefixedReminder`. Note its docstring.

In the same `src/reminder.py` file, create another class, `PoliteReminder`, which inherits from `PrefixedReminder`. Initiate its parent class by calling `super().__init__()` with a polite prefix (the prefix should contain the word *"please"*).
In the same `src/reminder.py` file, create another class, `PoliteReminder`, which inherits from `PrefixedReminder`. Its `__init__()` should accept a `text` parameter; for now you don't need to use it. Initiate the parent class by calling `super().__init__()` with a polite prefix (the prefix should contain the word *"please"*).

Now, in the file `src/database.py`, import your newly created `PoliteReminder` from `src.reminder` module.

Expand Down

0 comments on commit 856e5bd

Please sign in to comment.