mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 02:22:44 +01:00
15 lines
280 B
Python
15 lines
280 B
Python
from typing import Dict, List, TypedDict
|
|
|
|
|
|
class TaskInfoDict(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[TaskInfoDict]]
|