Skip to content

Commit 02d7049

Browse files
Pieter GijsbersPieter Gijsbers
authored andcommitted
Only the description is mandatory when uploading a flow, the other file is for example the source code or executable binary which executes a flow.
1 parent 994847c commit 02d7049

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openml/apiconnector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ def upload_dataset(self, description, file_path=None):
925925
raise e
926926
return return_code, dataset_xml
927927

928-
def upload_flow(self, description, file_path):
928+
def upload_flow(self, description, file_path=None):
929929
try:
930930
data = {'description': description}
931931
return_code, dataset_xml = self._perform_api_call("/flow/", data=data, file_dictionary={'source': file_path})

0 commit comments

Comments
 (0)