# core.static

``` python
core.static(**kwargs)
```

Mark a field as static: part of the structure, not a pytree leaf.

## Parameters

| Name | Type | Description | Default |
|----|----|----|----|
| \*\*kwargs | Any | Passed to `dataclasses.field`: `default` or `default_factory`, and `kw_only=True` for a field that only a keyword sets. | `{}` |

## Returns

| Name | Type | Description        |
|------|------|--------------------|
|      | Any  | A dataclass field. |
