Skip to content

Commit

Permalink
Make type covariant
Browse files Browse the repository at this point in the history
  • Loading branch information
collindutter committed Aug 22, 2024
1 parent dca3498 commit a7f10d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion griptape/artifacts/list_artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
if TYPE_CHECKING:
from collections.abc import Iterator, Sequence

T = TypeVar("T", bound=BaseArtifact)
T = TypeVar("T", bound=BaseArtifact, covariant=True)


@define
Expand Down

0 comments on commit a7f10d4

Please sign in to comment.