-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added dc.date to from_mtd_field * reauthentification * remove retry=False authentification * show doubles * removed metadata --------- Co-authored-by: jm <jm@maz>
- Loading branch information
1 parent
3113ec6
commit be747d1
Showing
5 changed files
with
392 additions
and
6 deletions.
There are no files selected for viewing
Submodule dspace-rest-python
updated
5 files
+1 −3 | console.py | |
+95 −60 | dspace_rest_client/client.py | |
+0 −6 | dspace_rest_client/models.py | |
+7 −7 | example.py | |
+1 −2 | example_gets.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# add_metadata.py | ||
|
||
This script adds new metadata to items that are missing it. The values for this new metadata are taken from the existing input metadata field. | ||
``` | ||
python add_metadata.py --to_mtd_field dc.date.issued --from_mtd_field dc.date.submitted dc.date.committed dc.date.defense dc.date | ||
``` | ||
Dry run: | ||
``` | ||
python add_metadata.py --dry-run --endpoint="http://dev-5.pc:86/server/api/" --to_mtd_field dc.date.issued --from_mtd_field dc.date.submitted dc.date.committed dc.date.defense dc.date | ||
``` |
Oops, something went wrong.