Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test for None
  • Loading branch information
amueller committed Oct 15, 2019
commit 491127ea437fb2a279fedae3a24d790447755662
2 changes: 1 addition & 1 deletion openml/extensions/sklearn/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def _is_cross_validator(self, o: Any) -> bool:

@classmethod
def _is_sklearn_flow(cls, flow: OpenMLFlow) -> bool:
if "sklearn" in flow.dependencies:
if flow.dependencies is not None and "sklearn" in flow.dependencies:
return True
if flow.external_version is None:
return False
Expand Down