-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ingest/sigma): handle members api paginated response (#11535)
- Loading branch information
1 parent
81151db
commit 364496c
Showing
2 changed files
with
36 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -381,25 +381,29 @@ def register_mock_api(request_mock: Any, override_data: dict = {}) -> None: | |
"https://aws-api.sigmacomputing.com/v2/members": { | ||
"method": "GET", | ||
"status_code": 200, | ||
"json": [ | ||
{ | ||
"organizationId": "b94da709-176c-4242-bea6-6760f34c9228", | ||
"memberId": "CPbEdA26GNQ2cM2Ra2BeO0fa5Awz1", | ||
"memberType": "admin", | ||
"firstName": "Shubham", | ||
"lastName": "Jagtap", | ||
"email": "[email protected]", | ||
"profileImgUrl": None, | ||
"createdBy": "CPbEdA26GNQ2cM2Ra2BeO0fa5Awz1", | ||
"updatedBy": "CPbEdA26GNQ2cM2Ra2BeO0fa5Awz1", | ||
"createdAt": "2023-11-28T10:59:20.957Z", | ||
"updatedAt": "2024-03-12T21:21:17.996Z", | ||
"homeFolderId": "9bb94df1-e8af-49eb-9c37-2bd40b0efb2e", | ||
"userKind": "internal", | ||
"isArchived": False, | ||
"isInactive": False, | ||
}, | ||
], | ||
"json": { | ||
"entries": [ | ||
{ | ||
"organizationId": "b94da709-176c-4242-bea6-6760f34c9228", | ||
"memberId": "CPbEdA26GNQ2cM2Ra2BeO0fa5Awz1", | ||
"memberType": "admin", | ||
"firstName": "Shubham", | ||
"lastName": "Jagtap", | ||
"email": "[email protected]", | ||
"profileImgUrl": None, | ||
"createdBy": "CPbEdA26GNQ2cM2Ra2BeO0fa5Awz1", | ||
"updatedBy": "CPbEdA26GNQ2cM2Ra2BeO0fa5Awz1", | ||
"createdAt": "2023-11-28T10:59:20.957Z", | ||
"updatedAt": "2024-03-12T21:21:17.996Z", | ||
"homeFolderId": "9bb94df1-e8af-49eb-9c37-2bd40b0efb2e", | ||
"userKind": "internal", | ||
"isArchived": False, | ||
"isInactive": False, | ||
}, | ||
], | ||
"total": 1, | ||
"nextPage": None, | ||
}, | ||
}, | ||
} | ||
|
||
|