Who they are on paper: age, role, tenure, geography, and affiliations. The census layer. Necessary, and famously insufficient, which is why it is one space out of six and not six out of six like everyone else’s model.
| Verb | Signature | Description |
|---|---|---|
create | create(spec) | Initialize this class of state for a persona |
read | read() | Return the current state snapshot |
update | update(patch) | Apply a typed, domain-checked patch to the state |
delete | delete() | Remove this class of state from the persona |
from pulp import windfall
p = windfall.trueaura.persona(frame="urban_parents")
state = p.demographics.read()
print(state.role)
p.demographics.update(# typed patch, domain-checked)