Don't inherit from argparse Namespace

This commit is contained in:
Timmy Welch 2024-06-06 19:33:07 -07:00
parent afdc11eb6f
commit f1735c879d

View File

@ -367,7 +367,7 @@ class Setting:
return self.argparse_args, self.filter_argparse_kwargs() return self.argparse_args, self.filter_argparse_kwargs()
class TypedNS(Namespace): class TypedNS():
def __init__(self) -> None: def __init__(self) -> None:
raise TypeError('TypedNS cannot be instantiated') raise TypeError('TypedNS cannot be instantiated')