Skip to content

Conversation

@omer9564
Copy link
Contributor

No description provided.

@omer9564 omer9564 requested a review from danyi1212 June 22, 2025 14:34
omer9564 added 2 commits June 22, 2025 19:19
- Updated `FactsClient` to support optional query parameters in `build_forward_request` and `send_forward_request` methods, improving flexibility in request handling.
- Added new DELETE endpoints for unassigning user roles and deleting role assignments in the `facts_router`, allowing for better management of user roles with a `return_deleted` query parameter.
- Refactored `forward_request_then_wait_for_update` to accommodate the new query parameters, ensuring consistent behavior across requests.
- Updated `build_forward_request` and `send_forward_request` methods in `FactsClient` to eliminate the optional `query_params` argument, simplifying the request handling process.
- Adjusted related calls in `facts_router` to align with the new method signatures, ensuring consistent behavior across the application.
@omer9564 omer9564 force-pushed the per-12446-add-unassign-role-to-consistent-updates branch from 4fada88 to bd1b306 Compare June 22, 2025 16:19
- Updated `FactsClient` methods to accept optional `query_params`, improving flexibility in request handling.
- Introduced a `pre_return_callback` parameter to `convert_response` for custom response processing.
- Modified `facts_router` endpoints to utilize the new query parameter functionality, specifically for handling `return_deleted` logic in user role management.
- Added a utility function to convert 200 responses to 204, enhancing response consistency.
omer9564 added 2 commits June 23, 2025 18:37
- Eliminated the `pre_return_callback` parameter from `convert_response` in `FactsClient`, simplifying response handling.
- Updated `unassign_user_role` and `delete_role_assignment` functions in `facts_router` to remove references to `pre_return_callback`, ensuring consistent response processing.
- Adjusted `forward_request_then_wait_for_update` to align with the new method signature, enhancing clarity and maintainability.
- Updated the `FactsClient` to use a separate variable for merging query parameters, improving code clarity.
- Simplified the request parameter construction by directly using the new variable, enhancing maintainability.
@omer9564 omer9564 merged commit cfcebf4 into main Jun 23, 2025
9 of 10 checks passed
@omer9564 omer9564 deleted the per-12446-add-unassign-role-to-consistent-updates branch June 23, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants