mirror of
https://github.com/langgenius/dify.git
synced 2026-03-06 16:16:38 +08:00
refactor: move workflow package to dify_graph (#32844)
This commit is contained in:
13
api/dify_graph/nodes/code/limits.py
Normal file
13
api/dify_graph/nodes/code/limits.py
Normal file
@ -0,0 +1,13 @@
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class CodeNodeLimits:
|
||||
max_string_length: int
|
||||
max_number: int | float
|
||||
min_number: int | float
|
||||
max_precision: int
|
||||
max_depth: int
|
||||
max_number_array_length: int
|
||||
max_string_array_length: int
|
||||
max_object_array_length: int
|
||||
Reference in New Issue
Block a user