# register
`toloka.client.primitives.base.VariantRegistry.register` | [Source code](https://github.com/Toloka/toloka-kit/blob/v0.1.26/src/client/primitives/base.py#L33)

```python
register(
    self,
    type_: type,
    value: TypeVar('E', bound=Enum)
)
```

