Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
Fix syntax error in Python examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent (Wen Yu) Ge committed May 25, 2023
1 parent d11febd commit 014ff78
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions app/views/docs/getting-started-for-server.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,12 @@ $client = (new Client())
<pre class="line-numbers"><code class="prism language-python" data-prism>from appwrite.client import Client

client = Client()

client = (client
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
.set_project('[PROJECT_ID]') # Your project ID
.set_key('919c2db5d4...a2a3346ad2')) # Your secret API key
.set_key('919c2db5d4...a2a3346ad2') # Your secret API key
)
</code></pre>
</div>
</li>
Expand Down Expand Up @@ -304,9 +307,11 @@ $client = (new Client())
<pre class="line-numbers"><code class="prism language-python" data-prism>from appwrite.client import Client

client = Client()
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
.set_project('[PROJECT_ID]') # Your project ID
.set_key('919c2db5d4...a2a3346ad2') # Your secret JWT

client = (client
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
.set_project('[PROJECT_ID]') # Your project ID
.set_key('919c2db5d4...a2a3346ad2') # Your secret API key
)
</code></pre>
</div>
Expand Down Expand Up @@ -578,9 +583,12 @@ from appwrite.id import ID
from appwrite.services.users import Users

client = Client()
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
.set_project('[PROJECT_ID]') # Your project ID
.set_key('919c2db5d4...a2a3346ad2')) # Your secret API key

client = (client
.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
.set_project('[PROJECT_ID]') # Your project ID
.set_key('919c2db5d4...a2a3346ad2') # Your secret API key
)

users = Users(client)

Expand Down

0 comments on commit 014ff78

Please sign in to comment.