# edc

[[[Source]]](https://github.com/google/etils/tree/main/etils/edc/__init__.py)

```{code-block}
from etils import edc
```

```{eval-rst}
.. automodule:: etils.edc
  :no-members:
```

## All symbols


### Module

|  |  |
--- | ---
[edc](index) | Dataclasses utils.

### Class

|  |  |
--- | ---
[edc.ContextStack](ContextStack) | Local stack object (per-thread and contextvars-aware).

### Function

|  |  |
--- | ---
[edc.dataclass](dataclass) | Augment a dataclass with additional features.
[edc.field](field) | Like `dataclasses.field`, but allow `validator`.
[edc.repr](repr) | Pretty `repr(obj)` for nested list, dict, dataclasses,...

### Typing

|  |  |
--- | ---
[edc.AutoCast](AutoCast) | 
[edc.ContextVar](ContextVar) | 


```{toctree}
:hidden:

AutoCast
ContextStack
ContextVar
dataclass
field
repr
```