mirror of
https://github.com/rommapp/romm.git
synced 2026-02-19 07:50:57 +01:00
15 lines
272 B
Python
15 lines
272 B
Python
from typing import Dict, List, TypedDict
|
|
|
|
|
|
class TaskInfo(TypedDict):
|
|
name: str
|
|
manual_run: bool
|
|
title: str
|
|
description: str
|
|
enabled: bool
|
|
cron_string: str
|
|
|
|
|
|
# Use a more flexible type for grouped tasks
|
|
GroupedTasksDict = Dict[str, List[TaskInfo]]
|