Files
2026-05-31 20:43:27 -04:00

11 lines
206 B
Python

from dataclasses import dataclass
from typing import Generic, Optional, TypeVar
T = TypeVar("T")
@dataclass
class ProviderResult(Generic[T]):
data: Optional[T] = None
error: Optional[str] = None