mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
chore: regenerated 1.6.x examples
To ensure we didn't have anything extra, I deleted the 1.6.x folder and then regenerated the examples via the sdk command.
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
from appwrite.client import Client
|
||||
|
||||
client = Client()
|
||||
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
client.set_project('<YOUR_PROJECT_ID>') # Your project ID
|
||||
client.set_key('<YOUR_API_KEY>') # Your secret API key
|
||||
|
||||
functions = Functions(client)
|
||||
|
||||
result = functions.download_deployment(
|
||||
function_id = '<FUNCTION_ID>',
|
||||
deployment_id = '<DEPLOYMENT_ID>'
|
||||
)
|
||||
@@ -1,11 +0,0 @@
|
||||
from appwrite.client import Client
|
||||
|
||||
client = Client()
|
||||
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
client.set_project('<YOUR_PROJECT_ID>') # Your project ID
|
||||
|
||||
functions = Functions(client)
|
||||
|
||||
result = functions.get_template(
|
||||
template_id = '<TEMPLATE_ID>'
|
||||
)
|
||||
@@ -1,14 +0,0 @@
|
||||
from appwrite.client import Client
|
||||
|
||||
client = Client()
|
||||
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
|
||||
client.set_project('<YOUR_PROJECT_ID>') # Your project ID
|
||||
|
||||
functions = Functions(client)
|
||||
|
||||
result = functions.list_templates(
|
||||
runtimes = [], # optional
|
||||
use_cases = [], # optional
|
||||
limit = 1, # optional
|
||||
offset = 0 # optional
|
||||
)
|
||||
Reference in New Issue
Block a user