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

Commit

Permalink
Merge pull request #373 from appwrite/fix-python-syntax
Browse files Browse the repository at this point in the history
Fix syntax error in Python examples
  • Loading branch information
eldadfux authored Jun 2, 2023
2 parents cc0558e + 014ff78 commit 22131a4
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 22131a4

Please sign in to comment.