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

Fix syntax error in Python examples #373

Merged
merged 1 commit into from
Jun 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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