Fix union SQL and selection previews
This commit is contained in:
@@ -45,7 +45,9 @@ class GraphNode(BaseModel):
|
||||
|
||||
|
||||
class GraphEdge(BaseModel):
|
||||
id: str = Field(min_length=1, max_length=120, pattern=r"^[A-Za-z0-9_.:-]+$")
|
||||
# Older WebUI releases composed edge IDs from both node IDs. Keep those
|
||||
# definitions readable while new clients use short opaque edge IDs.
|
||||
id: str = Field(min_length=1, max_length=255, pattern=r"^[A-Za-z0-9_.:-]+$")
|
||||
source: str = Field(min_length=1, max_length=100)
|
||||
target: str = Field(min_length=1, max_length=100)
|
||||
source_port: str = Field(default="output", min_length=1, max_length=80)
|
||||
|
||||
Reference in New Issue
Block a user