mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
Disable recursive requests for now
This commit is contained in:
@@ -82,7 +82,7 @@ export async function browseRemoteFiles(
|
||||
query: {
|
||||
format: "uri",
|
||||
target: uri,
|
||||
recursive: isRecursive,
|
||||
recursive: false,
|
||||
write_intent: isWriteIntent,
|
||||
limit,
|
||||
offset,
|
||||
|
||||
@@ -14,6 +14,7 @@ from fastapi import (
|
||||
)
|
||||
from fastapi.param_functions import Query
|
||||
|
||||
from galaxy.exceptions import InternalServerError
|
||||
from galaxy.files.sources import PluginKind
|
||||
from galaxy.managers.context import ProvidesUserContext
|
||||
from galaxy.managers.remote_files import RemoteFilesManager
|
||||
@@ -148,6 +149,8 @@ class FastAPIRemoteFiles:
|
||||
|
||||
The total count of files and directories is returned in the 'total_matches' header.
|
||||
"""
|
||||
if recursive:
|
||||
raise InternalServerError("recursive parameter temporarily disabled")
|
||||
result, count = self.manager.index(
|
||||
user_ctx, target, format, recursive, disable, write_intent or writeable, limit, offset, query, sort_by
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user