pyre-check
pyre-check copied to clipboard
Guard use of `dict[str, str]` for Python 3.8
Summary:
Github tests caught another too-new-to-use feature in our Python code:
you cannot directly subscript builtin containers like dict until 3.9.
In this case since there's no runtime need for the annotation, we can
use from __future__ import annotations to work around the problem.
Differential Revision: D56821982