New RunLLM response generated: >>>*# Question* Hi...
# runllm-flyte-trial
j
New RunLLM response generated: >>>*# Question* Hi, tasks with variable parameters are possible, impossible, not-recommended? Something like
Copy code
@task
def jsonify(**args: str) -> str:
   return json.dumps(str)
# Answer Flyte tasks do not support variable parameters (
**kwargs
). Tasks must be defined with explicit keyword arguments to ensure clarity and avoid errors related to parameter ordering. This limitation is documented in a GitHub issue. Would you like more detail on how to work with the current system using explicit keyword arguments? Sources: - GitHub issue #1339 Slack Link https://.slack.com/archives/CP2HDHKE1/p1727283062.121959 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.