# CodeBlock

## ``autogen.coding.CodeBlock``

Bases: `BaseModel`

(Experimental) A class that represents a code block.

### ``code`class-attribute``instance-attribute``

```
code = Field(description='The code to execute.')
```

### ``language`class-attribute``instance-attribute``

```
language = Field(description='The language of the code.')
```
