All the secondary dict-related nodes are moved to a subcategory

This commit is contained in:
Lex Darlog (DRL)
2025-08-02 15:02:19 +05:00
parent ae60ee97c1
commit 58dbe9a70a
7 changed files with 10 additions and 5 deletions
+4
View File
@@ -3,6 +3,10 @@
The pack is considered feature-complete.
No other features planned. To do some fancy stuff with dictionaries, specialized node packs are recommended instead.
# v1.0.4
- All the secondary dict-related nodes are moved to a subcategory.
# v1.0.3
- [fix] Nodes made compatible with built-in preview nodes.
+1 -1
View File
@@ -20,7 +20,7 @@ NODE_CLASS_MAPPINGS: _t.Dict[str, type] = {
'StringConstructorValidateKeys': StringConstructorValidateKeys,
}
NODE_DISPLAY_NAME_MAPPINGS: _t.Dict[str, str] = {
'StringConstructorDictAddAny': "Add ANY to Format-Dict (Advanced)",
'StringConstructorDictAddAny': "Add ANY to Format-Dict",
'StringConstructorDictAddString': "Add String to Format-Dict",
'StringConstructorDictFromText': "Format-Dict from Text",
'StringConstructorDictPreview': "Preview Format-Dict",
+1
View File
@@ -4,3 +4,4 @@ Metadata-related module.
"""
category: str = "String Constructor"
category_dict: str = f"{category}/Format-Dict"
+1 -1
View File
@@ -40,7 +40,7 @@ _input_types = _deepfreeze({
class StringConstructorDictAddAny:
"""Add/update a non-string item to the Format-Dict - to do some advanced formatting."""
NODE_NAME = 'StringConstructorDictAddAny'
CATEGORY = _meta.category
CATEGORY = _meta.category_dict
DESCRIPTION = _format_docstring(_cleandoc(__doc__))
FUNCTION = 'main'
+1 -1
View File
@@ -40,7 +40,7 @@ _input_types = _deepfreeze({
class StringConstructorDictAddString:
"""Add/update a string to the Format-Dict."""
NODE_NAME = 'StringConstructorDictAddString'
CATEGORY = _meta.category
CATEGORY = _meta.category_dict
DESCRIPTION = _format_docstring(_cleandoc(__doc__))
FUNCTION = 'main'
+1 -1
View File
@@ -63,7 +63,7 @@ class StringConstructorDictPreview:
Show the contents of a Format-Dict.
"""
NODE_NAME = 'StringConstructorDictPreview'
CATEGORY = _meta.category
CATEGORY = _meta.category_dict
DESCRIPTION = _format_docstring(_cleandoc(__doc__))
OUTPUT_NODE = True
+1 -1
View File
@@ -31,7 +31,7 @@ class StringConstructorValidateKeys:
but it might be handy to verify the dict right after it's created.
"""
NODE_NAME = 'StringConstructorValidateKeys'
CATEGORY = _meta.category
CATEGORY = _meta.category_dict
DESCRIPTION = _format_docstring(_cleandoc(__doc__))
OUTPUT_NODE = True