tikdataapi 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. tikdataapi/__init__.py +8 -0
  2. tikdataapi/api/__init__.py +1 -0
  3. tikdataapi/api/account/__init__.py +1 -0
  4. tikdataapi/api/account/get_me.py +144 -0
  5. tikdataapi/api/billing/__init__.py +1 -0
  6. tikdataapi/api/billing/create_checkout.py +215 -0
  7. tikdataapi/api/billing/list_packs.py +144 -0
  8. tikdataapi/api/hashtags/__init__.py +1 -0
  9. tikdataapi/api/hashtags/get_hashtag.py +220 -0
  10. tikdataapi/api/hashtags/get_hashtag_videos.py +250 -0
  11. tikdataapi/api/music/__init__.py +1 -0
  12. tikdataapi/api/music/get_music.py +234 -0
  13. tikdataapi/api/music/get_music_videos.py +254 -0
  14. tikdataapi/api/playlists/__init__.py +1 -0
  15. tikdataapi/api/playlists/get_playlist_videos.py +258 -0
  16. tikdataapi/api/search/__init__.py +1 -0
  17. tikdataapi/api/search/search_hashtags.py +261 -0
  18. tikdataapi/api/search/search_live.py +258 -0
  19. tikdataapi/api/search/search_music.py +260 -0
  20. tikdataapi/api/search/search_users.py +276 -0
  21. tikdataapi/api/search/search_videos.py +260 -0
  22. tikdataapi/api/users/__init__.py +1 -0
  23. tikdataapi/api/users/get_user.py +222 -0
  24. tikdataapi/api/users/get_user_followers.py +266 -0
  25. tikdataapi/api/users/get_user_following.py +266 -0
  26. tikdataapi/api/users/get_user_live.py +236 -0
  27. tikdataapi/api/users/get_user_playlists.py +276 -0
  28. tikdataapi/api/users/get_user_reposts.py +266 -0
  29. tikdataapi/api/users/get_user_videos.py +254 -0
  30. tikdataapi/api/users/get_users.py +247 -0
  31. tikdataapi/api/users/get_users_videos.py +259 -0
  32. tikdataapi/api/videos/__init__.py +1 -0
  33. tikdataapi/api/videos/get_comment_replies.py +260 -0
  34. tikdataapi/api/videos/get_comments.py +258 -0
  35. tikdataapi/api/videos/get_related_videos.py +247 -0
  36. tikdataapi/api/videos/get_trending_videos.py +238 -0
  37. tikdataapi/api/videos/get_video.py +218 -0
  38. tikdataapi/api/videos/get_video_transcript.py +247 -0
  39. tikdataapi/api/videos/get_videos.py +235 -0
  40. tikdataapi/client.py +268 -0
  41. tikdataapi/errors.py +16 -0
  42. tikdataapi/models/__init__.py +117 -0
  43. tikdataapi/models/batch_error.py +104 -0
  44. tikdataapi/models/batch_error_code.py +15 -0
  45. tikdataapi/models/batch_meta.py +127 -0
  46. tikdataapi/models/batch_meta_cache.py +11 -0
  47. tikdataapi/models/comment.py +163 -0
  48. tikdataapi/models/comment_author.py +97 -0
  49. tikdataapi/models/comment_page.py +130 -0
  50. tikdataapi/models/create_checkout_body.py +63 -0
  51. tikdataapi/models/create_checkout_body_pack.py +11 -0
  52. tikdataapi/models/create_checkout_response_200.py +97 -0
  53. tikdataapi/models/error.py +78 -0
  54. tikdataapi/models/error_body.py +107 -0
  55. tikdataapi/models/error_body_code.py +22 -0
  56. tikdataapi/models/get_me_response_200.py +88 -0
  57. tikdataapi/models/get_users_body.py +61 -0
  58. tikdataapi/models/get_users_videos_body.py +72 -0
  59. tikdataapi/models/get_videos_body.py +61 -0
  60. tikdataapi/models/hashtag.py +124 -0
  61. tikdataapi/models/hashtag_response.py +122 -0
  62. tikdataapi/models/hashtag_summary.py +98 -0
  63. tikdataapi/models/hashtag_summary_page.py +130 -0
  64. tikdataapi/models/list_packs_response_200.py +103 -0
  65. tikdataapi/models/list_packs_response_200_data_item.py +88 -0
  66. tikdataapi/models/list_packs_response_200_rate_limits_item.py +70 -0
  67. tikdataapi/models/live_room.py +142 -0
  68. tikdataapi/models/live_room_author.py +90 -0
  69. tikdataapi/models/live_room_page.py +130 -0
  70. tikdataapi/models/live_room_response.py +124 -0
  71. tikdataapi/models/meta.py +108 -0
  72. tikdataapi/models/meta_cache.py +10 -0
  73. tikdataapi/models/music.py +107 -0
  74. tikdataapi/models/music_detail.py +172 -0
  75. tikdataapi/models/music_response.py +124 -0
  76. tikdataapi/models/music_summary.py +137 -0
  77. tikdataapi/models/music_summary_page.py +130 -0
  78. tikdataapi/models/not_found_reason.py +12 -0
  79. tikdataapi/models/playlist.py +114 -0
  80. tikdataapi/models/playlist_author.py +86 -0
  81. tikdataapi/models/playlist_page.py +130 -0
  82. tikdataapi/models/problem.py +131 -0
  83. tikdataapi/models/transcript.py +128 -0
  84. tikdataapi/models/transcript_response.py +124 -0
  85. tikdataapi/models/transcript_segment.py +77 -0
  86. tikdataapi/models/user.py +207 -0
  87. tikdataapi/models/user_batch.py +145 -0
  88. tikdataapi/models/user_page.py +130 -0
  89. tikdataapi/models/user_response.py +126 -0
  90. tikdataapi/models/user_summary.py +152 -0
  91. tikdataapi/models/user_summary_page.py +130 -0
  92. tikdataapi/models/user_videos.py +96 -0
  93. tikdataapi/models/user_videos_batch.py +145 -0
  94. tikdataapi/models/video.py +297 -0
  95. tikdataapi/models/video_batch.py +145 -0
  96. tikdataapi/models/video_page.py +130 -0
  97. tikdataapi/models/video_response.py +122 -0
  98. tikdataapi/models/video_type.py +9 -0
  99. tikdataapi/py.typed +1 -0
  100. tikdataapi/types.py +54 -0
  101. tikdataapi-0.1.0.dist-info/METADATA +148 -0
  102. tikdataapi-0.1.0.dist-info/RECORD +103 -0
  103. tikdataapi-0.1.0.dist-info/WHEEL +4 -0
@@ -0,0 +1,261 @@
1
+ from http import HTTPStatus
2
+ from typing import Any
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import AuthenticatedClient, Client
8
+ from ...models.error import Error
9
+ from ...models.hashtag_summary_page import HashtagSummaryPage
10
+ from ...types import UNSET, Response, Unset
11
+
12
+
13
+ def _get_kwargs(
14
+ *,
15
+ query: str,
16
+ count: int | Unset = 10,
17
+ fresh: bool | Unset = False,
18
+ ) -> dict[str, Any]:
19
+
20
+ params: dict[str, Any] = {}
21
+
22
+ params["query"] = query
23
+
24
+ params["count"] = count
25
+
26
+ params["fresh"] = fresh
27
+
28
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
29
+
30
+ _kwargs: dict[str, Any] = {
31
+ "method": "get",
32
+ "url": "/v1/search/hashtags",
33
+ "params": params,
34
+ }
35
+
36
+ return _kwargs
37
+
38
+
39
+ def _parse_response(
40
+ *, client: AuthenticatedClient | Client, response: httpx.Response
41
+ ) -> Error | HashtagSummaryPage | None:
42
+ if response.status_code == 200:
43
+ response_200 = HashtagSummaryPage.from_dict(response.json())
44
+
45
+ return response_200
46
+
47
+ if response.status_code == 400:
48
+ response_400 = Error.from_dict(response.json())
49
+
50
+ return response_400
51
+
52
+ if response.status_code == 401:
53
+ response_401 = Error.from_dict(response.json())
54
+
55
+ return response_401
56
+
57
+ if response.status_code == 402:
58
+ response_402 = Error.from_dict(response.json())
59
+
60
+ return response_402
61
+
62
+ if response.status_code == 429:
63
+ response_429 = Error.from_dict(response.json())
64
+
65
+ return response_429
66
+
67
+ if response.status_code == 500:
68
+ response_500 = Error.from_dict(response.json())
69
+
70
+ return response_500
71
+
72
+ if response.status_code == 503:
73
+ response_503 = Error.from_dict(response.json())
74
+
75
+ return response_503
76
+
77
+ if client.raise_on_unexpected_status:
78
+ raise errors.UnexpectedStatus(response.status_code, response.content)
79
+ else:
80
+ return None
81
+
82
+
83
+ def _build_response(
84
+ *, client: AuthenticatedClient | Client, response: httpx.Response
85
+ ) -> Response[Error | HashtagSummaryPage]:
86
+ return Response(
87
+ status_code=HTTPStatus(response.status_code),
88
+ content=response.content,
89
+ headers=response.headers,
90
+ parsed=_parse_response(client=client, response=response),
91
+ )
92
+
93
+
94
+ def sync_detailed(
95
+ *,
96
+ client: AuthenticatedClient | Client,
97
+ query: str,
98
+ count: int | Unset = 10,
99
+ fresh: bool | Unset = False,
100
+ ) -> Response[Error | HashtagSummaryPage]:
101
+ """Search hashtags
102
+
103
+ The hashtags for a query, most used first. TikTok gives a logged-out visitor no hashtag search of
104
+ its
105
+ own, so this reads about 24 videos of the general search (two TikTok pages, as `/v1/search/videos`)
106
+ and ranks the hashtags of those videos: by the number of those videos that use the hashtag, then by
107
+ the sum of their plays. The counts are of those videos only, not the totals of TikTok; for those,
108
+ read `/v1/hashtags/{name}`. There is no next page.
109
+ 1 credit per hashtag. A query with no result gives an empty list, free. The answer is cached for
110
+ 5 minutes, apart from the cache of `/v1/search/videos`.
111
+ New on 2026-12-03.
112
+
113
+ Args:
114
+ query (str):
115
+ count (int | Unset): Default: 10.
116
+ fresh (bool | Unset): Default: False.
117
+
118
+ Raises:
119
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
120
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
121
+
122
+ Returns:
123
+ Response[Error | HashtagSummaryPage]
124
+ """
125
+
126
+ kwargs = _get_kwargs(
127
+ query=query,
128
+ count=count,
129
+ fresh=fresh,
130
+ )
131
+
132
+ response = client.get_httpx_client().request(
133
+ **kwargs,
134
+ )
135
+
136
+ return _build_response(client=client, response=response)
137
+
138
+
139
+ def sync(
140
+ *,
141
+ client: AuthenticatedClient | Client,
142
+ query: str,
143
+ count: int | Unset = 10,
144
+ fresh: bool | Unset = False,
145
+ ) -> Error | HashtagSummaryPage | None:
146
+ """Search hashtags
147
+
148
+ The hashtags for a query, most used first. TikTok gives a logged-out visitor no hashtag search of
149
+ its
150
+ own, so this reads about 24 videos of the general search (two TikTok pages, as `/v1/search/videos`)
151
+ and ranks the hashtags of those videos: by the number of those videos that use the hashtag, then by
152
+ the sum of their plays. The counts are of those videos only, not the totals of TikTok; for those,
153
+ read `/v1/hashtags/{name}`. There is no next page.
154
+ 1 credit per hashtag. A query with no result gives an empty list, free. The answer is cached for
155
+ 5 minutes, apart from the cache of `/v1/search/videos`.
156
+ New on 2026-12-03.
157
+
158
+ Args:
159
+ query (str):
160
+ count (int | Unset): Default: 10.
161
+ fresh (bool | Unset): Default: False.
162
+
163
+ Raises:
164
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
165
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
166
+
167
+ Returns:
168
+ Error | HashtagSummaryPage
169
+ """
170
+
171
+ return sync_detailed(
172
+ client=client,
173
+ query=query,
174
+ count=count,
175
+ fresh=fresh,
176
+ ).parsed
177
+
178
+
179
+ async def asyncio_detailed(
180
+ *,
181
+ client: AuthenticatedClient | Client,
182
+ query: str,
183
+ count: int | Unset = 10,
184
+ fresh: bool | Unset = False,
185
+ ) -> Response[Error | HashtagSummaryPage]:
186
+ """Search hashtags
187
+
188
+ The hashtags for a query, most used first. TikTok gives a logged-out visitor no hashtag search of
189
+ its
190
+ own, so this reads about 24 videos of the general search (two TikTok pages, as `/v1/search/videos`)
191
+ and ranks the hashtags of those videos: by the number of those videos that use the hashtag, then by
192
+ the sum of their plays. The counts are of those videos only, not the totals of TikTok; for those,
193
+ read `/v1/hashtags/{name}`. There is no next page.
194
+ 1 credit per hashtag. A query with no result gives an empty list, free. The answer is cached for
195
+ 5 minutes, apart from the cache of `/v1/search/videos`.
196
+ New on 2026-12-03.
197
+
198
+ Args:
199
+ query (str):
200
+ count (int | Unset): Default: 10.
201
+ fresh (bool | Unset): Default: False.
202
+
203
+ Raises:
204
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
205
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
206
+
207
+ Returns:
208
+ Response[Error | HashtagSummaryPage]
209
+ """
210
+
211
+ kwargs = _get_kwargs(
212
+ query=query,
213
+ count=count,
214
+ fresh=fresh,
215
+ )
216
+
217
+ response = await client.get_async_httpx_client().request(**kwargs)
218
+
219
+ return _build_response(client=client, response=response)
220
+
221
+
222
+ async def asyncio(
223
+ *,
224
+ client: AuthenticatedClient | Client,
225
+ query: str,
226
+ count: int | Unset = 10,
227
+ fresh: bool | Unset = False,
228
+ ) -> Error | HashtagSummaryPage | None:
229
+ """Search hashtags
230
+
231
+ The hashtags for a query, most used first. TikTok gives a logged-out visitor no hashtag search of
232
+ its
233
+ own, so this reads about 24 videos of the general search (two TikTok pages, as `/v1/search/videos`)
234
+ and ranks the hashtags of those videos: by the number of those videos that use the hashtag, then by
235
+ the sum of their plays. The counts are of those videos only, not the totals of TikTok; for those,
236
+ read `/v1/hashtags/{name}`. There is no next page.
237
+ 1 credit per hashtag. A query with no result gives an empty list, free. The answer is cached for
238
+ 5 minutes, apart from the cache of `/v1/search/videos`.
239
+ New on 2026-12-03.
240
+
241
+ Args:
242
+ query (str):
243
+ count (int | Unset): Default: 10.
244
+ fresh (bool | Unset): Default: False.
245
+
246
+ Raises:
247
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
248
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
249
+
250
+ Returns:
251
+ Error | HashtagSummaryPage
252
+ """
253
+
254
+ return (
255
+ await asyncio_detailed(
256
+ client=client,
257
+ query=query,
258
+ count=count,
259
+ fresh=fresh,
260
+ )
261
+ ).parsed
@@ -0,0 +1,258 @@
1
+ from http import HTTPStatus
2
+ from typing import Any
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import AuthenticatedClient, Client
8
+ from ...models.error import Error
9
+ from ...models.live_room_page import LiveRoomPage
10
+ from ...types import UNSET, Response, Unset
11
+
12
+
13
+ def _get_kwargs(
14
+ *,
15
+ query: str,
16
+ count: int | Unset = 12,
17
+ cursor: str | Unset = UNSET,
18
+ fresh: bool | Unset = False,
19
+ ) -> dict[str, Any]:
20
+
21
+ params: dict[str, Any] = {}
22
+
23
+ params["query"] = query
24
+
25
+ params["count"] = count
26
+
27
+ params["cursor"] = cursor
28
+
29
+ params["fresh"] = fresh
30
+
31
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
32
+
33
+ _kwargs: dict[str, Any] = {
34
+ "method": "get",
35
+ "url": "/v1/search/live",
36
+ "params": params,
37
+ }
38
+
39
+ return _kwargs
40
+
41
+
42
+ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Response) -> Error | LiveRoomPage | None:
43
+ if response.status_code == 200:
44
+ response_200 = LiveRoomPage.from_dict(response.json())
45
+
46
+ return response_200
47
+
48
+ if response.status_code == 400:
49
+ response_400 = Error.from_dict(response.json())
50
+
51
+ return response_400
52
+
53
+ if response.status_code == 401:
54
+ response_401 = Error.from_dict(response.json())
55
+
56
+ return response_401
57
+
58
+ if response.status_code == 402:
59
+ response_402 = Error.from_dict(response.json())
60
+
61
+ return response_402
62
+
63
+ if response.status_code == 429:
64
+ response_429 = Error.from_dict(response.json())
65
+
66
+ return response_429
67
+
68
+ if response.status_code == 500:
69
+ response_500 = Error.from_dict(response.json())
70
+
71
+ return response_500
72
+
73
+ if response.status_code == 503:
74
+ response_503 = Error.from_dict(response.json())
75
+
76
+ return response_503
77
+
78
+ if client.raise_on_unexpected_status:
79
+ raise errors.UnexpectedStatus(response.status_code, response.content)
80
+ else:
81
+ return None
82
+
83
+
84
+ def _build_response(
85
+ *, client: AuthenticatedClient | Client, response: httpx.Response
86
+ ) -> Response[Error | LiveRoomPage]:
87
+ return Response(
88
+ status_code=HTTPStatus(response.status_code),
89
+ content=response.content,
90
+ headers=response.headers,
91
+ parsed=_parse_response(client=client, response=response),
92
+ )
93
+
94
+
95
+ def sync_detailed(
96
+ *,
97
+ client: AuthenticatedClient | Client,
98
+ query: str,
99
+ count: int | Unset = 12,
100
+ cursor: str | Unset = UNSET,
101
+ fresh: bool | Unset = False,
102
+ ) -> Response[Error | LiveRoomPage]:
103
+ """Search live rooms
104
+
105
+ The live rooms that the live search of TikTok (the "LIVE" tab of search) finds for a query, in the
106
+ order of TikTok. 1 credit per room. A query with no result gives an empty list, free. Live search
107
+ often finds few rooms. No stream addresses. The answer is cached for 1 minute: the number of viewers
108
+ changes fast.
109
+ New on 2026-12-03; its limits at TikTok are not measured yet.
110
+
111
+ Args:
112
+ query (str):
113
+ count (int | Unset): Default: 12.
114
+ cursor (str | Unset):
115
+ fresh (bool | Unset): Default: False.
116
+
117
+ Raises:
118
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
119
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
120
+
121
+ Returns:
122
+ Response[Error | LiveRoomPage]
123
+ """
124
+
125
+ kwargs = _get_kwargs(
126
+ query=query,
127
+ count=count,
128
+ cursor=cursor,
129
+ fresh=fresh,
130
+ )
131
+
132
+ response = client.get_httpx_client().request(
133
+ **kwargs,
134
+ )
135
+
136
+ return _build_response(client=client, response=response)
137
+
138
+
139
+ def sync(
140
+ *,
141
+ client: AuthenticatedClient | Client,
142
+ query: str,
143
+ count: int | Unset = 12,
144
+ cursor: str | Unset = UNSET,
145
+ fresh: bool | Unset = False,
146
+ ) -> Error | LiveRoomPage | None:
147
+ """Search live rooms
148
+
149
+ The live rooms that the live search of TikTok (the "LIVE" tab of search) finds for a query, in the
150
+ order of TikTok. 1 credit per room. A query with no result gives an empty list, free. Live search
151
+ often finds few rooms. No stream addresses. The answer is cached for 1 minute: the number of viewers
152
+ changes fast.
153
+ New on 2026-12-03; its limits at TikTok are not measured yet.
154
+
155
+ Args:
156
+ query (str):
157
+ count (int | Unset): Default: 12.
158
+ cursor (str | Unset):
159
+ fresh (bool | Unset): Default: False.
160
+
161
+ Raises:
162
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
163
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
164
+
165
+ Returns:
166
+ Error | LiveRoomPage
167
+ """
168
+
169
+ return sync_detailed(
170
+ client=client,
171
+ query=query,
172
+ count=count,
173
+ cursor=cursor,
174
+ fresh=fresh,
175
+ ).parsed
176
+
177
+
178
+ async def asyncio_detailed(
179
+ *,
180
+ client: AuthenticatedClient | Client,
181
+ query: str,
182
+ count: int | Unset = 12,
183
+ cursor: str | Unset = UNSET,
184
+ fresh: bool | Unset = False,
185
+ ) -> Response[Error | LiveRoomPage]:
186
+ """Search live rooms
187
+
188
+ The live rooms that the live search of TikTok (the "LIVE" tab of search) finds for a query, in the
189
+ order of TikTok. 1 credit per room. A query with no result gives an empty list, free. Live search
190
+ often finds few rooms. No stream addresses. The answer is cached for 1 minute: the number of viewers
191
+ changes fast.
192
+ New on 2026-12-03; its limits at TikTok are not measured yet.
193
+
194
+ Args:
195
+ query (str):
196
+ count (int | Unset): Default: 12.
197
+ cursor (str | Unset):
198
+ fresh (bool | Unset): Default: False.
199
+
200
+ Raises:
201
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
202
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
203
+
204
+ Returns:
205
+ Response[Error | LiveRoomPage]
206
+ """
207
+
208
+ kwargs = _get_kwargs(
209
+ query=query,
210
+ count=count,
211
+ cursor=cursor,
212
+ fresh=fresh,
213
+ )
214
+
215
+ response = await client.get_async_httpx_client().request(**kwargs)
216
+
217
+ return _build_response(client=client, response=response)
218
+
219
+
220
+ async def asyncio(
221
+ *,
222
+ client: AuthenticatedClient | Client,
223
+ query: str,
224
+ count: int | Unset = 12,
225
+ cursor: str | Unset = UNSET,
226
+ fresh: bool | Unset = False,
227
+ ) -> Error | LiveRoomPage | None:
228
+ """Search live rooms
229
+
230
+ The live rooms that the live search of TikTok (the "LIVE" tab of search) finds for a query, in the
231
+ order of TikTok. 1 credit per room. A query with no result gives an empty list, free. Live search
232
+ often finds few rooms. No stream addresses. The answer is cached for 1 minute: the number of viewers
233
+ changes fast.
234
+ New on 2026-12-03; its limits at TikTok are not measured yet.
235
+
236
+ Args:
237
+ query (str):
238
+ count (int | Unset): Default: 12.
239
+ cursor (str | Unset):
240
+ fresh (bool | Unset): Default: False.
241
+
242
+ Raises:
243
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
244
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
245
+
246
+ Returns:
247
+ Error | LiveRoomPage
248
+ """
249
+
250
+ return (
251
+ await asyncio_detailed(
252
+ client=client,
253
+ query=query,
254
+ count=count,
255
+ cursor=cursor,
256
+ fresh=fresh,
257
+ )
258
+ ).parsed