We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1905366 commit 7a6e101Copy full SHA for 7a6e101
volcenginesdkarkruntime/resources/images/images.py
@@ -3,14 +3,14 @@
3
import httpx
4
5
from ..._base_client import make_request_options
6
-from ..._utils._utils import with_sts_token, async_with_sts_token
+from ..._utils._utils import apikey_required, async_apikey_required
7
from ..._resource import SyncAPIResource, AsyncAPIResource
8
from ...types.images import ImagesResponse
9
from ..._types import Body, Query, Headers
10
11
12
class Images(SyncAPIResource):
13
- @with_sts_token
+ @apikey_required
14
def generate(
15
self,
16
*,
@@ -50,7 +50,7 @@ def generate(
50
51
52
class AsyncImages(AsyncAPIResource):
53
- @async_with_sts_token
+ @async_apikey_required
54
async def generate(
55
56
0 commit comments