<commit_before>class AccessKeyOperation(object):
    def __init__(self, key_pair_service):
        """
        :param KeyPairService key_pair_service:
        :return:
        """
        self.key_pair_service = key_pair_service

    def get_access_key(self, storage_client, group_name, storage_name):
        """
        :param azure.mgmt.storage.storage_management_client.StorageManagementClient storage_client:
        :param group_name: (str) the name of the resource group on Azure
        :param storage_name: (str) the name of the storage on Azure
        :return:
        """

        # cloudshell.cp.azure.models.ssh_key.SSHKey instance
        ssh_key = self.key_pair_service.get_key_pair(storage_client=storage_client,
                                                     group_name=group_name,
                                                     storage_name=storage_name)

        return ssh_key.public_key  # only public key is returned to the client
<commit_msg>get_access_key should return private key<commit_after>class AccessKeyOperation(object):
    def __init__(self, key_pair_service):
        """
        :param KeyPairService key_pair_service:
        :return:
        """
        self.key_pair_service = key_pair_service

    def get_access_key(self, storage_client, group_name, storage_name):
        """
        :param azure.mgmt.storage.storage_management_client.StorageManagementClient storage_client:
        :param group_name: (str) the name of the resource group on Azure
        :param storage_name: (str) the name of the storage on Azure
        :return:
        """

        # cloudshell.cp.azure.models.ssh_key.SSHKey instance
        ssh_key = self.key_pair_service.get_key_pair(storage_client=storage_client,
                                                     group_name=group_name,
                                                     storage_name=storage_name)

        return ssh_key.private_key

{'fraction_non_alphanumeric': 0.06962351727694688, 'fraction_numerical': 0.0, 'mean_word_length': 2.1751227495908347, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7324675', 'n_tokens_mistral': 513, 'n_tokens_neox': 500, 'n_words': 110}