1
0
Fork 0
mirror of synced 2024-07-03 05:31:23 +12:00
Rare/rare/utils/models.py

16 lines
564 B
Python
Raw Normal View History

2021-03-09 05:20:28 +13:00
import os
class InstallOptions:
def __init__(self, app_name: str, path: str = os.path.expanduser("~/legendary"),
max_workers: int = os.cpu_count() * 2, repair: bool = False,
2021-05-21 09:00:38 +12:00
download_only: bool = False, ignore_free_space: bool = False, force: bool = False,
):
2021-03-09 05:20:28 +13:00
self.app_name = app_name
self.path = path
self.max_workers = max_workers
self.repair = repair
self.download_only = download_only
self.ignore_free_space = ignore_free_space
self.force = force