Skip to content

Commit

Permalink
Add IvenioRDMDepositPlugin as class
Browse files Browse the repository at this point in the history
  • Loading branch information
zyzzyxdonta committed Dec 14, 2023
1 parent 083cd31 commit 792fe77
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 695 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ git_add_branch = "hermes.commands.process.git:add_branch"
[tool.poetry.plugins."hermes.deposit"]
file = "hermes.commands.deposit.file:FileDepositPlugin"
invenio = "hermes.commands.deposit.invenio:InvenioDepositPlugin"
invenio_rdm = "hermes.commands.deposit.invenio_rdm:IvenioRDMDepositPlugin"

[tool.poetry.plugins."hermes.postprocess"]
config_invenio_record_id = "hermes.commands.postprocess.invenio:config_record_id"
Expand Down
1 change: 0 additions & 1 deletion src/hermes/commands/deposit/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from hermes.model.context import CodeMetaContext


# TODO: Abstract base class?
class BaseDepositPlugin:
def __init__(self, click_ctx: click.Context, ctx: CodeMetaContext) -> None:
self.click_ctx = click_ctx
Expand Down
Loading

0 comments on commit 792fe77

Please sign in to comment.