Skip to content

Commit 98451c7

Browse files
committed
Fixed file param bug
1 parent 6f6e86b commit 98451c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/examples/functions/create-tag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ client = Client()
1111

1212
functions = Functions(client)
1313

14-
result = functions.create_tag('[FUNCTION_ID]', '[COMMAND]', '')
14+
result = functions.create_tag('[FUNCTION_ID]', '[COMMAND]', open('/path/to/file.png', 'rb'))

docs/examples/storage/create-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ client = Client()
1111

1212
storage = Storage(client)
1313

14-
result = storage.create_file('')
14+
result = storage.create_file(open('/path/to/file.png', 'rb'))

0 commit comments

Comments
 (0)