confighelper: type checking fix

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2024-05-14 20:08:40 -04:00
parent 9c6048a759
commit c5bf6e77a7
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ class ConfigHelper:
)
def _get_option(self,
func: Callable[..., _T],
func: Callable[..., Any],
option: str,
default: Union[Sentinel, _T],
above: Optional[Union[int, float]] = None,
@ -131,7 +131,7 @@ class ConfigHelper:
minval: Optional[Union[int, float]] = None,
maxval: Optional[Union[int, float]] = None,
deprecate: bool = False
) -> _T:
) -> Any:
section = self.section
warn_fallback = False
if (