MCPcopy Index your code
hub / github.com/getredash/redash / schedule

Method schedule

tests/test_models.py:139–142  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

137
138class QueryOutdatedQueriesTest(BaseTestCase):
139 def schedule(self, **kwargs):
140 schedule = {"interval": None, "time": None, "until": None, "day_of_week": None}
141 schedule.update(**kwargs)
142 return schedule
143
144 def create_scheduled_query(self, **kwargs):
145 return self.factory.create_query(schedule=self.schedule(**kwargs))

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected