Skip to content

Commit

Permalink
Strip supports when parsing common config options
Browse files Browse the repository at this point in the history
To avoid passing unknown keyword parameters to file sources.
  • Loading branch information
davelopez committed May 21, 2024
1 parent 063fdf8 commit 460ce5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/galaxy/files/sources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ def _parse_common_config_opts(self, kwd: FilesSourceProperties):
kwd.pop("uri_root", None)
kwd.pop("type", None)
kwd.pop("browsable", None)
kwd.pop("supports", None)
return kwd

def to_dict(self, for_serialization=False, user_context: "OptionalUserContext" = None) -> FilesSourceProperties:
Expand Down

0 comments on commit 460ce5c

Please sign in to comment.