Skip to content

Commit 97097b7

Browse files
committed
Suppress mypy error
1 parent 9b9acf8 commit 97097b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_settings/sources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ class Cfg(BaseSettings):
881881
type_has_key = self.next_field(type_, key, case_sensitive)
882882
if type_has_key:
883883
return type_has_key
884-
elif is_model_class(annotation) or is_pydantic_dataclass(annotation):
884+
elif is_model_class(annotation) or is_pydantic_dataclass(annotation): # type: ignore[arg-type]
885885
fields = _get_model_fields(annotation)
886886
# `case_sensitive is None` is here to be compatible with the old behavior.
887887
# Has to be removed in V3.

0 commit comments

Comments
 (0)