Description
Update field validator parameter names to match Pydantic v2 documentation conventions by renaming field to value.
Locations to update
validate_network_address in components/job-orchestration/job_orchestration/scheduler/job_config.py
valid_status in components/job-orchestration/job_orchestration/scheduler/scheduler_data.py
Context
This is a stylistic change to align with the latest Pydantic v2 documentation conventions where field validators use value as the parameter name for the field being validated.
References
Description
Update field validator parameter names to match Pydantic v2 documentation conventions by renaming
fieldtovalue.Locations to update
validate_network_addressincomponents/job-orchestration/job_orchestration/scheduler/job_config.pyvalid_statusincomponents/job-orchestration/job_orchestration/scheduler/scheduler_data.pyContext
This is a stylistic change to align with the latest Pydantic v2 documentation conventions where field validators use
valueas the parameter name for the field being validated.References