Skip to content

Commit

Permalink
Make attr and type attribute match
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jul 17, 2024
1 parent e04f827 commit 8aefade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions singer_sdk/_singerlib/encoding/_msgspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ def dec_hook(type: type, obj: t.Any) -> t.Any: # noqa: ARG001, A002, ANN401
decoder = msgspec.json.Decoder(dec_hook=dec_hook, float_hook=decimal.Decimal)


class MsgSpecReader(GenericSingerReader[bytes]):
class MsgSpecReader(GenericSingerReader[str]):
"""Base class for all plugins reading Singer messages as strings from stdin."""

default_input = sys.stdin.buffer
default_input = sys.stdin

def deserialize_json(self, line: str) -> dict: # noqa: PLR6301
"""Deserialize a line of json.
Expand Down

0 comments on commit 8aefade

Please sign in to comment.