def get_default(self, key, parent="__default"):
		d = self.get_defaults(key, parent)
		return isinstance(d, list) and d[0] or d
Returns default value as a list if multiple or single
dataset/ETHPy150Open frappe/frappe/frappe/database.py/Database.get_default