<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_types(type_):
 """ Gathers all types within the ``TYPE_MAPPINGS`` for a specific ``Types`` value. :param Types type_: The type to retrieve :return: All types within the ``TYPE_MAPPINGS`` :rtype: list """


    return list(
        itertools.chain.from_iterable(
            map(lambda x: TYPE_MAPPINGS[x].get(type_, []), TYPE_MAPPINGS)
        )
    )