Skip to content

Commit

Permalink
fix(hyfi-main-config): replace FieldValidationInfo with ValidationInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Nov 4, 2023
1 parent d9b6a34 commit c3137cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hyfi/main/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from hyfi.composer import (
BaseModel,
ConfigDict,
FieldValidationInfo,
PrivateAttr,
ValidationInfo,
field_validator,
)
from hyfi.core import global_hyfi
Expand Down Expand Up @@ -58,7 +58,7 @@ class HyFIConfig(BaseModel, UTILs):
) # type: ignore

@field_validator("logging_level")
def _validate_logging_level(cls, v, info: FieldValidationInfo):
def _validate_logging_level(cls, v, info: ValidationInfo):
"""
Validate and set the logging level
"""
Expand Down

0 comments on commit c3137cd

Please sign in to comment.