mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
docs: push new changes
This commit is contained in:
@@ -11,4 +11,4 @@ client = Client()
|
||||
|
||||
functions = Functions(client)
|
||||
|
||||
result = functions.create_deployment('[FUNCTION_ID]', '[ENTRYPOINT]', open('/path/to/file.png', 'rb'), False)
|
||||
result = functions.create_deployment('[FUNCTION_ID]', '[ENTRYPOINT]', 'file.png', False)
|
||||
|
||||
@@ -11,4 +11,4 @@ client = Client()
|
||||
|
||||
storage = Storage(client)
|
||||
|
||||
result = storage.create_file('[BUCKET_ID]', '[FILE_ID]', open('/path/to/file.png', 'rb'))
|
||||
result = storage.create_file('[BUCKET_ID]', '[FILE_ID]', 'file.png')
|
||||
|
||||
Reference in New Issue
Block a user