get_backend#

efiboot.backends.get_backend(name)#

Get a backend by name.

Parameters

name (str) – The name of the backend. This can be either the name registered in the entry point or the dotted import path of the backend module.

Returns

The backend.

Return type

BackendMetadata

Raises

KeyError – No such backend.