Skip to content

Commit

Permalink
fix: Append properties and not just names from internal wrapped att…
Browse files Browse the repository at this point in the history
…ribute (#31)
  • Loading branch information
edgarrmondragon authored May 18, 2023
1 parent 6f98c29 commit b1910eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tap_rest_api_msdk/tap.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class TapRestApiMsdk(Tap):
)

# add common properties to top-level properties
for prop in common_properties.wrapped:
for prop in common_properties.wrapped.values():
top_level_properties.append(prop)

# add common properties to the stream schema
Expand Down Expand Up @@ -162,7 +162,7 @@ class TapRestApiMsdk(Tap):
top_level_properties.append(
th.Property(
"streams",
th.ArrayType(th.ObjectType(*stream_properties.wrapped)),
th.ArrayType(th.ObjectType(*stream_properties.wrapped.values())),
required=False,
description="An array of streams, designed for separate paths using the"
"same base url.",
Expand Down

0 comments on commit b1910eb

Please sign in to comment.