feat: reduce module depth limit from 3 to 2
parent
bb4b35bfe8
commit
b1d13f501f
|
|
@ -25,7 +25,7 @@ def get_module_type(source):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
MODULE_DEPTH = 3 # Module 不能超过3层
|
MODULE_DEPTH = 2 # Module 不能超过3层
|
||||||
|
|
||||||
|
|
||||||
def check_depth(source, parent_id, current_depth=0):
|
def check_depth(source, parent_id, current_depth=0):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue