We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9449e4 commit 9a28462Copy full SHA for 9a28462
src/routes/docs/products/auth/server-side-rendering/+page.markdoc
@@ -403,6 +403,19 @@ $account = new Account($client);
403
404
$result = $account->createAnonymousSession();
405
```
406
+```python
407
+from appwrite.client import Client
408
+from appwrite.services.account import Account
409
+
410
+client = (Client()
411
+ .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
412
+ .setProject('<PROJECT_ID>') # Your project ID
413
+ )
414
415
+account = Account(client)
416
417
+result = account.create_anonymous_session()
418
+```
419
{% /multicode %}
420
421
# Forwarding user agent {% #forwarding-user-agent %}
0 commit comments