Skip to content

Commit 78160cd

Browse files
authored
Add types-httplib2 dependency (#51)
1 parent 4f21ff2 commit 78160cd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

googleapiclient-stubs/errors.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class InvalidChunkSizeError(Error): ...
2626
class InvalidNotificationError(Error): ...
2727

2828
class BatchError(HttpError):
29-
resp: httplib2.Response | None
29+
resp: httplib2.Response | None # type: ignore[assignment]
3030
content: str | None # type: ignore[assignment]
3131
reason: str
3232
def __init__(

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ mypy = {version = "^1.7.0", python = "^3.8"}
2424
black = {version = "^23.11.0", python = "^3.8"}
2525
isort = {version = "^5.12.0", python = "^3.8"}
2626
stubdefaulter = "^0.1.0"
27+
types-httplib2 = ">=0.22.0.2"
2728

2829
[tool.isort]
2930
profile = "black"

0 commit comments

Comments
 (0)