orion
orion copied to clipboard
Add command lines `orion db dump` and `orion db load`
Description
Hi @bouthilx ! This is a PR to fix #953 . Commands orion db dump
and orion db load
are added.
-
orion db dump
show already fully work -
orion db load
should work with parameter--exp
, and for full import if there is no ID collision.
TODO
- Make
orion db load
work when there is ID collision on full import. - Add testing
Changes
Add commands orion db dump
and orion db load
Checklist
Tests
- [ ] I added corresponding tests for bug fixes and new features. If possible, the tests fail without the changes
- [ ] All new and existing tests are passing (
$ tox -e py38
; replace38
by your Python version if necessary)
Documentation
- [ ] I have updated the relevant documentation related to my changes
Quality
- [ ] I have read the CONTRIBUTING doc
- [ ] My commits messages follow this format
- [ ] My code follows the style guidelines (
$ tox -e lint
)