def get_loader(self, meta: ResourceDescription, raise_on_error=False) -> BaseLoader:
for loader in self._loaders:<EOL><INDENT>if loader.name == meta.loader:<EOL><INDENT>return loader<EOL><DEDENT><DEDENT>if raise_on_error:<EOL><INDENT>raise ImproperlyConfigured(<EOL>"<STR_LIT>".format(<EOL>meta.loader, meta, [loader.name for loader in self._loaders]))<EOL><DEDENT>
Attempts to get a loader

:param meta: The resource description instance
:param raise_on_error: Raise ImproperlyConfigured if the loader cannot be resolved
:returns: The requested loader class