mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
516 B
516 B
from appwrite.client import Client
client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_session('') # The user session to authenticate with
functions = Functions(client)
result = functions.create_execution( function_id = '<FUNCTION_ID>', body = '', # optional async = False, # optional path = '', # optional method = ExecutionMethod.GET, # optional headers = {} # optional )