chore: add parameter descriptions to load_object

This commit is contained in:
Matthias
2025-10-28 19:41:15 +01:00
parent ee0952a848
commit 0c1b892713
+4
View File
@@ -162,6 +162,10 @@ class IResolver:
) -> Any | None: ) -> Any | None:
""" """
Try to load object from path list. 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: for _path in paths: