Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Commit a630701

Browse files
committed
python <3.10 compat
1 parent c0e1446 commit a630701

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

google/cloud/firestore_v1/async_transaction.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,14 @@
2424
Coroutine,
2525
Optional,
2626
TypeVar,
27-
ParamSpec,
2827
Concatenate,
2928
)
3029

30+
try:
31+
from typing import ParamSpec
32+
except ImportError:
33+
from typing_extensions import ParamSpec
34+
3135
from google.api_core import exceptions, gapic_v1
3236
from google.api_core import retry_async as retries
3337

0 commit comments

Comments
 (0)