deposit.sword.protocol module

class deposit.sword.protocol.SwordProtocol(repository, **kwargs)[source]

Bases: deposit.protocol.RepositoryProtocol

A generic SWORD protocol using the sword2 library

createMetadata(form)[source]
form_class

alias of FormWithAbstract

get_conn()[source]
get_form_initial_data()[source]
submit_deposit(pdf, form, dry_run=False)[source]