Skip to content

Commit b6bc6dd

Browse files
committed
We can't yet create templates with the API, and thus test this
1 parent 7762013 commit b6bc6dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notion_client/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def iterate_data_source_templates(
275275
while True:
276276
response = function(**kwargs, start_cursor=next_cursor)
277277
for template in response.get("templates", []):
278-
yield template
278+
yield template # pragma: no cover
279279

280280
next_cursor = response.get("next_cursor")
281281
if not response.get("has_more") or not next_cursor:
@@ -320,7 +320,7 @@ async def async_iterate_data_source_templates(
320320
while True:
321321
response = await function(**kwargs, start_cursor=next_cursor)
322322
for template in response.get("templates", []):
323-
yield template
323+
yield template # pragma: no cover
324324

325325
next_cursor = response.get("next_cursor")
326326
if not response.get("has_more") or not next_cursor:

0 commit comments

Comments
 (0)