diff --git a/esmerald/datastructures/base.py b/esmerald/datastructures/base.py index 24644983..7e22b732 100644 --- a/esmerald/datastructures/base.py +++ b/esmerald/datastructures/base.py @@ -111,6 +111,7 @@ class ResponseContainer(BaseModel, ABC, Generic[R]): background: Optional[Union[BackgroundTask, BackgroundTasks]] = None headers: Dict[str, Any] = {} cookies: List[Cookie] = [] + status_code: Optional[int] = None @abstractmethod def to_response(