models.epublication module

models.epublication.czech_to_edeposit_dict(czech_dict)[source]

This function may be used to remap czech dict validated by EpublicationValidator to terms used in edeposit.

For example to remap zpristupneni to libraries_that_can_access.

Parameters:czech_dict (dict) – Dictionary with czech terms.
Returns:Dictionary with edeposit terms.
Return type:dict
models.epublication.edeposit_to_czech_dict(edep_dict)[source]

Remap edeposit’s terms to czech terms used by EpublicationValidator.

Parameters:edep_dict (dict) – Dictionary with edeposit terms.
Returns:Dictionary with czech terms.
Return type:dict