from appwrite.client import Client from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key databases = Databases(client) result = databases.create_url_attribute( database_id = '', collection_id = '', key = '', required = False, default = 'https://example.com', # optional array = False # optional )