def __len__(self):
        return max([(len(v) if hasattr(v, '__len__') else 1) for v in self.values()] + [0])
Generate an addition to a deprecated object's docstring that explains its
dataset/ETHPy150Open ioam/holoviews/holoviews/core/spaces.py/GridSpace.__len__--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/deprecate.py/_getDeprecationDocstring