Fix mypy false positive
'document' is a typed dict, which mypy does not seem to allow here
Migrated from D8128 (view on Phabricator)
Staging instance, all changes can be removed at any time
'document' is a typed dict, which mypy does not seem to allow here
Migrated from D8128 (view on Phabricator)