23 lines
457 B
Python
23 lines
457 B
Python
from os import PathLike
|
|
from pathlib import Path
|
|
|
|
from .models import SessionValidation
|
|
|
|
type PathInput = str | PathLike[str]
|
|
|
|
def download(
|
|
url: str,
|
|
session_path: PathInput,
|
|
*,
|
|
output_dir: PathInput | None = None,
|
|
) -> Path: ...
|
|
def download_short(
|
|
url: str,
|
|
session_path: PathInput,
|
|
*,
|
|
output_dir: PathInput | None = None,
|
|
) -> Path: ...
|
|
def validate_session_file(path: Path) -> SessionValidation: ...
|
|
|
|
__all__: list[str]
|