(*args, **kwargs)
Adapter to support both aioredis-0.3.0 and aioredis-1.0.0
        For aioredis-1.0.0 and later calls:
            aioredis.create_redis_pool(*args, **kwargs)
        For aioredis-0.3.0 calls:
            aioredis.create_pool(*args, **kwargs)
Adapter to support both aioredis-0.3.0 and aioredis-1.0.0
        For aioredis-1.0.0 and later calls:
            aioredis.create_redis_pool(*args, **kwargs)
        For aioredis-0.3.0 calls:
            aioredis.create_pool(*args, **kwargs)
Adapter to support both aioredis - 0 . 3 . 0 and aioredis - 1 . 0 . 0 For aioredis - 1 . 0 . 0 and later calls : aioredis . create_redis_pool ( * args ** kwargs ) For aioredis - 0 . 3 . 0 calls : aioredis . create_pool ( * args ** kwargs )
async def _create_redis_pool(*args, **kwargs):
        """
        Adapter to support both aioredis-0.3.0 and aioredis-1.0.0
        For aioredis-1.0.0 and later calls:
            aioredis.create_redis_pool(*args, **kwargs)
        For aioredis-0.3.0 calls:
            aioredis.create_pool(*args, **kwargs)
        """

        if StrictVersion(aioredis.__version__) >= StrictVersion('1.0.0'):  # pragma no cover
            return await aioredis.create_redis_pool(*args, **kwargs)
        else:  # pragma no cover
            return await aioredis.create_pool(*args, **kwargs)
async def _create_redis_pool ( * args , * * kwargs ) : if StrictVersion ( aioredis . __version__ ) >= StrictVersion ( '1.0.0' ) : # pragma no cover return await aioredis . create_redis_pool ( * args , * * kwargs ) else : # pragma no cover return await aioredis . create_pool ( * args , * * kwargs )