Signed-off-by: Anders Kaseorg <anders@zulip.com>
The motive of adding `BaseNotes` was to support monokey patching temporary attributes to objects (such as `.trigger` on `Message`) when working on the django-stubs migration in #18777.