Skip to content

Commit

Permalink
mypy attempt 6: added two more Any type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
BuzzCutNorman committed Jul 25, 2023
1 parent b70b965 commit d5bd8f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions singer_sdk/target_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def get_sink(

return existing_sink

def get_sink_class(self, stream_name: str) -> type[Sink]:
def get_sink_class(self, stream_name: str) -> t.Any: # noqa: ANN401
"""Get sink for a stream.
Developers can override this method to return a custom Sink type depending
Expand Down Expand Up @@ -640,7 +640,7 @@ def add_sqlsink(
stream_name: str,
schema: dict,
key_properties: list[str] | None = None,
) -> Sink:
) -> t.Any: # noqa: ANN401
"""Create a sink and register it.
This method is internal to the SDK and should not need to be overridden.
Expand Down

0 comments on commit d5bd8f9

Please sign in to comment.