# ConcurrencyError

**Package:** `flyte.ai.agents`

Raised when an ``expected_sha`` precondition does not match the current state.

## Parameters

```python
class ConcurrencyError(
    path: str,
    expected_sha: str,
    actual_sha: str,
)
```
| Parameter | Type | Description |
|-|-|-|
| `path` | `str` | |
| `expected_sha` | `str` | |
| `actual_sha` | `str` | |

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/flyte-sdk/packages/flyte.ai.agents/concurrencyerror.md
**HTML**: https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/packages/flyte.ai.agents/concurrencyerror/
