Hi all, very new to Prefect. Question about using existing functions.I already have a function in an internal package for posting messages on our internal IM, and import that function. If I want to use it as a task what is the best way to do that?Let's say I have a function postMessage(message) is this right?
from foo import postMessage
postMessage(message = message)
with Flow("My Flow") as flow:
postNewMessage(message = "Hello World")
or is there a way I can just use my existing function as task instead of nesting it?