From f1735c879d31b1a9e5cd14b3872d9a9d2b02a246 Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Thu, 6 Jun 2024 19:33:07 -0700 Subject: [PATCH] Don't inherit from argparse Namespace --- settngs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settngs/__init__.py b/settngs/__init__.py index a3af0f9..829c388 100644 --- a/settngs/__init__.py +++ b/settngs/__init__.py @@ -367,7 +367,7 @@ class Setting: return self.argparse_args, self.filter_argparse_kwargs() -class TypedNS(Namespace): +class TypedNS(): def __init__(self) -> None: raise TypeError('TypedNS cannot be instantiated')