Skip to content

Commit 0504509

Browse files
committed
chore: updates for appwrite 1.6.x
1 parent 311881f commit 0504509

File tree

3 files changed

+1
-28
lines changed

3 files changed

+1
-28
lines changed

appwrite/services/functions.py

-16
Original file line numberDiff line numberDiff line change
@@ -81,22 +81,6 @@ def list_specifications(self):
8181
api_path = '/functions/specifications'
8282
api_params = {}
8383

84-
return self.client.call('get', api_path, {
85-
'content-type': 'application/json',
86-
}, api_params)
87-
88-
def get_template(self, template_id):
89-
"""Get function template"""
90-
91-
92-
api_path = '/functions/templates/{templateId}'
93-
api_params = {}
94-
if template_id is None:
95-
raise AppwriteException('Missing required parameter: "template_id"')
96-
97-
api_path = api_path.replace('{templateId}', template_id)
98-
99-
10084
return self.client.call('get', api_path, {
10185
'content-type': 'application/json',
10286
}, api_params)

docs/examples/functions/get-deployment-download.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ from appwrite.client import Client
33
client = Client()
44
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
55
client.set_project('<YOUR_PROJECT_ID>') # Your project ID
6-
client.set_session('') # The user session to authenticate with
6+
client.set_key('<YOUR_API_KEY>') # Your secret API key
77

88
functions = Functions(client)
99

docs/examples/functions/get-template.md

-11
This file was deleted.

0 commit comments

Comments
 (0)