Skip to content

Commit

Permalink
fix: set ExtHeaders totality to false
Browse files Browse the repository at this point in the history
  • Loading branch information
Impro02 committed May 13, 2024
1 parent 429c532 commit 10a7239
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions alphaz_next/core/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
from alphaz_next.core.constants import HeaderEnum


class ExtHeaders(TypedDict):
class ExtHeaders(TypedDict, total=False):
"""
Represents the extended headers for a response.
Attributes:
pagination (Optional[str]): The pagination information.
status_description (Optional[Union[str, List[str]]]): The status description.
warning (Optional[bool]): Indicates if there is a warning.
pagination (str): The pagination information.
status_description (Union[str, List[str]]): The status description.
warning (bool): Indicates if there is a warning.
"""

pagination: Optional[str]
status_description: Optional[Union[str, List[str]]]
warning: Optional[bool]
pagination: str
status_description: Union[str, List[str]]
warning: bool


from typing import Dict, Optional
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup

version = "0.6.4"
version = "0.6.5"

with open("requirements.txt") as f:
required_packages = f.read().splitlines()
Expand Down

0 comments on commit 10a7239

Please sign in to comment.