Spaces:
Build error
Build error
Commit ·
c2117ab
1
Parent(s): 946ba4f
Fix mypy errors: correct CompressionStore.store() arguments
Browse files
headroom/transforms/log_compressor.py
CHANGED
|
@@ -494,9 +494,8 @@ class LogCompressor:
|
|
| 494 |
|
| 495 |
store = get_compression_store()
|
| 496 |
return store.store(
|
| 497 |
-
|
| 498 |
-
|
| 499 |
-
content_type="build_output",
|
| 500 |
original_item_count=original_count,
|
| 501 |
)
|
| 502 |
except ImportError:
|
|
|
|
| 494 |
|
| 495 |
store = get_compression_store()
|
| 496 |
return store.store(
|
| 497 |
+
original,
|
| 498 |
+
compressed,
|
|
|
|
| 499 |
original_item_count=original_count,
|
| 500 |
)
|
| 501 |
except ImportError:
|
headroom/transforms/search_compressor.py
CHANGED
|
@@ -328,9 +328,8 @@ class SearchCompressor:
|
|
| 328 |
|
| 329 |
store = get_compression_store()
|
| 330 |
return store.store(
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
content_type="search_results",
|
| 334 |
original_item_count=original_count,
|
| 335 |
)
|
| 336 |
except ImportError:
|
|
|
|
| 328 |
|
| 329 |
store = get_compression_store()
|
| 330 |
return store.store(
|
| 331 |
+
original,
|
| 332 |
+
compressed,
|
|
|
|
| 333 |
original_item_count=original_count,
|
| 334 |
)
|
| 335 |
except ImportError:
|
headroom/transforms/text_compressor.py
CHANGED
|
@@ -226,9 +226,8 @@ class TextCompressor:
|
|
| 226 |
|
| 227 |
store = get_compression_store()
|
| 228 |
return store.store(
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
content_type="plain_text",
|
| 232 |
original_item_count=original_count,
|
| 233 |
)
|
| 234 |
except ImportError:
|
|
|
|
| 226 |
|
| 227 |
store = get_compression_store()
|
| 228 |
return store.store(
|
| 229 |
+
original,
|
| 230 |
+
compressed,
|
|
|
|
| 231 |
original_item_count=original_count,
|
| 232 |
)
|
| 233 |
except ImportError:
|