Don't inherit from argparse Namespace
This commit is contained in:
parent
afdc11eb6f
commit
f1735c879d
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user