aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_import.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-08-21 16:08:20 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-08-21 16:08:20 -0700
commitcdecb18701587277ba75756b2401279770421ba3 (patch)
tree0589f0d72efd577825a741a716e636694cc6ba27 /python/fatcat_import.py
parentcc7ebbc9afa540cff04989db1edb0913f0d46a54 (diff)
downloadfatcat-cdecb18701587277ba75756b2401279770421ba3.tar.gz
fatcat-cdecb18701587277ba75756b2401279770421ba3.zip
fixes and test coverage for file_meta importer
Diffstat (limited to 'python/fatcat_import.py')
-rwxr-xr-xpython/fatcat_import.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/fatcat_import.py b/python/fatcat_import.py
index 498683e0..e92b3106 100755
--- a/python/fatcat_import.py
+++ b/python/fatcat_import.py
@@ -237,8 +237,11 @@ def run_datacite(args):
JsonLinePusher(dci, args.json_file).run()
def run_file_meta(args):
+ # do_updates defaults to true for this importer
fmi = FileMetaImporter(args.api,
- edit_batch_size=100)
+ edit_batch_size=100,
+ editgroup_description=args.editgroup_description_override,
+ )
JsonLinePusher(fmi, args.json_file).run()
def main():