Skip to content

Commit 6c251a1

Browse files
committed
add note docstring
1 parent 3d2d1fe commit 6c251a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

activestorage/active.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -572,9 +572,11 @@ def _process_chunk(self, session, ds, chunks, chunk_coords, chunk_selection, cou
572572
session = requests.Session()
573573
session.auth = (None, None)
574574
session.verify = False
575-
bucket = "https"
575+
bucket = "https" # really doesn't matter
576576

577577
# note the extra "storage_type" kwarg
578+
# this currently makes Reductionist throw a wobbly
579+
# E activestorage.reductionist.ReductionistError: Reductionist error: HTTP 400: {"error": {"message": "request data is not valid", "caused_by": ["Failed to deserialize the JSON body into the target type", "storage_type: unknown field `storage_type`, expected one of `source`, `bucket`, `object`, `dtype`, `byte_order`, `offset`, `size`, `shape`, `order`, `selection`, `compression`, `filters`, `missing` at line 1 column 550"]}}
578580
tmp, count = reductionist.reduce_chunk(session,
579581
"https://192.171.169.113:8080",
580582
self.filename,

0 commit comments

Comments
 (0)