Add rule_check_kind support to TaxonomyBlockRule models#117
Merged
Conversation
…_check_kind and enhance documentation
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.
Summary
Updates the
TaxonomyBlockRuleandTaxonomyBlockRuleRequestmodels to support a newrule_check_kindfield, along with enhanced documentation across the taxonomy block rule models.Key Accomplishments
rule_check_kindto bothTaxonomyBlockRuleandTaxonomyBlockRuleRequestmodels, enabling more granular control over how taxonomy block rules are evaluatedTaxonomyBlockRule) and the request model (TaxonomyBlockRuleRequest) are consistent in supporting the new fieldChanges Breakdown
taxonomy_block_rule.py— Significant updates including the addition of therule_check_kindfield, refactored model structure, and expanded documentation (73 lines changed: +46/-18)taxonomy_block_rule_request.py— Addedrule_check_kindfield support to the request model (+9 lines)Breaking Changes
TaxonomyBlockRuleshould verify compatibility, as the model structure has been updated. Ifrule_check_kindis returned by the API, existing code that performs strict key validation may need updating.Testing Notes
rule_check_kindrule_check_kindfield populatedrule_check_kindshould still be handled gracefullyInfrastructure Considerations
rule_check_kindfield when readyrule_check_kindfield before this client update is released to avoid deserialization issues🤖 Generated with Claude Code
Branch Info:
chore/update-taxonomy-blockmainCo-Authored-By: Claude noreply@anthropic.com