Skip to content

Commit

Permalink
Fix snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
sultaniman committed Apr 19, 2024
1 parent c75d392 commit d5a80ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/website/docs/general-usage/resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -367,7 +369,7 @@ def my_resource():
"notes": [
{
"text": "string",
"author" "string",
"author": "string",
}
]
}
Expand Down

0 comments on commit d5a80ee

Please sign in to comment.