Skip to content

Conversation

@nichwch
Copy link
Contributor

@nichwch nichwch commented Jun 25, 2024

No description provided.

zsimjee and others added 7 commits June 13, 2024 13:53
I've encountered an issue with the code example provided for using Guard with CompetitorCheck and ToxicLanguage. 
The issue is related to the syntax and the use of the use_many method in the Guard class.
Resolved - Error in Guard validation code example in README.md
@nichwch nichwch requested review from CalebCourier and zsimjee June 25, 2024 19:15
@nichwch nichwch changed the base branch from main to 0.5.0-dev June 25, 2024 19:16
Comment on lines +89 to +91
validator_name = log.validator_name
if total_len_by_validator.get(validator_name) is None:
total_len_by_validator[validator_name] = 0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this work for structured data or other scenarios where the same validator may be used multiple times with different params

@zsimjee zsimjee merged commit 12c94e1 into 0.5.0-dev Jun 25, 2024
@zsimjee zsimjee deleted the nichwch/fix-error-spans branch June 25, 2024 19:18
@nichwch nichwch restored the nichwch/fix-error-spans branch June 25, 2024 19:18
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.

4 participants