def get_storage_conn(storage_account=None, storage_key=None, conn_kwargs=None):
    if conn_kwargs is None:
        conn_kwargs = {}

    if not storage_account:
        storage_account = config.get_cloud_config_value(
            'storage_account',
            get_configured_provider(), __opts__, search_global=False,
            default=conn_kwargs.get('storage_account', None)
        )
    if not storage_key:
        storage_key = config.get_cloud_config_value(
            'storage_key',
            get_configured_provider(), __opts__, search_global=False,
            default=conn_kwargs.get('storage_key', None)
        )
    return azure.storage.BlobService(storage_account, storage_key)
Summoner ranked stats
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/msazure.py/get_storage_conn--crossover with--dataset/ETHPy150Open evangs/pyriot/pyriot/wrapper.py/PyRiot.stats_ranked