We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb5b5c2 commit ca61970Copy full SHA for ca61970
1 file changed
googleapiclient/http.py
@@ -34,6 +34,7 @@
34
import time
35
import urllib
36
import uuid
37
+from typing import Optional
38
39
import httplib2
40
@@ -77,7 +78,7 @@
77
78
_LEGACY_BATCH_URI = "https://www.googleapis.com/batch"
79
80
-def _decode_reason_from_content(content) -> str | None:
81
+def _decode_reason_from_content(content) -> Optional[str]:
82
reason = None
83
84
if not content:
0 commit comments