Skip to content

Commit

Permalink
Merge pull request #273 from supabase-community/j0/release_1_0_2
Browse files Browse the repository at this point in the history
feat: update README, release v1.0.2
  • Loading branch information
J0 committed Jun 1, 2023
2 parents 29fb30b + a0a0d79 commit 8477576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ Also, the `gotrue` library for Python parses the date-time string into `datetime
To instantiate the client, you'll need the URL and any request headers at a minimum.

```python
from gotrue import Client
from gotrue import SyncGoTrueClient

headers = {
"apiKey": "my-mega-awesome-api-key",
# ... any other headers you might need.
}
client: Client = Client(url="www.genericauthwebsite.com", headers=headers)
client: SyncGoTrueClient = SyncGoTrueClient(url="www.genericauthwebsite.com", headers=headers)
```

To send a magic email link to the user, just provide the email kwarg to the `sign_in` method:
Expand Down Expand Up @@ -96,6 +96,3 @@ assert client.session() is not None
## Contributions

We would be immensely grateful for any contributions to this project. In particular are the following items:

- Add documentation
- Update `README.md`
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gotrue"
version = "1.0.1"
version = "1.0.2"
description = "Python Client Library for GoTrue"
authors = ["Joel Lee <joel@joellee.org>"]
homepage = "https://github.com/supabase-community/gotrue-py"
Expand Down

0 comments on commit 8477576

Please sign in to comment.