## events.add_registry_identities_before_flush()


Attach registry identities to new stationary points.


Usage

``` python
events.add_registry_identities_before_flush(
    session,
    flush_context,
    instances,
)
```


Generates and attaches an [IdentityRow](IdentityRow.md#autostorage.IdentityRow) for every registered algorithm (e.g. InChI, SMILES, Hill formula). Identities of persisted stationary points are regenerated if their geometry or order changes.
