Skip to content

Commit

Permalink
fixed mypy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche committed Sep 12, 2024
1 parent e972385 commit 81a06f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/cloud/bigtable/data/_sync/cross_sync/_decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Each AstDecorator class is used through @CrossSync.<decorator_name>
"""
from __future__ import annotations
from typing import TYPE_CHECKING
from typing import TYPE_CHECKING, Iterable

if TYPE_CHECKING:
import ast
Expand Down Expand Up @@ -148,7 +148,7 @@ def get_for_node(cls, node: ast.Call | ast.Attribute | ast.Name) -> "AstDecorato
raise ValueError("Not a CrossSync decorator")

@classmethod
def get_subclasses(cls) -> list[type[AstDecorator]]:
def get_subclasses(cls) -> Iterable[type["AstDecorator"]]:
"""
Get all subclasses of AstDecorator
Expand Down

0 comments on commit 81a06f8

Please sign in to comment.