File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -181,9 +181,10 @@ def attach_instructions(self, instructions_file: str):
181181 instructions_file (str): Path to a local file.
182182 * Must be either a pdf, text, or html file.
183183
184- Raises ValueError:
185- * project must be setup
186- * instructions file must be one of ".text", ".txt", ".pdf", ".html"
184+ Raises:
185+ ValueError:
186+ * project must be setup
187+ * instructions file must end with one of ".text", ".txt", ".pdf", ".html"
187188 """
188189
189190 if self .setup_complete is None :
@@ -229,9 +230,9 @@ def attach_instructions(self, instructions_file: str):
229230 ) {id}
230231 }""" , {
231232 "frontendId" : frontendId ,
233+ "optionsId" : option_id ,
232234 "name" : frontend .name ,
233235 "description" : "Video, image, and text annotation" ,
234- "optionsId" : option_id ,
235236 "customizationOptions" : json .dumps (customization_options )
236237 })
237238
You can’t perform that action at this time.
0 commit comments