Skip to content

Commit

Permalink
📝 update example
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Jun 14, 2024
1 parent 50d6703 commit 5648f15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,11 @@ async with GitHub("<your_token_here>") as github:
> return GitHub()
>
> # This will cause error
> get_client().rest.repos.get("yanyongyu", "githubkit")
> get_client().rest.repos.get("owner", "repo")
>
> # This is ok
> client = get_client()
> client.rest.repos.get("owner", "repo")
> ```

### Data Validation
Expand Down

0 comments on commit 5648f15

Please sign in to comment.