From d5a80eec5f0eec3cfb8f74f076470d47b3f47ee4 Mon Sep 17 00:00:00 2001 From: Sultan Iman Date: Fri, 19 Apr 2024 16:56:23 +0200 Subject: [PATCH] Fix snippet --- docs/website/docs/general-usage/resource.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/website/docs/general-usage/resource.md b/docs/website/docs/general-usage/resource.md index 2022fc1249..f6c47de17b 100644 --- a/docs/website/docs/general-usage/resource.md +++ b/docs/website/docs/general-usage/resource.md @@ -354,6 +354,8 @@ there or fallback to default value which has 1000 as maximum nesting level. ::: ```py +import dlt + @dlt.resource(max_table_nesting=1) def my_resource(): yield { @@ -367,7 +369,7 @@ def my_resource(): "notes": [ { "text": "string", - "author" "string", + "author": "string", } ] }