TEXT
The TEXT node returns a TextBlob DataContainer.Params:value : strThe value set in Parameters.Returns:out : TextBlobReturn the value being set in Parameters.
Python Code
from flojoy import TextBlob, flojoy, DataContainer
from typing import Optional
@flojoy
def TEXT(
_: Optional[DataContainer] = None,
value: str = "Hello World!",
) -> TextBlob:
"""The TEXT node returns a TextBlob DataContainer.
Parameters
----------
value : str
The value set in Parameters.
Returns
-------
TextBlob
Return the value being set in Parameters.
"""
return TextBlob(text_blob=value)
Example
Having problem with this example app? Join our Discord community and we will help you out!
In this example, a short phrase is entered to TEXT
and it get displayed with TEXT_VIEW
.