Skip to content

Commit

Permalink
Schema needs to have a nested properties object
Browse files Browse the repository at this point in the history
  • Loading branch information
visch committed Dec 20, 2022
1 parent 0c91ad8 commit 67cbb29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions singer_sdk/target_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ def _process_schema_message(self, message_dict: dict) -> None:
message_dict: The newly received schema message.
"""
self._assert_line_requires(message_dict, requires={"stream", "schema"})
self._assert_line_requires(message_dict["schema"], requires={"properties"})

stream_name = message_dict["stream"]
schema = message_dict["schema"]
Expand Down

0 comments on commit 67cbb29

Please sign in to comment.