feat: file_name combo on ProjectSource, sequence_number output
- file_name is now a combo dropdown populated from the API when manager_url and project_name are set - ProjectSource outputs sequence_number (INT) for downstream use - Refreshes file list when project_name or manager_url changes - Updated tests for new output and error-default behavior Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+4
-4
@@ -208,7 +208,7 @@ class ProjectLoaderDynamic:
|
||||
|
||||
|
||||
class ProjectSource:
|
||||
"""Config-only node — holds project connection settings, no outputs."""
|
||||
"""Config node — holds project connection settings, outputs sequence_number."""
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
@@ -221,14 +221,14 @@ class ProjectSource:
|
||||
},
|
||||
}
|
||||
|
||||
RETURN_TYPES = ()
|
||||
RETURN_NAMES = ()
|
||||
RETURN_TYPES = ("INT",)
|
||||
RETURN_NAMES = ("sequence_number",)
|
||||
FUNCTION = "hold_config"
|
||||
CATEGORY = "utils/json/project"
|
||||
OUTPUT_NODE = True
|
||||
|
||||
def hold_config(self, manager_url, project_name, file_name, sequence_number, label):
|
||||
return ()
|
||||
return (sequence_number,)
|
||||
|
||||
|
||||
class ProjectKey:
|
||||
|
||||
Reference in New Issue
Block a user