Skip to content

Commit

Permalink
Revert use of List
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Aug 1, 2024
1 parent b68f279 commit f92b8b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kr8s/_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from typing import (
TYPE_CHECKING,
Iterable,
List,
Protocol,
TypeVar,
Union,
Expand All @@ -25,7 +26,7 @@
class APIObjectWithPods(Protocol):
"""An APIObject subclass that contains other Pod objects."""

async def async_ready_pods(self) -> list[Pod]: ...
async def async_ready_pods(self) -> List["Pod"]: ...


@runtime_checkable
Expand Down

0 comments on commit f92b8b3

Please sign in to comment.