@classmethod
    def calculate_hmac(cls, params):
        encoded_params = cls.__encoded_params_for_signature(params)
        # Generate the hex digest for the sorted parameters using the secret.
        return hmac.new(cls.secret.encode(), encoded_params.encode(), sha256).hexdigest()
Performs a HEAD on the item (account, container, or object).
dataset/ETHPy150Open Shopify/shopify_python_api/shopify/session.py/Session.calculate_hmac--crossover with--dataset/ETHPy150Open gholt/swiftly/swiftly/cli/head.py/cli_head