Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Oct 4, 2023
1 parent 631997d commit 627221f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cacholote/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def validate_create_engine_kwargs(
def validate_return_cache_entry(
cls: pydantic_settings.BaseSettings,
return_cache_entry: bool,
info: pydantic.FieldValidationInfo,
info: pydantic.ValidationInfo,
) -> bool:
if return_cache_entry is True and info.data["use_cache"] is False:
raise ValueError(
Expand Down

0 comments on commit 627221f

Please sign in to comment.