Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish PR 6930: google dir fix members #7218

Merged
merged 4 commits into from
Oct 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"sourceDefinitionId": "d19ae824-e289-4b14-995a-0632eb46d246",
"name": "Google Directory",
"dockerRepository": "airbyte/source-google-directory",
"dockerImageTag": "0.1.4",
"dockerImageTag": "0.1.5",
"documentationUrl": "https://docs.airbyte.io/integrations/sources/google-directory"
}
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
- sourceDefinitionId: d19ae824-e289-4b14-995a-0632eb46d246
name: Google Directory
dockerRepository: airbyte/source-google-directory
dockerImageTag: 0.1.4
dockerImageTag: 0.1.5
documentationUrl: https://docs.airbyte.io/integrations/sources/google-directory
sourceType: api
- sourceDefinitionId: 6acf6b55-4f1e-4fca-944e-1a3caef8aba8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ RUN pip install ".[main]"

ENV AIRBYTE_ENTRYPOINT "/airbyte/base.sh"

LABEL io.airbyte.version=0.1.4
LABEL io.airbyte.version=0.1.5
LABEL io.airbyte.name=airbyte/source-google-directory
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def list(self, fields: Sequence[str] = None) -> Iterator[dict]:

class GroupMembersAPI(StreamAPI):
def process_response(self, response: Dict) -> Iterator[dict]:
return response["members"]
return response.get("members", [])

def list(self, fields: Sequence[str] = None) -> Iterator[dict]:
groups = GroupsAPI(self._api)
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/google-directory.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ You should now be ready to use the Google Directory connector in Airbyte.

| Version | Date | Pull Request | Subject |
| :------ | :-------- | :----- | :------ |
| 0.1.5 | 2021-10-20 | [6930](https://github.com/airbytehq/airbyte/pull/6930) | Fix crash when a group don't have members |
| 0.1.4 | 2021-10-19 | [7167](https://github.com/airbytehq/airbyte/pull/7167) | Add organizations and phones to `users` schema |