mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-26 02:32:20 +08:00
fix: Allow connections to save file output (#9386)
* fix: Allow connections to save file output * Update save_file.py * [autofix.ci] apply automated fixes * Change name of output --------- Co-authored-by: Edwin Jose <edwin.jose@datastax.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@ -53,7 +53,7 @@ class SaveToFileComponent(Component):
|
||||
),
|
||||
]
|
||||
|
||||
outputs = [Output(display_name="File Path", name="result", method="save_to_file")]
|
||||
outputs = [Output(display_name="File Path", name="message", method="save_to_file")]
|
||||
|
||||
async def save_to_file(self) -> Message:
|
||||
"""Save the input to a file and upload it, returning a confirmation message."""
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user