Skip to content

Commit

Permalink
Fix failure to launch JSON-LD bulk importer #11470
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Sep 19, 2024
1 parent 8aeecef commit 526c72b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions arches/app/etl_modules/base_import_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def __init__(
if self.request:
self.userid = request.user.id
self.moduleid = request.POST.get("module")
self.loadid = request.POST.get("load_id")

def filesize_format(self, bytes):
"""Convert bytes to readable units"""
Expand Down
2 changes: 1 addition & 1 deletion tests/bulkdata/jsonld_import_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def test_write(self):
"""
),
)
importer = JSONLDImporter(request=request, loadid=str(start_event.pk))
importer = JSONLDImporter(request=request)
importer.prepare_temp_dir(request) # ordinarily done with the .read() request

# Do a hack job of a read.
Expand Down

0 comments on commit 526c72b

Please sign in to comment.