coll_reader = arvados.collection.Collection(
self.collection_locator, self.api, self.api.keep,
num_retries=self.num_retries,
- get_threads=(self.api.keep.block_cache.cache_max // 64 * 1024 * 1024) )
+ get_threads=(self.api.keep.block_cache.cache_max // (64 * 1024 * 1024)))
else:
coll_reader = arvados.collection.CollectionReader(
self.collection_locator, self.api, self.api.keep,
num_retries=self.num_retries,
- get_threads=(self.api.keep.block_cache.cache_max // 64 * 1024 * 1024)
+ get_threads=(self.api.keep.block_cache.cache_max // (64 * 1024 * 1024))
)
new_collection_record = coll_reader.api_response() or {}
# If the Collection only exists in Keep, there will be no API