# API Reference v10.3.1 (Python)

## TranslateResult (data class)

Module: zaber_motion.gcode

Represents a result of a G-code block translation.

To use this type, add `from zaber_motion.gcode import TranslateResult` to the top of your source code.

Related Guides:

- [G-Code](https://software.zaber.com/motion-library/docs/guides/library_features/gcode.md)

### Properties

#### `commands`

`translate_result.commands`

Type: `List[str]`

Stream commands resulting from the block.

#### `warnings`

`translate_result.warnings`

Type: [`List[TranslateMessage]`](https://software.zaber.com/motion-library/api/py/gcode/translatemessage.md)

Messages informing about unsupported codes and features.
