Skip to content

Commit e11d192

Browse files
committed
Fix pylint false positive for pydantic.parse_raw_as
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent c8cbc93 commit e11d192

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/frequenz/sdk/config/_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
import logging
77
from typing import Any, Dict, Optional, TypeVar
88

9-
from pydantic import ValidationError, parse_raw_as
9+
# pylint not finding parse_raw_as is a false positive
10+
from pydantic import ValidationError, parse_raw_as # pylint: disable=no-name-in-module
1011

1112
_logger = logging.getLogger(__name__)
1213

0 commit comments

Comments
 (0)