Spaces:
Sleeping
Sleeping
fix: serializable date and time
Browse files- src/input_handling.py +4 -2
src/input_handling.py
CHANGED
@@ -107,8 +107,10 @@ class InputObservation:
|
|
107 |
"author_email": self.author_email,
|
108 |
"date": self.date,
|
109 |
"time": self.time,
|
110 |
-
"date_option": self.date_option,
|
111 |
-
"time_option": self.time_option,
|
|
|
|
|
112 |
"uploaded_filename": self.uploaded_filename
|
113 |
}
|
114 |
|
|
|
107 |
"author_email": self.author_email,
|
108 |
"date": self.date,
|
109 |
"time": self.time,
|
110 |
+
# "date_option": self.date_option,
|
111 |
+
# "time_option": self.time_option,
|
112 |
+
"date_option": str(self.date_option),
|
113 |
+
"time_option": str(self.time_option),
|
114 |
"uploaded_filename": self.uploaded_filename
|
115 |
}
|
116 |
|