regenerate sdk examples

This commit is contained in:
Chirag Aggarwal
2025-11-18 09:53:55 +05:30
parent f9274dad3f
commit 39c5b6c4d0
78 changed files with 144 additions and 74 deletions
@@ -1,5 +1,6 @@
from appwrite.client import Client
from appwrite.services.functions import Functions
from appwrite.enums import
client = Client()
client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
@@ -13,6 +14,7 @@ result = functions.create_template_deployment(
repository = '<REPOSITORY>',
owner = '<OWNER>',
root_directory = '<ROOT_DIRECTORY>',
version = '<VERSION>',
type = .COMMIT,
reference = '<REFERENCE>',
activate = False # optional
)
@@ -1,5 +1,6 @@
from appwrite.client import Client
from appwrite.services.sites import Sites
from appwrite.enums import
client = Client()
client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
@@ -13,6 +14,7 @@ result = sites.create_template_deployment(
repository = '<REPOSITORY>',
owner = '<OWNER>',
root_directory = '<ROOT_DIRECTORY>',
version = '<VERSION>',
type = .BRANCH,
reference = '<REFERENCE>',
activate = False # optional
)
@@ -20,5 +20,6 @@ result = storage.create_bucket(
allowed_file_extensions = [], # optional
compression = .NONE, # optional
encryption = False, # optional
antivirus = False # optional
antivirus = False, # optional
transformations = False # optional
)
@@ -20,5 +20,6 @@ result = storage.update_bucket(
allowed_file_extensions = [], # optional
compression = .NONE, # optional
encryption = False, # optional
antivirus = False # optional
antivirus = False, # optional
transformations = False # optional
)