File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
samples/binary_message_classifier Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,22 +58,22 @@ Sending binary JPEG file to actor as message with the ``application/octet-stream
5858.. code-block :: python
5959
6060 result = ag.actors.sendMessage(actorId = actor_data[' id' ],
61- body = { ' binary ' : binary_image} ,
61+ body = binary_image,
6262 headers = {' Content-Type' : ' application/octet-stream' })
6363
6464 The following returns information pertaining to the execution:
6565
6666.. code-block :: python
6767
6868 execution = ag.actors.getExecution(actorId = actor_data[' id' ],
69- executionId = result[' executionId' ])
69+ executionId = result[' executionId' ])
7070
7171 Once the execution has complete, the logs can be called with the following:
7272
7373.. code-block :: python
7474
75- exec_info = requests.get( ' {} / actors/v2/ {} /executions/ {} ' .format(url, actor_id, exec_id) ,
76- headers = { ' Authorization ' : ' Bearer {} ' .format(token)} )
75+ executionLogs = ag. actors.getExecutionLogs( actorId = actor_data[ ' id ' ] ,
76+ executionId = result[ ' executionId ' ] )
7777
7878 Extra info
7979~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments