def get_instructions(self, variables={}): script_buffer = self.script.get('script', {}) return [ text_set_fields(instruction, variables) for instruction in script_buffer.get(get_language(), script_buffer).get('instructions', '') ]
def get_instructions(self, variables = {}): return [text_set_fields(instruction, variables) for instruction in self.script.get('script', {}).get('instructions', [])]
def get_description(self, variables={}): script_buffer = self.script.get('script', {}) return text_set_fields( script_buffer.get(get_language(), script_buffer).get('description', ''), variables )
def get_description(self, variables = {}): return text_set_fields(self.script.get('script', {}).get('description', ''), variables)