Added Pandas Load HTML, CDA Float Create, CDA Int Create, CDA String Create, CDA Text Create, CDA Show Float, CDA Show Int nodes.

This commit is contained in:
HowToSD
2025-02-19 12:59:11 -08:00
parent 345d9642da
commit 897f3e99f4
27 changed files with 562 additions and 10 deletions
+41
View File
@@ -0,0 +1,41 @@
from typing import Any, Dict
class CDAStringCreate:
"""
CDA String Create:
Creates a Python String using a value entered in a single-line text field.
category: IO
"""
@classmethod
def INPUT_TYPES(cls) -> Dict[str, Any]:
"""
Defines the input types for the `create` function.
Returns:
Dict[str, Any]: A dictionary specifying required input types.
"""
return {
"required": {
"data": ("STRING", {"multiline": False}),
}
}
RETURN_TYPES: tuple = ("STRING",)
FUNCTION: str = "create"
CATEGORY: str = "Data Analysis"
def create(self, data: str) -> tuple:
"""
creating a Python String for the text entered in the text field.
Args:
data (str): String value in the text field.
Returns:
tuple: A tuple containing the string converted from the text.
"""
return (data,)