MCPcopy Create free account
hub / github.com/diffgram/diffgram / has_time_trigger

Method has_time_trigger

shared/database/action/workflow.py:102–104  ·  view source on GitHub ↗
(self, session)

Source from the content-addressed store, hash-verified

100 return workflow
101
102 def has_time_trigger(self, session) -> bool:
103 first_action = self.get_first_action(session = session)
104 return first_action and first_action.trigger_data.get('event_name') == 'time_trigger' and first_action.trigger_data.get('cron_expression')
105 def get_existing_unmodified_flow(
106 session,
107 project,

Callers 1

flow_update_coreFunction · 0.80

Calls 2

get_first_actionMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected