[scrobbles] Add dynamic forms for LogData classes
This commit is contained in:
@ -26,6 +26,17 @@ class TaskLogData(BaseLogData):
|
||||
todoist_id: Optional[str] = None
|
||||
todoist_project_id: Optional[str] = None
|
||||
|
||||
_excluded_fields = {
|
||||
"labels",
|
||||
"orgmode_id",
|
||||
"orgmode_state",
|
||||
"orgmode_properties",
|
||||
"orgmode_drawers",
|
||||
"orgmode_timestamps",
|
||||
"todoist_id",
|
||||
"todoist_project_id",
|
||||
}
|
||||
|
||||
def notes_as_str(self) -> str:
|
||||
"""Return formatted notes with line breaks and no keys"""
|
||||
note_block = ""
|
||||
|
||||
Reference in New Issue
Block a user