File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,8 @@ class AnalyzerArgs(BaseModel):
3333
3434 This class provides automatic string stripping for all string values
3535 in analyzer args. All analyzer args classes should inherit from this
36- instead of BaseModel directly.
36+ directly.
3737
38- The strip_string_values validator runs in mode="before", which means
39- it executes before any field validators in child classes. This ensures
40- all string inputs are cleaned of leading/trailing whitespace before
41- any further processing.
4238 """
4339
4440 model_config = {"extra" : "forbid" , "exclude_none" : True }
@@ -54,9 +50,6 @@ def strip_string_values(cls, data: Any) -> Any:
5450 - Dicts: strips string values in dicts
5551 - Other types: left unchanged
5652
57- Runs in mode="before" to ensure stripping happens before any
58- field validators execute in child classes.
59-
6053 Args:
6154 data: The input data to validate
6255
You can’t perform that action at this time.
0 commit comments