mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
updated changelog and getting started and examples
This commit is contained in:
1 parent
1c0e797c87
commit
a74ff45467
17 files changed
+51
-29
No files matched your search
@@ -23,7 +23,7 @@ Once your SDK object is set, create any of the Appwrite service objects and choo
|
||||
```python
|
||||
users = Users(client)
|
||||
|
||||
result = users.create('email@example.com', 'password')
|
||||
result = users.create('unique()', 'email@example.com', 'password')
|
||||
```
|
||||
|
||||
### Full Example
|
||||
@@ -42,7 +42,7 @@ client = Client()
|
||||
|
||||
users = Users(client)
|
||||
|
||||
result = users.create('email@example.com', 'password')
|
||||
result = users.create('unique()', 'email@example.com', 'password')
|
||||
```
|
||||
|
||||
### Error Handling
|
||||
@@ -51,7 +51,7 @@ The Appwrite Python SDK raises `AppwriteException` object with `message`, `code`
|
||||
```python
|
||||
users = Users(client)
|
||||
try:
|
||||
result = users.create('email@example.com', 'password')
|
||||
result = users.create('unique()', 'email@example.com', 'password')
|
||||
except AppwriteException as e:
|
||||
print(e.message)
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user