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

```python
get_spec_subclass_for_value(cls, spec_value: Union[str, TypeVar('E', bound=Enum), None] = None)
```

