betty.privacy.privatizer module¶
Provide an API to determine if information should be kept private.
- class betty.privacy.privatizer.Privatizer[source]¶
Bases:
object
Privatize resources.
- has_expired(subject: Person | Event | Date | None, generations_ago: int = 0) bool [source]¶
Check if a subject of the given generation has expired.
- privatize(subject: HasPrivacy) None [source]¶
Privatize a resource.