We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb6f818 commit 4a38515Copy full SHA for 4a38515
shuffle-tools/1.2.0/src/app.py
@@ -692,15 +692,6 @@ def preload_cache(self, key):
692
response_data["value"] = parsed
693
return get_response.json()
694
695
- def check_compression(self, obj, threshold=1_000_000):
696
- data_btyes = json.dumps(obj).encode("utf-8")
697
- if len(data_btyes) > threshold:
698
- return True
699
- return False
700
-
701
- def compress_data(self, obj):
702
703
- compressed_data = gzip.compress(data_btyes)
704
705
def update_cache(self, key):
706
org_id = self.full_execution["workflow"]["execution_org"]["id"]
0 commit comments