No project description provided
Project description
OARepo model builder files
Plugin adding support for working with files based on the invenio model.
Files are represented as another ("file") record connected with the original parent one.
The plugin generates the file record and modifies the parent record to create connection with new file one.
The file record is specified under "files" attribute in the model yaml file, see example
in tests.
The plugin runs the original model builder on the files model in "files" profile, reusing a lot of the model builder code with different configuration, notably with different base classes for record, service, resource and config classes. To get an idea which code is reused, see entrypoints. For configuration changes, see model preprocessors.
Api
The files plugin provides an api for working with files. The api is by default accessible at {original model url}/{base record id}/files. Basic information about the invenio framework for working with is available here.
/todo invenio file api documentation for this version doesn't seem to be available/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for oarepo-model-builder-files-3.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f71856bd408e2cdb7006b87fe4826cdc7a1cf9d364390e791bae0390616610d |
|
MD5 | b954a3886433f7992de7fbf125e0de9c |
|
BLAKE2b-256 | b6c90888018a8bf1389dd0ec79371901a569bacbf8cb5dcb189a4c5bd888e620 |
Hashes for oarepo_model_builder_files-3.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4121cbcfe5d855101c3469eac92d421d726623f8b5febc72c657e150dc2853eb |
|
MD5 | 5b5630e487722cc432935bac3da7572f |
|
BLAKE2b-256 | 7cc638c6e8067548e25cd283909b9089839c0d974ab6754a074c8ef731770bec |