-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
36 lines (29 loc) · 733 Bytes
/
Copy pathconfig.py
File metadata and controls
36 lines (29 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from dataclasses import dataclass
from typing import Optional
@dataclass(frozen=True)
class ConfiguracionDiccionario:
caracteres: str
longitud: int
carpeta: str
total_combinaciones: int
bytes_por_linea: int
espacio_libre: int
maximo_recomendado: int
@dataclass(frozen=True)
class CantidadSolicitada:
cantidad: int
modo: str
bytes_solicitados: Optional[int] = None
@dataclass(frozen=True)
class SeleccionGeneracion:
cantidad: int
modo: str
tamano_estimado: int
bytes_solicitados: Optional[int] = None
@dataclass(frozen=True)
class ResultadoArchivo:
ruta_archivo: str
elementos_escritos: int
tiempo_segundos: float
tamano_real: int
nombre_elemento: str