Skip to content

Commit

Permalink
Disable recursive requests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Feb 11, 2025
1 parent e9ae1a1 commit 6fd796e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/api/remoteFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export async function browseRemoteFiles(
query: {
format: "uri",
target: uri,
recursive: isRecursive,
recursive: false,
writeable,
limit,
offset,
Expand Down
3 changes: 3 additions & 0 deletions lib/galaxy/webapps/galaxy/api/remote_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from fastapi.param_functions import Query
from typing_extensions import Annotated

from galaxy.exceptions import InternalServerError
from galaxy.files.sources import PluginKind
from galaxy.managers.context import ProvidesUserContext
from galaxy.managers.remote_files import RemoteFilesManager
Expand Down Expand Up @@ -146,6 +147,8 @@ def index(
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, writeable, limit, offset, query, sort_by
)
Expand Down

0 comments on commit 6fd796e

Please sign in to comment.