Skip to content
Snippets Groups Projects
Commit fb495db2 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

change arg name

parent c58a76af
No related branches found
No related tags found
No related merge requests found
...@@ -53,14 +53,14 @@ class GenerationPolicy: ...@@ -53,14 +53,14 @@ class GenerationPolicy:
""" """
return self.enable_pickling return self.enable_pickling
def should_compress(self, pickledata: bytes) -> bool: def should_compress(self, pickle_data: bytes) -> bool:
""" """
Should this pickle undergo compression? Should this pickle undergo compression?
:param pickledata: pickle value :param pickle_data: pickle value
:return: bool :return: bool
""" """
return len(pickledata) > self.compress_at return len(pickle_data) > self.compress_at
def get_compression_level(self, pickledata: bytes) -> int: def get_compression_level(self, pickledata: bytes) -> int:
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment