Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: José Manuel Domínguez <[email protected]>
  • Loading branch information
davelopez and kysrpex committed Feb 17, 2025
1 parent 7034673 commit c896a28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/source/admin/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ and you are comfortable with it storing your user's secrets.

#### Allow Users to Define InvenioRDM Servers as File Sources

```{literalinclude} ../../../lib/galaxy/files/templates/examples/production_invenio.yml
```{literalinclude} ../../../lib/galaxy/files/templates/examples/production_invenio.yaml
:language: yaml
```

Expand Down
4 changes: 2 additions & 2 deletions lib/galaxy/files/templates/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class eLabFTWFileSourceConfiguration(StrictModel): # noqa
writable: bool = True


class InvenioFileSourceTemplateConfiguration(StrictModel): # noqa
class InvenioFileSourceTemplateConfiguration(StrictModel):
type: Literal["inveniordm"]
url: Union[str, TemplateExpansion]
public_name: Union[str, TemplateExpansion]
Expand All @@ -229,7 +229,7 @@ class InvenioFileSourceTemplateConfiguration(StrictModel): # noqa
template_end: Optional[str] = None


class InvenioFileSourceConfiguration(StrictModel): # noqa
class InvenioFileSourceConfiguration(StrictModel):
type: Literal["inveniordm"]
url: str
public_name: str
Expand Down

0 comments on commit c896a28

Please sign in to comment.