Skip to content

Commit 9a5ecf5

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#320)
1 parent f8b8339 commit 9a5ecf5

File tree

3 files changed

+34
-34
lines changed

3 files changed

+34
-34
lines changed

src/cloudflare/types/cache/variant_edit_params.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing import Iterable
5+
from typing import List
66
from typing_extensions import Required, TypedDict
77

88
__all__ = ["VariantEditParams", "Value"]
@@ -17,67 +17,67 @@ class VariantEditParams(TypedDict, total=False):
1717

1818

1919
class Value(TypedDict, total=False):
20-
avif: Iterable[object]
20+
avif: List[str]
2121
"""
2222
List of strings with the MIME types of all the variants that should be served
2323
for avif.
2424
"""
2525

26-
bmp: Iterable[object]
26+
bmp: List[str]
2727
"""
2828
List of strings with the MIME types of all the variants that should be served
2929
for bmp.
3030
"""
3131

32-
gif: Iterable[object]
32+
gif: List[str]
3333
"""
3434
List of strings with the MIME types of all the variants that should be served
3535
for gif.
3636
"""
3737

38-
jp2: Iterable[object]
38+
jp2: List[str]
3939
"""
4040
List of strings with the MIME types of all the variants that should be served
4141
for jp2.
4242
"""
4343

44-
jpeg: Iterable[object]
44+
jpeg: List[str]
4545
"""
4646
List of strings with the MIME types of all the variants that should be served
4747
for jpeg.
4848
"""
4949

50-
jpg: Iterable[object]
50+
jpg: List[str]
5151
"""
5252
List of strings with the MIME types of all the variants that should be served
5353
for jpg.
5454
"""
5555

56-
jpg2: Iterable[object]
56+
jpg2: List[str]
5757
"""
5858
List of strings with the MIME types of all the variants that should be served
5959
for jpg2.
6060
"""
6161

62-
png: Iterable[object]
62+
png: List[str]
6363
"""
6464
List of strings with the MIME types of all the variants that should be served
6565
for png.
6666
"""
6767

68-
tif: Iterable[object]
68+
tif: List[str]
6969
"""
7070
List of strings with the MIME types of all the variants that should be served
7171
for tif.
7272
"""
7373

74-
tiff: Iterable[object]
74+
tiff: List[str]
7575
"""
7676
List of strings with the MIME types of all the variants that should be served
7777
for tiff.
7878
"""
7979

80-
webp: Iterable[object]
80+
webp: List[str]
8181
"""
8282
List of strings with the MIME types of all the variants that should be served
8383
for webp.

src/cloudflare/types/cache/variant_edit_response.py

+11-11
Original file line numberDiff line numberDiff line change
@@ -10,67 +10,67 @@
1010

1111

1212
class Value(BaseModel):
13-
avif: Optional[List[object]] = None
13+
avif: Optional[List[str]] = None
1414
"""
1515
List of strings with the MIME types of all the variants that should be served
1616
for avif.
1717
"""
1818

19-
bmp: Optional[List[object]] = None
19+
bmp: Optional[List[str]] = None
2020
"""
2121
List of strings with the MIME types of all the variants that should be served
2222
for bmp.
2323
"""
2424

25-
gif: Optional[List[object]] = None
25+
gif: Optional[List[str]] = None
2626
"""
2727
List of strings with the MIME types of all the variants that should be served
2828
for gif.
2929
"""
3030

31-
jp2: Optional[List[object]] = None
31+
jp2: Optional[List[str]] = None
3232
"""
3333
List of strings with the MIME types of all the variants that should be served
3434
for jp2.
3535
"""
3636

37-
jpeg: Optional[List[object]] = None
37+
jpeg: Optional[List[str]] = None
3838
"""
3939
List of strings with the MIME types of all the variants that should be served
4040
for jpeg.
4141
"""
4242

43-
jpg: Optional[List[object]] = None
43+
jpg: Optional[List[str]] = None
4444
"""
4545
List of strings with the MIME types of all the variants that should be served
4646
for jpg.
4747
"""
4848

49-
jpg2: Optional[List[object]] = None
49+
jpg2: Optional[List[str]] = None
5050
"""
5151
List of strings with the MIME types of all the variants that should be served
5252
for jpg2.
5353
"""
5454

55-
png: Optional[List[object]] = None
55+
png: Optional[List[str]] = None
5656
"""
5757
List of strings with the MIME types of all the variants that should be served
5858
for png.
5959
"""
6060

61-
tif: Optional[List[object]] = None
61+
tif: Optional[List[str]] = None
6262
"""
6363
List of strings with the MIME types of all the variants that should be served
6464
for tif.
6565
"""
6666

67-
tiff: Optional[List[object]] = None
67+
tiff: Optional[List[str]] = None
6868
"""
6969
List of strings with the MIME types of all the variants that should be served
7070
for tiff.
7171
"""
7272

73-
webp: Optional[List[object]] = None
73+
webp: Optional[List[str]] = None
7474
"""
7575
List of strings with the MIME types of all the variants that should be served
7676
for webp.

src/cloudflare/types/cache/variant_get_response.py

+11-11
Original file line numberDiff line numberDiff line change
@@ -10,67 +10,67 @@
1010

1111

1212
class Value(BaseModel):
13-
avif: Optional[List[object]] = None
13+
avif: Optional[List[str]] = None
1414
"""
1515
List of strings with the MIME types of all the variants that should be served
1616
for avif.
1717
"""
1818

19-
bmp: Optional[List[object]] = None
19+
bmp: Optional[List[str]] = None
2020
"""
2121
List of strings with the MIME types of all the variants that should be served
2222
for bmp.
2323
"""
2424

25-
gif: Optional[List[object]] = None
25+
gif: Optional[List[str]] = None
2626
"""
2727
List of strings with the MIME types of all the variants that should be served
2828
for gif.
2929
"""
3030

31-
jp2: Optional[List[object]] = None
31+
jp2: Optional[List[str]] = None
3232
"""
3333
List of strings with the MIME types of all the variants that should be served
3434
for jp2.
3535
"""
3636

37-
jpeg: Optional[List[object]] = None
37+
jpeg: Optional[List[str]] = None
3838
"""
3939
List of strings with the MIME types of all the variants that should be served
4040
for jpeg.
4141
"""
4242

43-
jpg: Optional[List[object]] = None
43+
jpg: Optional[List[str]] = None
4444
"""
4545
List of strings with the MIME types of all the variants that should be served
4646
for jpg.
4747
"""
4848

49-
jpg2: Optional[List[object]] = None
49+
jpg2: Optional[List[str]] = None
5050
"""
5151
List of strings with the MIME types of all the variants that should be served
5252
for jpg2.
5353
"""
5454

55-
png: Optional[List[object]] = None
55+
png: Optional[List[str]] = None
5656
"""
5757
List of strings with the MIME types of all the variants that should be served
5858
for png.
5959
"""
6060

61-
tif: Optional[List[object]] = None
61+
tif: Optional[List[str]] = None
6262
"""
6363
List of strings with the MIME types of all the variants that should be served
6464
for tif.
6565
"""
6666

67-
tiff: Optional[List[object]] = None
67+
tiff: Optional[List[str]] = None
6868
"""
6969
List of strings with the MIME types of all the variants that should be served
7070
for tiff.
7171
"""
7272

73-
webp: Optional[List[object]] = None
73+
webp: Optional[List[str]] = None
7474
"""
7575
List of strings with the MIME types of all the variants that should be served
7676
for webp.

0 commit comments

Comments
 (0)