Skip to content

Commit 2ae7e65

Browse files
committed
fixed mypy issue
1 parent 7a6d0c5 commit 2ae7e65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/cloud/bigtable/data/_cross_sync/_decorators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ def get_for_node(cls, node: ast.Call | ast.Attribute | ast.Name) -> "AstDecorato
128128
# extract the module and decorator names
129129
if "CrossSync" in ast.dump(root_attr):
130130
decorator_name = root_attr.attr
131-
got_kwargs = (
132-
{kw.arg: cls._convert_ast_to_py(kw.value) for kw in node.keywords}
131+
got_kwargs: dict[str, Any] = (
132+
{str(kw.arg): cls._convert_ast_to_py(kw.value) for kw in node.keywords}
133133
if hasattr(node, "keywords")
134134
else {}
135135
)

0 commit comments

Comments
 (0)