You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
eynollah/qurator/eynollah/utils/dirs.py

20 lines
466 B
Python

from dataclasses import dataclass
from typing import Optional
@dataclass()
class EynollahDirs():
"""
Wrapper for all the dir_ kwargs everywhere
"""
dir_models : str
dir_out : Optional[str] = None
dir_in : Optional[str] = None
dir_of_cropped_images : Optional[str] = None
dir_of_layout : Optional[str] = None
dir_of_deskewed : Optional[str] = None
dir_of_all : Optional[str] = None
dir_save_page : Optional[str] = None