def get_actions(self):
        """
            Returns a list of Action objects
            This actions can be used to check the droplet's status
        """
        answer = self.get_data("droplets/%s/actions/" % self.id, type=GET)

        actions = []
        for action_dict in answer['actions']:
            action = Action(**action_dict)
            action.token = self.token
            action.droplet_id = self.id
            action.load()
            actions.append(action)
        return actions
def get_actions(self):
        """
            Returns a list of Action objects
            This actions can be used to check the droplet's status
        """
        answer = self.get_data("droplets/%s/actions/" % self.id, type=GET)

        actions = []
        for action_dict in answer['actions']:
            action = Action(**action_dict)
            action.token = self.token
            action.droplet_id = self.id
            action.load()
            actions.append(action)
        return actions
def get_actions ( self ) : answer = self . get_data ( "droplets/%s/actions/" % self . id , type = GET ) actions = [ ] for action_dict in answer [ 'actions' ] : action = Action ( * * action_dict ) action . token = self . token action . droplet_id = self . id action . load ( ) actions . append ( action ) return actions
Returns a list of Action objects
            This actions can be used to check the droplet's status
Returns a list of Action objects This actions can be used to check the droplet s status