Skip to content

Commit bc438d6

Browse files
committed
This field is required so can't be set to None for default.
1 parent d55a7ad commit bc438d6

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=None):
928+
def upload_flow(self, description, file_path):
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)