updated changelog and getting started and examples

This commit is contained in:
Damodar Lohani
2022-01-04 18:11:23 +05:45
parent 1c0e797c87
commit a74ff45467
17 changed files with 51 additions and 29 deletions
+3 -3
View File
@@ -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)
```