@classmethod
def from_dict(cls, connection, data):
    """
        Returns a Space object from a dictionary item,
        which is usually from Appoptics's API
        """
    obj = cls(connection, data['name'], id=data['id'], chart_dicts=data.get
        ('charts'), tags=data.get('tags'))
    return obj
