build: pin typing_extensions to major version

This commit is contained in:
Ankush Menat 2023-08-11 11:50:59 +05:30
parent 84f134a683
commit 02e1311b3a
2 changed files with 2 additions and 2 deletions

View file

@ -227,7 +227,7 @@ class BaseDocument:
if key in self.__dict__:
del self.__dict__[key]
def append(self, key: str, value: D | dict | None = None):
def append(self, key: str, value: D | dict | None = None) -> D:
"""Append an item to a child table.
Example:

View file

@ -69,7 +69,7 @@ dependencies = [
"tenacity~=8.2.2",
"terminaltables~=3.1.10",
"traceback-with-variables~=2.0.4",
"typing_extensions", # included by Pydantic, adding here since it's now being directly used in code
"typing_extensions>=4.6.1,<5",
"xlrd~=2.0.1",
"zxcvbn~=4.4.28",
"markdownify~=0.11.6",