From 138efbea12c8263cbca8b8e75e027d8ef32590e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Thu, 27 Jul 2023 10:55:28 -0600 Subject: [PATCH] Rename type var --- singer_sdk/connectors/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/singer_sdk/connectors/base.py b/singer_sdk/connectors/base.py index ed5df69f5..e01846dc9 100644 --- a/singer_sdk/connectors/base.py +++ b/singer_sdk/connectors/base.py @@ -8,13 +8,13 @@ from singer_sdk.helpers._compat import Protocol -_T = t.TypeVar("_T", covariant=True) +_T_co = t.TypeVar("_T_co", covariant=True) -class ContextManagerProtocol(Protocol[_T]): +class ContextManagerProtocol(Protocol[_T_co]): """Protocol for context manager enter/exit.""" - def __enter__(self) -> _T: # noqa: D105 + def __enter__(self) -> _T_co: # noqa: D105 ... # pragma: no cover def __exit__(self, *args: t.Any) -> None: # noqa: D105