---
title: authors
framework: swiftdata
role: symbol
role_heading: Instance Property
path: swiftdata/historyobserver/authors
---

# authors

The transaction authors that the observer filters for when evaluating history transactions.

## Declaration

```swift
final let authors: Set<String>
```

## Discussion

Discussion When non-empty, the observer only reports changes whose transactions were written by one of the specified authors. When empty, the observer treats transactions from any author as relevant.

## See Also

### Accessing observer properties

- [eventCounter](swiftdata/historyobserver/eventcounter.md)
- [modelContainer](swiftdata/historyobserver/modelcontainer.md)
- [observedModels](swiftdata/historyobserver/observedmodels.md)
