def get_type_admin_session(self):
pass<EOL>if not self.supports_type_admin():<EOL><INDENT>raise Unimplemented()<EOL><DEDENT>try:<EOL><INDENT>from . import sessions<EOL><DEDENT>except ImportError:<EOL><INDENT>raise  <EOL><DEDENT>try:<EOL><INDENT>session = sessions.TypeAdminSession()<EOL><DEDENT>except AttributeError:<EOL><INDENT>raise  <EOL><DEDENT>return session<EOL>
Gets the OsidSession associated with the type admin service.

        return: (osid.type.TypeAdminSession) - a TypeAdminSession
        raise:  OperationFailed - unable to complete request
        raise:  Unimplemented - supports_type_admin() is false
        compliance: optional - This method must be implemented if
                    supports_type_admin() is true.