Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typing for MultiFileParam definition #484

Merged
merged 3 commits into from
Mar 7, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/sdk/markdowns/AgentSDK.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ FileParam specifies files to be uploaded to Ganymede Cloud and their correspondi

MultiFileParam is used for submitting multiple files to a single node. It includes the following parameters:

- _param_ **files**: str - Alternative method for specifying file contents, where the key is the filename and the value is the file body.
- _param_ **files**: list[ObservedFile] - Alternative method for specifying file contents, where the key is the filename and the value is the file body.
- _param_ **content_type**: str - Content type of file, e.g. "text/plain". If not specified, the content type of the first file in the files dict will be used.
- _param_ **param**: str - Name of parameter to be used in flow, e.g. `node_name`.`parameter_field_name`
- _param_ **parent_dir**: str - Path within Agent watch directory that contains file. For example. if C:/Users/username/watch_dir/ is being watched and C:/Users/username/watch_dir/abc/def/my_file.txt is found, then parent_dir would be "abc/def"
Expand Down
Loading