Merge branch 'main' into avm99963-monorail
Merged commit cd4b3b336f1f14afa02990fdc2eec5d9467a827e
GitOrigin-RevId: e67bbf185d5538e1472bb42e0abb2a141f88bac1
diff --git a/features/dateaction.py b/features/dateaction.py
index a525db1..169f582 100644
--- a/features/dateaction.py
+++ b/features/dateaction.py
@@ -39,6 +39,8 @@
TEMPLATE_PATH = framework_constants.TEMPLATE_PATH
+
+# TODO: change to FlaskInternalTask when convert to Flask
class DateActionCron(jsonfeed.InternalTask):
"""Find and process issues with date-type values that arrived today."""
@@ -84,6 +86,12 @@
urls.ISSUE_DATE_ACTION_TASK + '.do', params)
cloud_tasks_helpers.create_task(task)
+ # def GetDateActionCron(self, **kwargs):
+ # return self.handler(**kwargs)
+
+ # def PostDateActionCron(self, **kwargs):
+ # return self.handler(**kwargs)
+
def _GetTimestampRange(now):
"""Return a (min, max) timestamp range for today."""
@@ -225,3 +233,9 @@
field, timestamp = ping
date_str = timestr.TimestampToDateWidgetStr(timestamp)
return 'The %s date has arrived: %s' % (field.field_name, date_str)
+
+ # def GetIssueDateActionTask(self, **kwargs):
+ # return self.handler(**kwargs)
+
+ # def PostIssueDateActionTask(self, **kwargs):
+ # return self.handler(**kwargs)