mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
15 lines
226 B
Python
15 lines
226 B
Python
from dataclasses import dataclass
|
|
from typing import List
|
|
|
|
|
|
@dataclass
|
|
class Download:
|
|
title: str
|
|
url: str
|
|
magnet_uri: str
|
|
completed: bool
|
|
|
|
@dataclass
|
|
class DownloadList:
|
|
count: int
|
|
data: List[Download] |