From 43e9079f83da475060c73b7d5c9d51578e5faa09 Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Tue, 27 Feb 2024 16:24:16 +0000 Subject: [PATCH] feat: OpenAPI spec update via Stainless API --- src/cloudflare/_resource.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cloudflare/_resource.py b/src/cloudflare/_resource.py index 748023621f4..7623c28c35d 100644 --- a/src/cloudflare/_resource.py +++ b/src/cloudflare/_resource.py @@ -3,9 +3,10 @@ from __future__ import annotations import time -import asyncio from typing import TYPE_CHECKING +import anyio + if TYPE_CHECKING: from ._client import Cloudflare, AsyncCloudflare @@ -39,4 +40,4 @@ def __init__(self, client: AsyncCloudflare) -> None: self._get_api_list = client.get_api_list async def _sleep(self, seconds: float) -> None: - await asyncio.sleep(seconds) + await anyio.sleep(seconds)