fix: move nodes to JSON Manager/project category
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+4
-4
@@ -150,7 +150,7 @@ class ProjectLoaderDynamic:
|
|||||||
RETURN_TYPES = ("INT",) + tuple(any_type for _ in range(MAX_DYNAMIC_OUTPUTS))
|
RETURN_TYPES = ("INT",) + tuple(any_type for _ in range(MAX_DYNAMIC_OUTPUTS))
|
||||||
RETURN_NAMES = ("total_sequences",) + tuple(f"output_{i}" for i in range(MAX_DYNAMIC_OUTPUTS))
|
RETURN_NAMES = ("total_sequences",) + tuple(f"output_{i}" for i in range(MAX_DYNAMIC_OUTPUTS))
|
||||||
FUNCTION = "load_dynamic"
|
FUNCTION = "load_dynamic"
|
||||||
CATEGORY = "utils/json/project"
|
CATEGORY = "JSON Manager/project"
|
||||||
OUTPUT_NODE = False
|
OUTPUT_NODE = False
|
||||||
|
|
||||||
def load_dynamic(self, manager_url, project_name, file_name, sequence_number,
|
def load_dynamic(self, manager_url, project_name, file_name, sequence_number,
|
||||||
@@ -224,7 +224,7 @@ class ProjectSource:
|
|||||||
RETURN_TYPES = ("INT", "STRING",)
|
RETURN_TYPES = ("INT", "STRING",)
|
||||||
RETURN_NAMES = ("sequence_number", "file_name",)
|
RETURN_NAMES = ("sequence_number", "file_name",)
|
||||||
FUNCTION = "hold_config"
|
FUNCTION = "hold_config"
|
||||||
CATEGORY = "utils/json/project"
|
CATEGORY = "JSON Manager/project"
|
||||||
OUTPUT_NODE = True
|
OUTPUT_NODE = True
|
||||||
|
|
||||||
def hold_config(self, manager_url, project_name, file_name, sequence_number, label):
|
def hold_config(self, manager_url, project_name, file_name, sequence_number, label):
|
||||||
@@ -252,7 +252,7 @@ class ProjectKey:
|
|||||||
RETURN_TYPES = (any_type,)
|
RETURN_TYPES = (any_type,)
|
||||||
RETURN_NAMES = ("value",)
|
RETURN_NAMES = ("value",)
|
||||||
FUNCTION = "fetch_key"
|
FUNCTION = "fetch_key"
|
||||||
CATEGORY = "utils/json/project"
|
CATEGORY = "JSON Manager/project"
|
||||||
OUTPUT_NODE = False
|
OUTPUT_NODE = False
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@@ -314,7 +314,7 @@ class ProjectResolution:
|
|||||||
RETURN_TYPES = ("INT", "INT")
|
RETURN_TYPES = ("INT", "INT")
|
||||||
RETURN_NAMES = ("width", "height")
|
RETURN_NAMES = ("width", "height")
|
||||||
FUNCTION = "fetch_resolution"
|
FUNCTION = "fetch_resolution"
|
||||||
CATEGORY = "utils/json/project"
|
CATEGORY = "JSON Manager/project"
|
||||||
OUTPUT_NODE = False
|
OUTPUT_NODE = False
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ class TestProjectLoaderDynamic:
|
|||||||
assert "sequence_number" in inputs["required"]
|
assert "sequence_number" in inputs["required"]
|
||||||
|
|
||||||
def test_category(self):
|
def test_category(self):
|
||||||
assert ProjectLoaderDynamic.CATEGORY == "utils/json/project"
|
assert ProjectLoaderDynamic.CATEGORY == "JSON Manager/project"
|
||||||
|
|
||||||
|
|
||||||
class TestProjectSource:
|
class TestProjectSource:
|
||||||
@@ -232,7 +232,7 @@ class TestProjectSource:
|
|||||||
|
|
||||||
def test_category(self):
|
def test_category(self):
|
||||||
from project_loader import ProjectSource
|
from project_loader import ProjectSource
|
||||||
assert ProjectSource.CATEGORY == "utils/json/project"
|
assert ProjectSource.CATEGORY == "JSON Manager/project"
|
||||||
|
|
||||||
|
|
||||||
class TestProjectKey:
|
class TestProjectKey:
|
||||||
@@ -341,7 +341,7 @@ class TestProjectKey:
|
|||||||
|
|
||||||
def test_category(self):
|
def test_category(self):
|
||||||
from project_loader import ProjectKey
|
from project_loader import ProjectKey
|
||||||
assert ProjectKey.CATEGORY == "utils/json/project"
|
assert ProjectKey.CATEGORY == "JSON Manager/project"
|
||||||
|
|
||||||
|
|
||||||
class TestProjectResolution:
|
class TestProjectResolution:
|
||||||
@@ -431,7 +431,7 @@ class TestProjectResolution:
|
|||||||
|
|
||||||
def test_category(self):
|
def test_category(self):
|
||||||
from project_loader import ProjectResolution
|
from project_loader import ProjectResolution
|
||||||
assert ProjectResolution.CATEGORY == "utils/json/project"
|
assert ProjectResolution.CATEGORY == "JSON Manager/project"
|
||||||
|
|
||||||
|
|
||||||
class TestNodeMappings:
|
class TestNodeMappings:
|
||||||
|
|||||||
Reference in New Issue
Block a user