mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
update docstring
This commit is contained in:
parent
abc39a9e9f
commit
3f5b041619
1 changed files with 2 additions and 5 deletions
|
|
@ -49,13 +49,10 @@ def modules_from_path(folder_path):
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
path (str): Path to folder containing python scripts.
|
path (str): Path to folder containing python scripts.
|
||||||
return_crasher (bool): Crashed module paths with exception info
|
|
||||||
will be returned too.
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
list, tuple: List of modules when `return_crashed` is False else tuple
|
tuple<list, list>: First list contains successfully imported modules
|
||||||
with list of modules at first place and tuple of path and exception
|
and second list contains tuples of path and exception.
|
||||||
info at second place.
|
|
||||||
"""
|
"""
|
||||||
crashed = []
|
crashed = []
|
||||||
modules = []
|
modules = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue