mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 23:49:37 +08:00
Fix default query parameters value for RemoteFilesFormat to uri.
The default value was set to `flat` and causing different behavior between the legacy and FastAPI endpoints for remote_files.
This commit is contained in:
@@ -36,11 +36,12 @@ TargetQueryParam: str = Query(
|
||||
)
|
||||
|
||||
FormatQueryParam: Optional[RemoteFilesFormat] = Query(
|
||||
default=RemoteFilesFormat.flat,
|
||||
default=RemoteFilesFormat.uri,
|
||||
title="Response format",
|
||||
description=(
|
||||
"The requested format of returned data. Either `flat` to simply list all the files"
|
||||
" or `jstree` to get a tree representation of the files."
|
||||
", `jstree` to get a tree representation of the files, or the default `uri` to list "
|
||||
"files and directories by their URI."
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user