Skip to content

Commit fb47b35

Browse files
committed
docs(readme): fix main example snippet (#23)
1 parent b15646e commit fb47b35

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ finch = Finch(
2525
access_token="my access token",
2626
)
2727

28-
candidate = finch.ats.candidates.retrieve()
28+
candidate = finch.ats.candidates.retrieve(
29+
"<candidate id>",
30+
)
2931
print(candidate.first_name)
3032
```
3133

@@ -42,7 +44,9 @@ finch = AsyncFinch(
4244

4345

4446
async def main():
45-
candidate = await finch.ats.candidates.retrieve()
47+
candidate = await finch.ats.candidates.retrieve(
48+
"<candidate id>",
49+
)
4650
print(candidate.first_name)
4751

4852

0 commit comments

Comments
 (0)