Skip to content

Commit

Permalink
fix: Patched the schema for iterations.associated_groups
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Nov 21, 2024
1 parent 685d4f3 commit b713aa8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tap_shortcut/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ class Iterations(ShortcutStream):
name = "iterations"
path = "/api/v3/iterations"

@classmethod
def preprocess_schema(cls: type[ProjectStories], schema: dict[str, t.Any]) -> None:
"""Return the schema of the stream."""
super().preprocess_schema(schema)
schema["properties"]["associated_groups"]["type"] = ["array", "null"]

class Repositories(ShortcutStream):
"""Repositories stream."""
Expand Down

0 comments on commit b713aa8

Please sign in to comment.