Merge branch 'dev' into test
This commit is contained in:
commit
007a01313d
1 file changed
+3
@@ -271,6 +271,9 @@ def list_registered_api_paths() -> list[dict[str, str]]:
|
||||
|
||||
|
||||
def resolve_schedule_executor(task: ScheduleTask) -> ScheduleExecutor:
|
||||
dst = getattr(task, "data_source_type", None) or "database"
|
||||
if dst in ("database", "external_api"):
|
||||
return _run_generic_check_job
|
||||
return _run_common_executor
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user