blob: 3f6151fc354247a11bbb7c421d63e8d169625d0f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import pathlib
from dataclasses import dataclass
from requests import HTTPError
@dataclass
class DownloadSegmentResult:
result: bool
url: str
path_segment: pathlib.Path
id_segment: int
error: HTTPError | None = None
|