async def connect(self) -> "Redis[bytes]":
pool = ConnectionPool(
**self._options,
lib_name="faststream",
lib_version=__version__,
)
client: Redis[bytes] = Redis.from_pool(pool) # type: ignore[attr-defined]
self._client = client
self._connected = True
return client