[Hotfix] Lint for Documentation (#7817)

This commit is contained in:
Richard Liaw authored and GitHub committed 2020-03-30 11:49:05 -07:00
1 parent 18327254b6
commit fbf02fa7f7
1 file changed
+1
@@ -22,6 +22,7 @@ try:
except ImportError:
pass
def _is_multiple(component):
"""Checks if a component (optimizer, model, etc) is not singular."""
return isinstance(component, collections.Iterable) and len(component) > 1