home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor save and remove methods of BaseObject subclasses.
[plomtask]
/
plomtask
/
days.py
diff --git
a/plomtask/days.py
b/plomtask/days.py
index 8dd384349bd1419a16b19971ee4d9aa81deff796..0e07bf7aeb8837fc28031d2d924d65d17b0256bd 100644
(file)
--- a/
plomtask/days.py
+++ b/
plomtask/days.py
@@
-94,7
+94,3
@@
class Day(BaseModel[str]):
"""Return date succeeding date of this Day."""
next_datetime = self.datetime + timedelta(days=1)
return next_datetime.strftime(DATE_FORMAT)
"""Return date succeeding date of this Day."""
next_datetime = self.datetime + timedelta(days=1)
return next_datetime.strftime(DATE_FORMAT)
-
- def save(self, db_conn: DatabaseConnection) -> None:
- """Add (or re-write) self to DB and cache."""
- self.save_core(db_conn)