primer commit

This commit is contained in:
George committed 2026-05-20 16:38:48 -05:00
commit cf8d9fbbb2
9 files changed
+764

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
from dataclasses import dataclass, field
from typing import List, Optional
@dataclass
class HanaConfig:
host: str = ""
port: int = 30015
user: str = ""
password: str = ""
schema: str = ""
@property
def server(self) -> str:
return self.host
@dataclass
class FilesConfig:
path: str = ""
# Nueva configuración para Outlook
@dataclass
class OutlookConfig:
client_id: str = ""
client_secret: str = ""
tenant_id: str = ""
download_folder: str = ""
verify_ssl: bool = True
ca_bundle: Optional[str] = None
# Configuración de correo (mail)
@dataclass
class MailConfig:
sender: str = ""
to: List[str] = field(default_factory=list)
@dataclass
class Config:
hana: HanaConfig
files: FilesConfig
outlook: OutlookConfig
mail: MailConfig