RG config client — CRUD, models and versioned generate methods#38
Draft
carlosfunk wants to merge 1 commit into
Draft
RG config client — CRUD, models and versioned generate methods#38carlosfunk wants to merge 1 commit into
carlosfunk wants to merge 1 commit into
Conversation
…958) - add RGConfig pydantic model and RGConfigClient mixin: list/get/create/update/delete + defaults yaml - add generate_ruleset_with_rg_config (v3) and file/async/csv variants (v2), mirroring the discovery from_config split - old generate request models reject rg_config and point callers at the new methods - document dependent-RGC behaviour on ruleset library delete/usage APIs
carlosfunk
marked this pull request as draft
July 19, 2026 23:01
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds client support for DataMasque ruleset-generation configs: server-side masks-per-label configs consumed by the versioned generate APIs.
Commits
feat(client): add RG config CRUD and versioned generate methodsWhat's in it
RGConfigpydantic model +RGConfigClientmixin:list/get/create/update/delete+get_default_rg_config_yaml()againstrg/configs/*_from_configsplit:generate_ruleset_with_rg_config(v3),generate_file_ruleset_with_rg_config(v2),start_async_ruleset_generation_with_rg_config(v2),start_async_ruleset_generation_from_csv_with_rg_config(v2). Old methods keep the old endpoints (server default RG config).rg_configand point callers at the new methods.rg_config=Noneis sent as an empty form field; DRF coerces''to null on relational fields (verified end-to-end against a live server).