Files
einvoice/jr_einvoice/types.py

12 lines
241 B
Python

from __future__ import annotations
from dataclasses import dataclass
from pathlib import Path
from typing import Optional
@dataclass
class RenderResult:
ok: bool
backend: str
path: Optional[Path]
error: Optional[str] = None