def get_type(cur_type):
	if value_type_prefix and isinstance(cur_type, str):
		# See if it exists in current 'namespace'
		curKey = value_type_prefix + cur_type
		value_type = value_types.get(curKey)
	else:
		value_type = None
	if value_type is None:
		# Try again, in 'global' scope
		value_type = value_types.get(cur_type)
	if value_type is None:
		value_type = make_type(cur_type)
		add_type(cur_type, value_type)
	return value_type
Can wrap value types if needed
dataset/ETHPy150Open RobotLocomotion/director/src/python/urdf_parser_py/xml_reflection/core.py/get_type