diff --git a/.gitignore b/.gitignore index 0dd67fcf..a6343c81 100644 --- a/.gitignore +++ b/.gitignore @@ -137,6 +137,7 @@ dmypy.json # IDE .idea/ +.vscode/ # Pyre type checker .pyre/ diff --git a/tap_github/organization_streams.py b/tap_github/organization_streams.py index 37ceee65..82346551 100644 --- a/tap_github/organization_streams.py +++ b/tap_github/organization_streams.py @@ -98,7 +98,22 @@ def get_child_context(self, record: Dict, context: Optional[Dict]) -> dict: th.Property("permission", th.StringType), th.Property("members_url", th.StringType), th.Property("repositories_url", th.StringType), - th.Property("parent", th.StringType), + th.Property( + "parent", + th.ObjectType( + th.Property("id", th.IntegerType), + th.Property("node_id", th.StringType), + th.Property("url", th.StringType), + th.Property("html_url", th.StringType), + th.Property("name", th.StringType), + th.Property("slug", th.StringType), + th.Property("description", th.StringType), + th.Property("privacy", th.StringType), + th.Property("permission", th.StringType), + th.Property("members_url", th.StringType), + th.Property("repositories_url", th.StringType), + ), + ), ).to_dict()