PyDocs

Nav

Importing Modules

ResourceLoader

importlib.abc

class (source) Deprecated 3.7
Deprecated since 3.7. This ABC is deprecated in favour of supporting resource loading through importlib.resources.abc.TraversableResources. This class exists for backwards compatibility only with other ABCs in this module.
Abstract base class for loaders which can return data from their
back-end storage to facilitate reading data to perform an import.

This ABC represents one of the optional protocols specified by PEP 302.

For directly loading resources, use TraversableResources instead. This class
primarily exists for backwards compatibility with other ABCs in this module.
Members of ResourceLoader

g

get_data
Abstract method which when implemented should return the bytes for the specified path.
0 Examples
No examples for importlib.abc/ResourceLoader.
See Also
No see-alsos for importlib.abc/ResourceLoader
0 Notes
No notes for ResourceLoader