@classmethod
	def from_argparser(cls, argparse_data):

		if not isinstance(argparse_data, Namespace):
			raise TypeError("Expected Namespace, got '%s' instead" % type(argparse_data))

		return cls(**argparse_data.__dict__)

	# ----------------------------------------------------------------------
Load parameters from argparser
dataset/ETHPy150Open cr0hn/enteletaor/enteletaor_lib/libs/core/structs.py/CommonData.from_argparser