@classmethod
def get_asset_sensors(cls, session, asset_key):
    """Get sensors that belong to a particular asset
        
        Args:
            session: database session
            asset_key: key of the asset sensors belong to
        Returns:
            list: of sensor dictionaries
        """
    results = session.run(
        """
            MATCH (a:Asset { key: $key })-[:HAS_SENSOR]->(sensor:Sensor)
            OPTIONAL MATCH (sensor)-[:HAS_ADDRESS_SPACE]->(addr)
            RETURN sensor, addr
            """
        , key=int(asset_key))
    sensors = []
    for record in results:
        sensor = dict(record['sensor'])
        sensors.append({'specs': sensor, 'address_space': dict(record[
            'addr']) if 'index' in sensor else None})
    return sensors
