Skip to content

Commit

Permalink
📝 (reference) fix make_proxy example
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwoerpel committed Jan 3, 2024
1 parent 075f79d commit 7ae35e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,7 @@ An actual `transform.py` for the `gdho` dataset could look like this:

```python
def parse(ctx, record, ix):
proxy = ctx.make_proxy("Organization")
proxy.id = record.pop("Id"))
proxy = ctx.make_proxy("Organization", record.pop("Id")) # schema, id
proxy.add("name", record.pop("Name"))
# add more property data ...
yield proxy
Expand Down

0 comments on commit 7ae35e6

Please # to comment.