From 10b04e23305fe6c1793846baa2952590fd1ea5ac Mon Sep 17 00:00:00 2001 From: Mathis Ribet Date: Wed, 14 Aug 2024 23:14:45 +0200 Subject: [PATCH] Mark ParserMethod private Co-authored-by: Steven Loria --- src/environs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/environs/__init__.py b/src/environs/__init__.py index 20b1f50..2cf4153 100644 --- a/src/environs/__init__.py +++ b/src/environs/__init__.py @@ -51,7 +51,7 @@ _dict = typing.Dict[str, typing.Any] -class ParserMethod(typing.Generic[_T]): +class _ParserMethod(typing.Generic[_T]): """Duck typing, do not use""" def __call__( # type: ignore[empty-body]