All the secondary dict-related nodes are moved to a subcategory
This commit is contained in:
@@ -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
@@ -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",
|
||||
|
||||
@@ -4,3 +4,4 @@ Metadata-related module.
|
||||
"""
|
||||
|
||||
category: str = "String Constructor"
|
||||
category_dict: str = f"{category}/Format-Dict"
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user