---
title: "PyTreeEntry"
sidebar_label: "PyTreeEntry"
description: "The clika_runtime.pytree PyTreeEntry class."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

One step of an accessor: the child ``entry`` of a node of ``type``.

    Subclasses fix how the step is taken (``__call__``) and written
    (``codify``). This base steps with ``obj[entry]``.
    

## `__init__`

```python
__init__(self, entry: 'Any', type: 'type', kind: 'TreeKind') -> None
```

Initialize self.  See help(type(self)) for accurate signature.

## `codify`

```python
codify(self, node: 'str' = '') -> 'str'
```

The code that takes this step from the expression ``node``.
