def get_cookie(self, key, default=None, secret=None):
        value = self.cookies.get(key)
        if secret and value:
            dec = cookie_decode(value, secret)  # (key, value) tuple or None
            return dec[1] if dec and dec[0] == key else default
        return value or default
Rename 'partitions' option to 'partition' parameter name for better
dataset/ETHPy150Open Arelle/Arelle/arelle/webserver/bottle.py/BaseRequest.get_cookie--crossover with--dataset/ETHPy150Open openlmi/openlmi-scripts/commands/storage/lmi/scripts/storage/cmd/partition.py/PartitionShow.transform_options