def get_types(self):
from . import types<EOL>url_path = '<STR_LIT>'<EOL>type_list = self._get_request(url_path)<EOL>type_list += types.TYPES<EOL>return objects.TypeList(type_list)<EOL>
Gets all the known Types.

        return: (osid.type.TypeList) - the list of all known Types
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        compliance: mandatory - This method must be implemented.