chore: add parameter descriptions to load_object

pull/12447/head
Matthias 6 months ago
parent ee0952a848
commit 0c1b892713

@ -162,6 +162,10 @@ class IResolver:
) -> Any | None:
"""
Try to load object from path list.
:param paths: list of absolute paths to search
:param object_name: name of the module to import
:param add_source: add the source code as __source__ attribute to theloaded object.
:param kwargs: keyword arguments to pass to the object constructor
"""
for _path in paths:

Loading…
Cancel
Save