From a6b0dbcb47a6c181187f3028d2ce2b319ca80aba Mon Sep 17 00:00:00 2001 From: Sida Liu Date: Sat, 6 Apr 2024 20:28:43 +0800 Subject: [PATCH] naming --- __init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/__init__.py b/__init__.py index 96e501b..a32cd61 100644 --- a/__init__.py +++ b/__init__.py @@ -10,7 +10,7 @@ def size_to_human_readable(size_in_bytes): else: return f"{size_in_bytes / 1024**4:.1f} TB" -class DebugWatchNode: +class DebugInspectorNode: def __init__(self): pass @@ -57,7 +57,7 @@ class DebugWatchNode: return { "ui": { "string_field": results } } -class DebugWatchModelNode: +class DebugModelInspectorNode: def __init__(self): pass @@ -95,12 +95,12 @@ WEB_DIRECTORY = "./js" # A dictionary that contains all nodes you want to export with their names # NOTE: names should be globally unique NODE_CLASS_MAPPINGS = { - "DebugWatchNode": DebugWatchNode, - "DebugWatchModelNode": DebugWatchModelNode, + "DebugInspectorNode": DebugInspectorNode, + "DebugModelInspectorNode": DebugModelInspectorNode, } # A dictionary that contains the friendly/humanly readable titles for the nodes NODE_DISPLAY_NAME_MAPPINGS = { - "DebugWatchNode": "Debug Watch", - "DebugWatchModelNode": "Debug Watch Model", + "DebugInspectorNode": "Debug: Inspector", + "DebugModelInspectorNode": "Debug: Model Inspector", }