Skip to content

Commit

Permalink
Rename type var
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jul 27, 2023
1 parent 493ba22 commit 138efbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions singer_sdk/connectors/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 138efbe

Please sign in to comment.